<Response [404]>, 'https://app.crunch.io/api/datasets/<dataset id>/table/?limit=0', {'status': '404 Not Found', 'message': 'Nothing matches the given URI'}
when using the BaseDataset.replace_values method. This seems not to work since the post is not done on the updated url.
Since the limit=0 is the default for the table endpoint in crunch, we should remove it in get_dataset_variables and then we won't have a query string on the url in BaseDataset.replace_values when doing the post.
This pull request https://github.com/Crunch-io/scrunch/pull/385 aimed to take care of the error
when using the
BaseDataset.replace_values
method. This seems not to work since the post is not done on the updated url.Since the
limit=0
is the default for the table endpoint in crunch, we should remove it inget_dataset_variables
and then we won't have a query string on the url inBaseDataset.replace_values
when doing the post.