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

Expand support for multiple extension uris #1084

Closed
gadomski opened this issue Apr 6, 2023 · 0 comments · Fixed by #1091
Closed

Expand support for multiple extension uris #1084

gadomski opened this issue Apr 6, 2023 · 0 comments · Fixed by #1091
Assignees
Labels
enhancement extension Implement a STAC extension in PySTAC
Milestone

Comments

@gadomski
Copy link
Member

gadomski commented Apr 6, 2023

In #1081 we added support for older schema URIs to the ProjectionExtension. This behavior should be generalized so other extensions can use it easily. Ideas:

  • Add get_schema_uris() to the base mixin
  • Refactor the base has_extension() to check against get_schema_uris() instead of get_schema_uri()
  • Backport any extensions that have older-but-compatible schema uris (thinking maybe label at least?)

This doesn't solve the problem, it's more of a band-aid -- if a newer version of an extension is incompatible with the Python structure, we don't have a mechanism to "migrate".

xref #448 which is our tracking issue for the general problem of extension versions.

@gadomski gadomski added enhancement extension Implement a STAC extension in PySTAC labels Apr 6, 2023
@gadomski gadomski added this to the 1.8 milestone Apr 6, 2023
@jsignell jsignell self-assigned this Apr 10, 2023
@jsignell jsignell linked a pull request Apr 10, 2023 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement extension Implement a STAC extension in PySTAC
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants