Skip to content

Filter links with only media_type #966

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

Merged
merged 4 commits into from
Jan 26, 2023

Conversation

pjhartzell
Copy link
Collaborator

@pjhartzell pjhartzell commented Jan 26, 2023

Related Issue(s):

Description:
Enables filtering with get_links() on either rel, media_type, or both.

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.

@pjhartzell pjhartzell requested a review from gadomski January 26, 2023 16:33
@pjhartzell pjhartzell self-assigned this Jan 26, 2023
@pjhartzell pjhartzell force-pushed the issues/937-media-type-ignored branch from be3146a to e358cc3 Compare January 26, 2023 17:52
@pjhartzell pjhartzell requested a review from gadomski January 26, 2023 17:53
@pjhartzell pjhartzell merged commit 0e58c91 into stac-utils:main Jan 26, 2023
@pjhartzell pjhartzell deleted the issues/937-media-type-ignored branch January 26, 2023 20:33
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.

Media type argument in Item.get_links method is ignored
2 participants