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

Give more informative validation errors #60

Merged
merged 2 commits into from
Nov 27, 2023

Conversation

jsignell
Copy link
Member

Closes #35

I figure the tasks themselves need to tell us why the payload is invalid, but this does require tasks to re-write their validate methods.

stactask/task.py Show resolved Hide resolved
@gadomski gadomski merged commit c60aee8 into stac-utils:main Nov 27, 2023
5 checks passed
@jsignell jsignell deleted the validation branch November 27, 2023 14:21
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.

FailedValidation in task.py would be more useful if it gave a reason
2 participants