You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I opened #1055 to fix these two issues. I also note the issue template wants you to run planet -v which isn't a valid option- I'll follow up and see what we can do there (either fix the issue template or the option).
If you have any other issues or feedback, please let us know!
Expected behavior
The example at https://planet-sdk-for-python-v2.readthedocs.io/en/stable/get-started/upgrading/#asynchronous-methods run successfully when API key is provided, producing a list of items from the API.
Actual behavior (describe the problem)
It runs into an error because
client.search
is closed outside of the with block. Here is the code snippet:Here is the error:
Related Issues
none
Workaround
The example should be corrected:
Minimum, Complete, Viable Code Sample
It is an example from the docs so it is already minimal.
Environment Information
python -c "import platform; print(platform.platform())"
)Linux
python -c "import sys; print(sys.version.replace('\n', ' '))"
)3.12.2
planet -v
)Installation Method
pip
The text was updated successfully, but these errors were encountered: