Skip to content

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