-
Notifications
You must be signed in to change notification settings - Fork 122
Make sure that get_items is backwards compatible #1139
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
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1139 +/- ##
==========================================
+ Coverage 90.92% 90.93% +0.01%
==========================================
Files 49 49
Lines 6631 6642 +11
Branches 975 981 +6
==========================================
+ Hits 6029 6040 +11
Misses 422 422
Partials 180 180
☔ View full report in Codecov by Sentry. |
I'm taking a look at the tests to get the coverage back up. I think I probably took a lot of |
phew ok, hopefully that'll do it |
Related Issue(s):
get_items
#1138Description:
I didn't quite go so far as reverting, but I did make the change backwards compatible by not relying on the new kwarg internally. I ran the pystac-client tests locally and the one that was failing in stac-utils/pystac-client#485 passes now.
Note: I didn't add tests.There should be only 2 lines that aren't tested (the ones in the TypeError blocks), so it seemed like more trouble than it was worth, but just let me know if you think they are necessary.
PR Checklist:
pre-commit
hooks pass locallyscripts/test
)