-
Notifications
You must be signed in to change notification settings - Fork 48
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
cli.search
used deprecated get_all_items_as_dict
#279
Comments
TomAugspurger
pushed a commit
to TomAugspurger/pystac-client
that referenced
this issue
Jul 28, 2022
Followup to stac-utils#277 and closes stac-utils#279 the `cli.search` and `get_all_items()` / `item_collection()` were using this deprecated method. Users using non-deprecated APIs shouldn't be getting deprecation warnings. Clearly it's useful, so let's either un-deprecate it or move the implementaiton to a private method and call that directly. I've chosen to un-deprecate it. I've also configured pytest to fail on warnings, to catch this type of issue in CI.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Followup to #277.
In
pystac-client/pystac_client/cli.py
Line 30 in caf8dd2
cli.search
uses the deprecatedget_all_items_as_dict
.It should be updated to use the replacement.
The text was updated successfully, but these errors were encountered: