Skip to content

Clarify error using add_if_missing on ownerless asset#746

Merged
duckontheweb merged 3 commits into
stac-utils:mainfrom
duckontheweb:fix/634-ownerless-asset-exception
Feb 22, 2022
Merged

Clarify error using add_if_missing on ownerless asset#746
duckontheweb merged 3 commits into
stac-utils:mainfrom
duckontheweb:fix/634-ownerless-asset-exception

Conversation

@duckontheweb
Copy link
Copy Markdown
Contributor

@duckontheweb duckontheweb commented Feb 8, 2022

Related Issue(s):

Description:

Clarifies the error message when someone tries to use add_if_missing=True on an Asset with no owner.

PR Checklist:

  • Code is formatted (run pre-commit run --all-files)
  • Tests pass (run scripts/test)
  • Documentation has been updated to reflect changes, if applicable
  • This PR maintains or improves overall codebase code coverage.
  • Changes are added to the CHANGELOG. See the docs for information about adding to the changelog.

@duckontheweb duckontheweb requested a review from lossyrob February 8, 2022 14:57
@duckontheweb duckontheweb added this to the 1.4.0 milestone Feb 8, 2022
@duckontheweb duckontheweb merged commit 1a1ff77 into stac-utils:main Feb 22, 2022
@duckontheweb duckontheweb deleted the fix/634-ownerless-asset-exception branch February 22, 2022 15:38
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.

Clarify error message when trying to add Extension to asset with no owner

2 participants