-
Notifications
You must be signed in to change notification settings - Fork 105
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
Why is stac_version
not in default_includes?
#253
Comments
Hi @fwfichtner I have exactly same issue and now unable to proceed with |
Thanks for the issue! Very good question. I can't explain why this is, but it should be fixed. The fields extension is supposed to return at minimum a valid STAC item and |
Thanks for reverting @geospatial-jeff I just found out that besides |
That's interesting. I hesitate to include these in |
https://pydantic-docs.helpmanual.io/usage/model_config/
So you might want to consider |
Another feasible alternative to including custom extension fields by default is to make the fields extensible through environment variables. pydantic |
Co-authored-by: Nathan Zimmerman <[email protected]>
I don't think
I wonder how pgstac behaves. |
Closed with #268 . Thanks all 🙏 |
I might be missing something, but why is
stac_version
not part of default_includes?This way you always need to specify it as a field when searching if you want to determine the stac object with pystac because it is expected (here or here).
curl http://localhost:5442/collections/dem90/items/Copernicus_DSM_COG_30_N00_00_E006_00_DEM
would give me the item like expected, but when searching, e.g.curl http://localhost:5442/search?ids=Copernicus_DSM_COG_30_N00_00_E006_00_DEM
stac_version
is getting removed here.Python example:
Leads to:
The text was updated successfully, but these errors were encountered: