Jennifer Reiber Kyle

Results 40 issues of Jennifer Reiber Kyle

Go through the unit tests and replace `Mock()`/`monkeypatch` pattern with `unittest.patch` ### Example Change this: ``` @pytest.mark.parametrize( "pretty,expected", [(False, '{"key": "val"}'), (True, '{\n "key": "val"\n}')]) def test_cli_echo_json(pretty, expected, monkeypatch): mock_echo...

better-testing

This raises block has two function calls. So it will pass even if one of the functions does not raise the error. These functions should be checked in two separate...

fixup

implement the following item functions in the SDK * get_item * get_item_type * list_item_types #501 depends

CLI/SDK Interface
data api

**Is your feature request related to a problem? Please describe.** It is awkward for clients to manage Paged subclasses (Orders, Subscriptions, etc). **Describe the solution you'd like** Change the code...

proposal

When the SDK is not initialized, the error thrown simply states that there is no file found at the secret file location (see #649). The user is not really aware...

Right now the Data Client has hardcoded many variables (such as search sort order). This will break with API changes and will be hard to update. Change it over to...

enhancement

Support usage of the API description datetime information, provided as an RFC 3339 string, by creating a helper function for converting that string into a `datetime` object. e.g. something like:...

At minimum, the python client library should provide typing for all public functions. Because the libraries we depend on (mostly httpx) provide full typing, consider full typing of the python...

enhancement

Some workflows involving the CLI depend on `jq` e.g. to extract an order id from the order description printed by `planet orders create`. Consider cost/benefit of removing jq dependence, e.g....

enhancement
2024-revisit

The python SDK receives geometry information from the user as GeoJSON in the form of files, strings, and python objects. From there, the SDK checks that the GeoJSON is valid...

enhancement
unverified