We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Part of pyOpenSci/software-submission#93, thanks @ocefpaf. Example syntax desired:
query = afscgap.query() query.filterCommonName(eq='Pacific cod') query.filterYear(min=2021) results = query.execute()
or
results = afscgap.query() \ .filterCommonName(eq='Pacific cod') \ .filterYear(min=2021) \ .execute()
This achieves parity with other scientific python packages in terms of patterns.
The text was updated successfully, but these errors were encountered:
First draft of solution to #50
3ce6525
I really like the new syntax:
query = afscgap.Query(requestor=self._mock_requestor) query.filter_year(eq=2021) query.filter_latitude(eq={'$gte': 56.99, '$lte': 57.04}) query.filter_longitude(eq={'$gte': -143.96, '$lte': -144.01}) query.set_filter_incomplete(True) results = list(query.execute())
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Part of pyOpenSci/software-submission#93, thanks @ocefpaf. Example syntax desired:
or
This achieves parity with other scientific python packages in terms of patterns.
The text was updated successfully, but these errors were encountered: