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

Fix StacApiIO's write_text_to_href #312

Merged
merged 2 commits into from
Sep 15, 2022
Merged

Fix StacApiIO's write_text_to_href #312

merged 2 commits into from
Sep 15, 2022

Conversation

gadomski
Copy link
Member

@gadomski gadomski commented Sep 7, 2022

Description:

The href was not being passed, which broke writing. This popped up when reading an item with pystac-client, modifying it, then writing it to the local filesystem with save_object.

I think this is worth a bugfix release (v0.5.1)?

PR Checklist:

  • Code is formatted
  • Tests pass
  • Changes are added to the CHANGELOG

@codecov-commenter
Copy link

codecov-commenter commented Sep 7, 2022

Codecov Report

Base: 84.98% // Head: 85.24% // Increases project coverage by +0.25% 🎉

Coverage data is based on head (332cd17) compared to base (2522dc1).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #312      +/-   ##
==========================================
+ Coverage   84.98%   85.24%   +0.25%     
==========================================
  Files          11       11              
  Lines         786      786              
==========================================
+ Hits          668      670       +2     
+ Misses        118      116       -2     
Impacted Files Coverage Δ
pystac_client/stac_api_io.py 86.23% <100.00%> (+1.83%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

The href was not being passed, which broke writing. This popped up when reading an item with pystac-client, modifying it,
then writing it to the local filesystem with `save_object`.
@gadomski gadomski merged commit 5b8fed8 into main Sep 15, 2022
@gadomski gadomski deleted the fix-writing branch September 15, 2022 16:23
@gadomski gadomski mentioned this pull request Sep 19, 2022
3 tasks
@gadomski gadomski added this to the 0.5.2 milestone Dec 12, 2022
@gadomski gadomski modified the milestones: 0.5.2, 0.6.0 Jan 27, 2023
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.

3 participants