planet-client-python icon indicating copy to clipboard operation
planet-client-python copied to clipboard

Python client for Planet APIs

Results 126 planet-client-python issues
Sort by recently updated
recently updated
newest added

**Expected behavior** When testing tools for the Orders API, I'd expect the tool name and the parameters to be validated. **Actual behavior (describe the problem)** When testing tools for the...

better-testing
orders api

test expected functionality for the following data api search functions, test will be skipped as they will initially fail. * list_searches * delete_search * get_search * update_search * run_search related...

CLI/SDK Interface
data api
tests

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

Importing OrdersClient and/or DataClient via `from planet import OrdersClient` produces a warning, even though it works fine: ![Screen Shot 2022-06-03 at 10 58 51 AM](https://user-images.githubusercontent.com/9271497/171920491-b875441f-a3b4-4127-bb50-16f25873c774.png)

feedback

The signature of the AuthType interface should include the write() method so that basic authentication one-liners don’t give a warning, like this one: ![Screen Shot 2022-06-03 at 10 54 57...

newcomer
feedback

Planet's online account page has a really nice page for each order created: It'd be great to easily just jump to a newly created or listed order, by just entering...

new feature
newcomer

Allow `planet orders create` to take text as an input. Example: ``` planet orders create {"name": "test_order", "products": [{"item_ids": ["20200922_183724_23_106a", "20200922_183722_17_106a"], "item_type": "PSScene4Band", "product_bundle": "analytic"}]} ``` Blocked by #519

CLI/SDK Interface

When I was making the quickstart in #472 I was struck how many options I needed to supply to create an order: ``` $ planet orders create --name my-first-order --id...

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

CLI/SDK Interface
data api