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 get/add/remove_derived_from to pystac.Item #1136

Merged
merged 4 commits into from
May 31, 2023

Conversation

jsignell
Copy link
Member

@jsignell jsignell commented May 30, 2023

Related Issue(s):

Description:

Add get_derived_from and set_derived_from to pystac.Item

PR Checklist:

  • pre-commit hooks pass locally
  • 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.

@jsignell jsignell requested a review from ircwaves May 30, 2023 16:27
@codecov
Copy link

codecov bot commented May 30, 2023

Codecov Report

Patch coverage: 92.00% and no project coverage change.

Comparison is base (0829db8) 90.91% compared to head (f55f70c) 90.92%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1136   +/-   ##
=======================================
  Coverage   90.91%   90.92%           
=======================================
  Files          49       49           
  Lines        6606     6631   +25     
  Branches      970      975    +5     
=======================================
+ Hits         6006     6029   +23     
- Misses        421      422    +1     
- Partials      179      180    +1     
Impacted Files Coverage Δ
pystac/item.py 93.33% <90.90%> (-0.27%) ⬇️
pystac/link.py 90.45% <100.00%> (+0.14%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@jsignell jsignell linked an issue May 30, 2023 that may be closed by this pull request
@gadomski gadomski added this to the 1.8 milestone May 30, 2023
pystac/item.py Outdated Show resolved Hide resolved
@jsignell jsignell changed the title Add get_derived_from and set_derived_from to pystac.Item Add get/add/remove_derived_from to pystac.Item May 30, 2023
@jsignell jsignell requested a review from ircwaves May 30, 2023 17:57
@jsignell jsignell enabled auto-merge May 31, 2023 16:35
@jsignell jsignell added this pull request to the merge queue May 31, 2023
Merged via the queue into stac-utils:main with commit d55cc15 May 31, 2023
@jsignell jsignell deleted the derived_from branch May 31, 2023 16:44
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.

Add functionality to create STAC Items derived from other STAC Items
3 participants