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

Add collection field to default list of fields to include in output #276

Merged
merged 3 commits into from
Oct 18, 2021

Conversation

robintw
Copy link
Contributor

@robintw robintw commented Oct 11, 2021

Related Issue(s): #
Fixes #257

Description:
The STAC spec states that Items should have a collection attribute, which should give the ID of the collection the item belongs to (see here. stac-fastapi was not returning this collection attribute in its output for Items, which was causing various downstream tools (such as stacterm to fail. This PR changes the list of default fields to include in the output to include the collection field.

PR Checklist:

  • Code is formatted and linted (run pre-commit run --all-files)
  • Tests pass (run make test)
  • Documentation has been updated to reflect changes, if applicable, and docs build successfully (run make docs)
  • Changes are added to the CHANGELOG.

@lossyrob lossyrob merged commit 00f5ca3 into stac-utils:master Oct 18, 2021
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.

required field collection missing in joplin collection for sqlalchemy
2 participants