Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add shortcut Dataset.filter() to avoid confusion with the .query() method #297

Open
davecap opened this issue Mar 21, 2019 · 0 comments
Open

Comments

@davecap
Copy link
Member

davecap commented Mar 21, 2019

The requirement to call Dataset.query().filter(field=value) can be confusing. We can simplify this for most use cases by adding a filter() shortcut method to the Dataset object in the case where you do not need to provide additional query parameters. This would just call self.query().filter(*args, **kwargs) on the dataset instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant