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

remove stac_extensions enum requirement #35

Merged
merged 3 commits into from
Nov 15, 2020
Merged

Conversation

geospatial-jeff
Copy link
Collaborator

This PR removes the ExtensionTypes enum requirement from stac_extensions members. Strict validation of stac_extensions against the spec (or really any set of extensions) is sometimes useful, but it shouldn't be the default behavior as it is quite restrictive. If a user wants to strictly validate extension types, they can subclass the pydantic model.

tests/test_models.py Outdated Show resolved Hide resolved
@geospatial-jeff geospatial-jeff merged commit c14880e into master Nov 15, 2020
@geospatial-jeff geospatial-jeff deleted the naive-extensions branch November 15, 2020 17:24
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

3 participants