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

Validate item collections #219

Merged
merged 28 commits into from
Nov 30, 2022
Merged

Validate item collections #219

merged 28 commits into from
Nov 30, 2022

Conversation

jonhealy1
Copy link
Collaborator

@jonhealy1 jonhealy1 commented Nov 28, 2022

Adds --item-collection and --pages to validate item collection responses.

Fixes #217

Supports stac-utils/stac-check#92

@jonhealy1 jonhealy1 marked this pull request as draft November 28, 2022 09:38
@jonhealy1 jonhealy1 requested a review from gadomski November 28, 2022 13:16
@jonhealy1 jonhealy1 requested a review from philvarner November 28, 2022 13:22
tests/test_validate_item_collection.py Outdated Show resolved Hide resolved
stac_validator/validate.py Outdated Show resolved Hide resolved
README.md Outdated
@@ -102,6 +102,10 @@ Options:
-m, --max-depth INTEGER Maximum depth to traverse when recursing. Omit this
argument to get full recursion. Ignored if
`recursive == False`.
--item_collection Validate item collection response. Can be combined

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
--item_collection Validate item collection response. Can be combined
--item-collection Validate item collection response. Can be combined

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch thanks!

@jonhealy1 jonhealy1 merged commit d3ec73d into main Nov 30, 2022
@jonhealy1 jonhealy1 deleted the item_collection branch February 8, 2024 05:30
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.

StacValidator class has a couple of methods (validate_dict, run) that use cls instead of self
3 participants