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

Set limit in sqlalchemy backend between 1 and 10000 #251

Merged
merged 4 commits into from Sep 12, 2021
Merged

Set limit in sqlalchemy backend between 1 and 10000 #251

merged 4 commits into from Sep 12, 2021

Conversation

jonhealy1
Copy link
Collaborator

@jonhealy1 jonhealy1 commented Sep 7, 2021

Related Issue(s): #221

Description:
Valid limit values should rest between 1 and 10000. In the sqlalchemy backend, limit values like 0, -1, and 10001 etc are returning 200. This pr fixes this issue.

PR Checklist:

  • Code is formatted and linted (run pre-commit run --all-files)
  • Tests pass (run make test)
  • Documentation has been updated to reflect changes, if applicable, and docs build successfully (run make docs)
  • Changes are added to the CHANGELOG.

@geospatial-jeff geospatial-jeff merged commit 9c32fb8 into stac-utils:master Sep 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants