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

[pgstac] Delete items using collection id #520

Merged
merged 2 commits into from Feb 6, 2023

Conversation

gadomski
Copy link
Member

@gadomski gadomski commented Feb 1, 2023

Related Issue(s):

Description:

Uses both collection_id and item_id to delete items. Includes a new context manager, translate_pgstac_errors, which converts pgstac exceptions to their FastAPI form. Previously this was internal to dbfunc.

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.

@gadomski gadomski self-assigned this Feb 1, 2023
@gadomski gadomski added this to the 2.4.4 milestone Feb 1, 2023
@gadomski gadomski changed the title fix, pgstac: delete items with collection id [pgstac] Delete items using collection id Feb 1, 2023
@gadomski gadomski merged commit 90e158d into master Feb 6, 2023
@gadomski gadomski deleted the issues/456-delete-item-with-multi-collection-id branch February 6, 2023 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants