instance_id
stringlengths
10
57
file_changes
listlengths
1
15
repo
stringlengths
7
53
base_commit
stringlengths
40
40
problem_statement
stringlengths
11
52.5k
patch
stringlengths
251
7.06M
planetlabs__planet-client-python-581
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/cli/orders.py:list" ], "edited_modules": [ "planet/cli/orders.py:list" ] }, "file": "planet/cli/orders.py" } ]
planetlabs/planet-client-python
a65a117ebba604a9c0e0c5dd2a95b5e519255ad3
planet orders list cli command should return sequence Change `planet orders list` cli command to return a sequence of json descriptions of the orders instead of a list. something like... ``` async def list(ctx, state, limit, pretty): '''List orders This command prints a sequence of the returned order d...
diff --git a/planet/cli/orders.py b/planet/cli/orders.py index a290c63..90b7f47 100644 --- a/planet/cli/orders.py +++ b/planet/cli/orders.py @@ -71,8 +71,8 @@ async def list(ctx, state, limit, pretty): ''' async with orders_client(ctx) as cl: orders = await cl.list_orders(state=state, limit=limit) - ...
planetlabs__planet-client-python-583
[ { "changes": { "added_entities": null, "added_modules": [ "planet/clients/data.py:Searches" ], "edited_entities": [ "planet/clients/data.py:DataClient.update_search", "planet/clients/data.py:DataClient.list_searches", "planet/clients/data.py:DataClient.del...
planetlabs/planet-client-python
2e789e3abc771ec7e6f55b663f40d601de3bce77
implement data api search functions implement the following data api search functions: * list_searches * delete_search * get_search * update_search * run_search
diff --git a/planet/clients/data.py b/planet/clients/data.py index a7b96ec..0dbe7e3 100644 --- a/planet/clients/data.py +++ b/planet/clients/data.py @@ -40,6 +40,12 @@ class Items(Paged): ITEMS_KEY = 'features' +class Searches(Paged): + """Asynchronous iterator over searches from a paged response.""" + N...
planetlabs__planet-client-python-590
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/cli/data.py:data" ], "edited_modules": [ "planet/cli/data.py:data" ] }, "file": "planet/cli/data.py" }, { "changes": { "added_entities": null, ...
planetlabs/planet-client-python
79583949536eeddc1d9a100a8a7dcfc8caca0aa4
write tests for subscriptions api & CLI cancel/get/list functions test expected functionality for the following subscriptions functions, test will be skipped as they will initially fail. * get_subscription * cancel_subscription * list_subscriptions related to #514 write tests for subscriptions api create/updat...
diff --git a/planet/cli/data.py b/planet/cli/data.py index 0feb3f3..481f039 100644 --- a/planet/cli/data.py +++ b/planet/cli/data.py @@ -5,7 +5,6 @@ from typing import List from contextlib import asynccontextmanager import click -import planet from planet import DataClient, Session from .cmds import coro, trans...
planetlabs__planet-client-python-621
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/cli/data.py:search_quick" ], "edited_modules": [ "planet/cli/data.py:search_quick" ] }, "file": "planet/cli/data.py" }, { "changes": { "added_entit...
planetlabs/planet-client-python
a2eadaac4f7163446599131deb6c67ad27e77af1
Support sort in data CLI Right now the CLI doesn't support the 'sort' options. Let's get it in there.
diff --git a/planet/cli/data.py b/planet/cli/data.py index 2e4c633..c5dff65 100644 --- a/planet/cli/data.py +++ b/planet/cli/data.py @@ -18,6 +18,7 @@ from contextlib import asynccontextmanager import click from planet import data_filter, DataClient +from planet.clients.data import SEARCH_SORT, SEARCH_SORT_DEFAULT ...
planetlabs__planet-client-python-654
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/cli/data.py:filter" ], "edited_modules": [ "planet/cli/data.py:filter" ] }, "file": "planet/cli/data.py" } ]
planetlabs/planet-client-python
02a42a237495a406c5980e0bdc878af90ed39474
Don't require a filter for a quick search. To solve the issues below, do the following: 1. In quick search, make filter a named option (`--filter` for CLI, `search_filter` for api), if not supplied then no filtering will take place 2. Change `planet data filter` to output an empty filter (no filtering) by default so ...
diff --git a/planet/cli/data.py b/planet/cli/data.py index 5f13850..d2cea4c 100644 --- a/planet/cli/data.py +++ b/planet/cli/data.py @@ -218,12 +218,8 @@ def filter(ctx, else: filters.append(f) - if filters: - if len(filters) > 1: - filt = data_filter.and_filter(filt...
planetlabs__planet-client-python-677
[ { "changes": { "added_entities": [ "planet/specs.py:SpecificationException.__init__", "planet/specs.py:SpecificationException.__str__" ], "added_modules": null, "edited_entities": [ "planet/specs.py:validate_item_type", "planet/specs.py:_validate_field", ...
planetlabs/planet-client-python
87c8b0a3f26c94c38eba84894f73268666eafc6d
planet order request: be more helpful on what bundles are available for a given item_type Right now `planet order request` fails if item_type and bundle are incompatible by saying what item-types are compatible with the specified bundle. It would be more helpful to switch this so that it indicates what bundles are comp...
diff --git a/planet/specs.py b/planet/specs.py index 0f8c155..9c08a0b 100644 --- a/planet/specs.py +++ b/planet/specs.py @@ -15,7 +15,7 @@ """Functionality for validating against the Planet API specification.""" import json import logging - +import itertools from .constants import DATA_DIR PRODUCT_BUNDLE_SPEC_NA...
planetlabs__planet-client-python-695
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/cli/data.py:check_item_types" ], "edited_modules": [ "planet/cli/data.py:check_item_types" ] }, "file": "planet/cli/data.py" } ]
planetlabs/planet-client-python
6db89633fa14f05e71e8304e479923b0e2cb34bd
Report invalid item-types with more human-readable list With `planet data search` if I do an improper item-type I get a response like: ``` Error: Invalid value for 'ITEM_TYPES': ['psscend'] should be one of {'PSScene', 'MOD09GA', 'MYD09GA', 'MYD09GQ', 'SkySatCollect', 'REOrthoTile', 'REScene', 'MOD09GQ', 'PSScene4B...
diff --git a/planet/cli/data.py b/planet/cli/data.py index 1abdcde..5588c6d 100644 --- a/planet/cli/data.py +++ b/planet/cli/data.py @@ -19,7 +19,7 @@ import click from planet import data_filter, DataClient from planet.clients.data import SEARCH_SORT, SEARCH_SORT_DEFAULT, STATS_INTERVAL -from planet.specs import ge...
planetlabs__planet-client-python-707
[ { "changes": { "added_entities": [ "planet/clients/data.py:DataClient._item_url", "planet/clients/data.py:DataClient.validate_checksum" ], "added_modules": null, "edited_entities": [ "planet/clients/data.py:DataClient.list_item_assets", "planet/clients/dat...
planetlabs/planet-client-python
4b47f8f3683292d403b5d3aa9acda1021a1488ed
implement data api asset functions implement the following data api asset functions: * list_assets * get_asset * get_asset_type * activate_asset * wait_asset * download_asset
diff --git a/docs/guide.md b/docs/guide.md index f825ceb..cb7156c 100644 --- a/docs/guide.md +++ b/docs/guide.md @@ -334,6 +334,42 @@ the context of a `Session` with the `DataClient`: >>> asyncio.run(main()) ``` +#### Downloading an Asset + +Downloading an asset is a multi-step process involving: activating the ass...
planetlabs__planet-client-python-713
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/cli/data.py:check_item_types" ], "edited_modules": [ "planet/cli/data.py:check_item_types" ] }, "file": "planet/cli/data.py" }, { "changes": { "add...
planetlabs/planet-client-python
3aa079918b098e9ff6bae346f64d8bd87db5a9d7
Report invalid item-types with more human-readable list With `planet data search` if I do an improper item-type I get a response like: ``` Error: Invalid value for 'ITEM_TYPES': ['psscend'] should be one of {'PSScene', 'MOD09GA', 'MYD09GA', 'MYD09GQ', 'SkySatCollect', 'REOrthoTile', 'REScene', 'MOD09GQ', 'PSScene4B...
diff --git a/docs/guide.md b/docs/guide.md index cb7156c..f825ceb 100644 --- a/docs/guide.md +++ b/docs/guide.md @@ -334,42 +334,6 @@ the context of a `Session` with the `DataClient`: >>> asyncio.run(main()) ``` -#### Downloading an Asset - -Downloading an asset is a multi-step process involving: activating the ass...
planetlabs__planet-client-python-768
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/clients/orders.py:OrdersClient.list_orders" ], "edited_modules": [ "planet/clients/orders.py:OrdersClient" ] }, "file": "planet/clients/orders.py" } ]
planetlabs/planet-client-python
8a458acfd4eb6e7eff5dbe275773ac84185424a3
Include basemaps orders in `planet order list` output **Is your feature request related to a problem? Please describe.** Planet now supports [basemaps in orders](https://developers.planet.com/apis/orders/basemaps/). This works great with all the core orders commands, except for `list`. You can `get` a basemaps order...
diff --git a/planet/clients/orders.py b/planet/clients/orders.py index e405046..733e96f 100644 --- a/planet/clients/orders.py +++ b/planet/clients/orders.py @@ -481,15 +481,14 @@ class OrdersClient: planet.exceptions.ClientError: If state is not valid. """ url = self._orders_url() + ...
planetlabs__planet-client-python-776
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/cli/data.py:search" ], "edited_modules": [ "planet/cli/data.py:search" ] }, "file": "planet/cli/data.py" }, { "changes": { "added_entities": null, ...
planetlabs/planet-client-python
ccc2953528b741c91c6fa7b51e1745f9ed5ab934
Section links in docs Our docs need links for section headers. Check out https://mercantile.readthedocs.io/en/stable/cli.html#examples: every section header has a link, which makes it easy to reference sections in online discussions. Mercantile's docs are made using sphinx. You can see permalinks in action on the Mk...
diff --git a/docs/cli/cli-orders.md b/docs/cli/cli-orders.md index 7804dff..f2561c7 100644 --- a/docs/cli/cli-orders.md +++ b/docs/cli/cli-orders.md @@ -467,7 +467,23 @@ curl -s https://raw.githubusercontent.com/planetlabs/planet-client-python/main/d ### Harmonize -TODO +The harmonize tool allows you to compare da...
planetlabs__planet-client-python-780
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/order_request.py:harmonize_tool" ], "edited_modules": [ "planet/order_request.py:harmonize_tool" ] }, "file": "planet/order_request.py" } ]
planetlabs/planet-client-python
ccc2953528b741c91c6fa7b51e1745f9ed5ab934
Add Sentinel-2 to Harmonization tool **Is your feature request related to a problem? Please describe.** Our SDK only allows data harmonization with Dove Classic, however the [openAPI spec ](https://developers.planet.com/apis/orders/reference/#tag/Orders/operation/createOrder) has added Sentinel-2 as a target sensor fo...
diff --git a/docs/cli/cli-orders.md b/docs/cli/cli-orders.md index 7804dff..f2561c7 100644 --- a/docs/cli/cli-orders.md +++ b/docs/cli/cli-orders.md @@ -467,7 +467,23 @@ curl -s https://raw.githubusercontent.com/planetlabs/planet-client-python/main/d ### Harmonize -TODO +The harmonize tool allows you to compare da...
planetlabs__planet-client-python-785
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/cli/data.py:search" ], "edited_modules": [ "planet/cli/data.py:search" ] }, "file": "planet/cli/data.py" }, { "changes": { "added_entities": null, ...
planetlabs/planet-client-python
2da698fb576e375fce56ba1e665b32cda6d1d6e0
Use PEP 525 async generator to improve data and orders client design [PEP525](https://peps.python.org/pep-0525/) added async generators to Python 3.6. An async generator is an `async def` function or method that uses `yield` instead of `return`. Using it for SDK methods that have multiple results gives us a cleaner des...
diff --git a/docs/cli/cli-orders.md b/docs/cli/cli-orders.md index f2561c7..7804dff 100644 --- a/docs/cli/cli-orders.md +++ b/docs/cli/cli-orders.md @@ -467,23 +467,7 @@ curl -s https://raw.githubusercontent.com/planetlabs/planet-client-python/main/d ### Harmonize -The harmonize tool allows you to compare data to ...
planetlabs__planet-client-python-786
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/cli/data.py:search" ], "edited_modules": [ "planet/cli/data.py:search" ] }, "file": "planet/cli/data.py" }, { "changes": { "added_entities": null, ...
planetlabs/planet-client-python
2da698fb576e375fce56ba1e665b32cda6d1d6e0
Create a migration guide to explain how to move from V1 to V2 **Is your feature request related to a problem? Please describe.** With the release of the SDK V2, a migration guide for migrating scripts developed against SDK V1 would be useful. **Describe the solution you'd like** The most appropriate location f...
diff --git a/docs/cli/cli-data.md b/docs/cli/cli-data.md index dfb9cad..316927e 100644 --- a/docs/cli/cli-data.md +++ b/docs/cli/cli-data.md @@ -111,13 +111,13 @@ the `planet collect` method to transform the output from the Data API to valid G output to it: ```console -planet data filter --geom geometry.json | plan...
planetlabs__planet-client-python-805
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/cli/orders.py:request" ], "edited_modules": [ "planet/cli/orders.py:request" ] }, "file": "planet/cli/orders.py" } ]
planetlabs/planet-client-python
8d67d237c07606a1fd3f76abb96e518def506b54
Revise `planet orders request` arguments The arguments for `planet orders request` originally were all flags. @jreiberkyle proposed a change in https://github.com/planetlabs/planet-client-python/pull/616 to go to all positional arguments, and then in #680 we got a sort of half way there with positional arguments for it...
diff --git a/docs/cli/cli-orders.md b/docs/cli/cli-orders.md index 444994f..ab47780 100644 --- a/docs/cli/cli-orders.md +++ b/docs/cli/cli-orders.md @@ -107,19 +107,19 @@ If you don't have access to PlanetScope data then replace PSScene with SkySatCol Then make the following call: ```console -planet orders request ...
planetlabs__planet-client-python-809
[ { "changes": { "added_entities": [ "planet/auth.py:Auth.store" ], "added_modules": null, "edited_entities": [ "planet/auth.py:Auth.write" ], "edited_modules": [ "planet/auth.py:Auth" ] }, "file": "planet/auth.py" }, { "changes": {...
planetlabs/planet-client-python
a90c68c1fc31c16d4013c1933028b6b2d951e6e5
Clarify auth source with CLI only sourcing from config file and additional log messages **Is your feature request related to a problem? Please describe.** Users and maintainers troubleshooting with the users alike have been stuck wondering why their Planet SDK authentication was not recognized when they had just perfo...
diff --git a/docs/get-started/quick-start-guide.md b/docs/get-started/quick-start-guide.md index 28e64a5..368ee40 100644 --- a/docs/get-started/quick-start-guide.md +++ b/docs/get-started/quick-start-guide.md @@ -83,8 +83,8 @@ And you can see that the value was stored successfully as an environment variabl echo $PL_AP...
planetlabs__planet-client-python-814
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/cli/data.py:search" ], "edited_modules": [ "planet/cli/data.py:search" ] }, "file": "planet/cli/data.py" }, { "changes": { "added_entities": null, ...
planetlabs/planet-client-python
d4c8b2612918ddb19c683e8ce3cda1c36de96e36
revert name change for generator functions Feedback on the name change for generator functions (`search() -> `search_aiter()`) indicates that a doc change is adequate and name change is not desired. Revert the name change for generator functions. Also, update the usage so that generator is used where it is created, aka...
diff --git a/docs/get-started/upgrading.md b/docs/get-started/upgrading.md index 0676651..7edf21f 100644 --- a/docs/get-started/upgrading.md +++ b/docs/get-started/upgrading.md @@ -35,7 +35,7 @@ For more information about Session, refer to the [Python SDK User Guide](../../p With the V1 client, all communication was...
planetlabs__planet-client-python-816
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/clients/subscriptions.py:SubscriptionsClient.get_results" ], "edited_modules": [ "planet/clients/subscriptions.py:SubscriptionsClient" ] }, "file": "planet/clien...
planetlabs/planet-client-python
b9dc4aecad57138b54df1e895373d29bbaba4250
`planet subscriptions results` not returning more than 20 results **Expected behavior** `planet subscriptions results <sub-id>` to return 100 results as specified as the default in the documentation. Or to return the proper number of results if `--limit` is greater than 20 (it works properly if the limit is less tha...
diff --git a/planet/clients/subscriptions.py b/planet/clients/subscriptions.py index dd884a1..ac9ea69 100644 --- a/planet/clients/subscriptions.py +++ b/planet/clients/subscriptions.py @@ -221,7 +221,6 @@ class SubscriptionsClient: class _ResultsPager(Paged): """Navigates pages of messages about...
planetlabs__planet-client-python-833
[ { "changes": { "added_entities": [ "planet/cli/subscriptions.py:subscriptions_client" ], "added_modules": [ "planet/cli/subscriptions.py:subscriptions_client" ], "edited_entities": [ "planet/cli/subscriptions.py:subscriptions", "planet/cli/subscripti...
planetlabs/planet-client-python
19ca7563e3f8f815d0c7588f39a13b37190019eb
add base_url to subscriptions client Add base_url support to subscriptions client. in client, construct urls from a base_url pulled from a global (which in turn is constructed from the planet.base_url constant). NOTE: be sure to remove `root_url` variables in the subscription client code. ([discussion](https://g...
diff --git a/planet/cli/subscriptions.py b/planet/cli/subscriptions.py index 901a729..3343019 100644 --- a/planet/cli/subscriptions.py +++ b/planet/cli/subscriptions.py @@ -1,5 +1,5 @@ """Subscriptions CLI""" - +from contextlib import asynccontextmanager import json import click @@ -10,11 +10,22 @@ from .session i...
planetlabs__planet-client-python-842
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/cli/data.py:filter", "planet/cli/data.py:search" ], "edited_modules": [ "planet/cli/data.py:filter", "planet/cli/data.py:search" ] }, "file": "pl...
planetlabs/planet-client-python
11da95cfc8ec60caea5c686dd7f7deb09a13cf5b
Don't require a filter for a quick search. To solve the issues below, do the following: 1. In quick search, make filter a named option (`--filter` for CLI, `search_filter` for api), if not supplied then no filtering will take place 2. Change `planet data filter` to output an empty filter (no filtering) by default so ...
diff --git a/docs/cli/cli-data.md b/docs/cli/cli-data.md index 316927e..a000342 100644 --- a/docs/cli/cli-data.md +++ b/docs/cli/cli-data.md @@ -17,10 +17,10 @@ At this point you should have completed [Step 5](../get-started/quick-start-guid of the quick start guide, and run your first full data search command: ```...
planetlabs__planet-client-python-848
[ { "changes": { "added_entities": [ "planet/cli/data.py:check_search_id", "planet/cli/data.py:search_list", "planet/cli/data.py:search_run" ], "added_modules": [ "planet/cli/data.py:check_search_id", "planet/cli/data.py:search_list", "planet/cli/d...
planetlabs/planet-client-python
fb20a0f0241b294d3b803dc1d374425b61078228
Implement CLI command: planet data search-run As specified in https://github.com/planetlabs/planet-client-python/blob/main/design-docs/CLI-Data.md#search-run
diff --git a/planet/cli/data.py b/planet/cli/data.py index 1f3e139..a232ede 100644 --- a/planet/cli/data.py +++ b/planet/cli/data.py @@ -17,8 +17,12 @@ from contextlib import asynccontextmanager import click -from planet import data_filter, DataClient -from planet.clients.data import (SEARCH_SORT, +from planet imp...
planetlabs__planet-client-python-850
[ { "changes": { "added_entities": [ "planet/cli/data.py:search_delete" ], "added_modules": [ "planet/cli/data.py:search_delete" ], "edited_entities": null, "edited_modules": null }, "file": "planet/cli/data.py" } ]
planetlabs/planet-client-python
6feaf21163f2ca022c387e0344330632a2444de0
Implement CLI command: planet data search-delete As specified in https://github.com/planetlabs/planet-client-python/blob/main/design-docs/CLI-Data.md#search-delete
diff --git a/planet/cli/data.py b/planet/cli/data.py index b730609..dc0bc8e 100644 --- a/planet/cli/data.py +++ b/planet/cli/data.py @@ -352,8 +352,19 @@ async def search_get(ctx, search_id, pretty): echo_json(items, pretty) +@data.command() +@click.pass_context +@translate_exceptions +@coro +@click.argume...
planetlabs__planet-client-python-852
[ { "changes": { "added_entities": [ "planet/cli/data.py:search_update" ], "added_modules": [ "planet/cli/data.py:search_update" ], "edited_entities": null, "edited_modules": null }, "file": "planet/cli/data.py" } ]
planetlabs/planet-client-python
082d117db8adfc85881508e871bdafce1f6cbbbb
Implement CLI command: planet data search-update As specified in https://github.com/planetlabs/planet-client-python/blob/main/design-docs/CLI-Data.md#search-update
diff --git a/planet/cli/data.py b/planet/cli/data.py index dc0bc8e..e4fa562 100644 --- a/planet/cli/data.py +++ b/planet/cli/data.py @@ -364,7 +364,41 @@ async def search_delete(ctx, search_id): await cl.delete_search(search_id) -# TODO: search_update()". +@data.command() +@click.pass_context +@translate_e...
planetlabs__planet-client-python-859
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/cli/data.py:check_search_id", "planet/cli/data.py:filter", "planet/cli/data.py:search", "planet/cli/data.py:search_list", "planet/cli/data.py:search_run", ...
planetlabs/planet-client-python
e90f3e27e0ce4b9b357566214f866b18a6644772
Helper methods for subscriptions For the MVP of subscriptions we just have users directly form the entire json request, so we could ship something and iterate. Now that it's out we should consider what we want to do to help users. To have one or more options like `planet data filter` or `planet order request`. A ...
diff --git a/design-docs/CLI-Subscriptions.md b/design-docs/CLI-Subscriptions.md index 043b858..599a740 100644 --- a/design-docs/CLI-Subscriptions.md +++ b/design-docs/CLI-Subscriptions.md @@ -184,7 +184,7 @@ planet subscriptions request [OPTIONS] Generate a subscriptions request. -This command provides support fo...
planetlabs__planet-client-python-870
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "planet/specs.py" } ]
planetlabs/planet-client-python
42d8d758bd482ee13806857953b93c99781c6e39
Update Orders Product Bundles Reference JSON file and link to SSoT JSON file 1. When we get the latest product bundle is delivered, please replace it in this source code: https://github.com/planetlabs/planet-client-python/tree/main/planet/data 2. Please update reference to it, for example (but latest will not ha...
diff --git a/planet/data/README.md b/planet/data/README.md index e3f94ab..d780ca5 100644 --- a/planet/data/README.md +++ b/planet/data/README.md @@ -5,7 +5,7 @@ This directory contains static external resources used by the codebase. ### Files -* `orders_product_bundle_2022_02_02.json` +* `orders_product_bundle_202...
planetlabs__planet-client-python-880
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/subscription_request.py:catalog_source" ], "edited_modules": [ "planet/subscription_request.py:catalog_source" ] }, "file": "planet/subscription_request.py" } ...
planetlabs/planet-client-python
60a29560cdacaed036793700a153e710973b1d78
invalid geometry entry created by planet subscriptions request-catalog **Expected behavior** Geometry entry in source.json produced by this command should be just the geometry part of `aoi.geojson`, so `"type": "Polygon"` . ```bash planet subscriptions request-catalog \ --item-types PSScene \ -...
diff --git a/planet/clients/orders.py b/planet/clients/orders.py index 584df8d..d0918c9 100644 --- a/planet/clients/orders.py +++ b/planet/clients/orders.py @@ -123,10 +123,10 @@ class OrdersClient: >>> from planet.order_request import build_request, product >>> >>> async def main(): - ...
planetlabs__planet-client-python-883
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/cli/data.py:search_create" ], "edited_modules": [ "planet/cli/data.py:search_create" ] }, "file": "planet/cli/data.py" }, { "changes": { "added_ent...
planetlabs/planet-client-python
60a29560cdacaed036793700a153e710973b1d78
Update `search-create` CLI and python API commands to match `search` **Expected behavior** UI of `planet data search-create` and `planet data search` should be similar. **Actual behavior (describe the problem)** `planet data search` has filter and name as options, `planet data search-create` has name and filter as...
diff --git a/planet/cli/data.py b/planet/cli/data.py index cbca75e..46a9603 100644 --- a/planet/cli/data.py +++ b/planet/cli/data.py @@ -283,7 +283,8 @@ def filter(ctx, callback=check_item_types) @click.option('--filter', type=types.JSON(), - help='Apply specified filter to...
planetlabs__planet-client-python-892
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/cli/data.py:search_create" ], "edited_modules": [ "planet/cli/data.py:search_create" ] }, "file": "planet/cli/data.py" }, { "changes": { "added_ent...
planetlabs/planet-client-python
c70ea0774b84e10d4cc3892554d4031883d2e50e
Fix broken CLI code examples _Base URL:_ https://planet-sdk-for-python-v2.readthedocs.io/en/latest/cli/cli-guide/ **General issue:** - [x] Most code examples have some prefix from the console (i.e., a "`$`" before the command), which makes copying and pasting the command a nuicence. I highly recommend finding al...
diff --git a/CHANGES.txt b/CHANGES.txt index 4963823..fd17000 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -9,7 +9,13 @@ Changed: Added: - The Session class can now construct clients by name with its client method (#858). + +Changed: - Updated product bundle spec to 2/24/23 version. +- `planet.subscription_reque...
planetlabs__planet-client-python-894
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/cli/data.py:stats" ], "edited_modules": [ "planet/cli/data.py:stats" ] }, "file": "planet/cli/data.py" } ]
planetlabs/planet-client-python
c28285bf2b7ff3b2a20688371e3ec0dc834eada7
Update `planet data stats` CLI and python API commands to match `search` **Expected behavior** UI of `planet data stats` and `planet data search` should be similar. **Actual behavior (describe the problem)** `planet data search` has filter as an option (`--filter`), `planet data stats` has interval and filter as a...
diff --git a/docs/cli/cli-intro.md b/docs/cli/cli-intro.md index 91bb052..6100876 100644 --- a/docs/cli/cli-intro.md +++ b/docs/cli/cli-intro.md @@ -173,7 +173,7 @@ represent GeoJSON features, the JSON blob is a GeoJSON FeatureCollection. Otherwise, the JSON blob is a list of the individual results. ```console -pla...
planetlabs__planet-client-python-898
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/cli/data.py:stats", "planet/cli/data.py:search_update" ], "edited_modules": [ "planet/cli/data.py:stats", "planet/cli/data.py:search_update" ] }, ...
planetlabs/planet-client-python
7aa43b60366f110d0e7ee6ada9ebb8cdfdb960e3
Change `search-update` to be consistent with new search. I just realized the `search-update` should also be updated for consistency. Elsewhere (#887) I mentioned `planet data stats` could also use an update. I think that one is 'nice to have', but probably not essential. But `search-update` seems like it really should ...
diff --git a/docs/cli/cli-intro.md b/docs/cli/cli-intro.md index 91bb052..6100876 100644 --- a/docs/cli/cli-intro.md +++ b/docs/cli/cli-intro.md @@ -173,7 +173,7 @@ represent GeoJSON features, the JSON blob is a GeoJSON FeatureCollection. Otherwise, the JSON blob is a list of the individual results. ```console -pla...
planetlabs__planet-client-python-900
[ { "changes": { "added_entities": [ "planet/cli/subscriptions.py:get_subscription_cmd" ], "added_modules": [ "planet/cli/subscriptions.py:get_subscription_cmd" ], "edited_entities": [ "planet/cli/subscriptions.py:describe_subscription_cmd" ], "edi...
planetlabs/planet-client-python
92670cb7b0037b468f2bac47929022b03869a831
Inconsistent naming of subscriptions CLI: `describe` vs `get` **Expected behavior** All CLI commands use the same verb to get a single item. **Actual behavior (describe the problem)** Using the CLI most all the commands that get a single 'thing' (saved search, order, etc) use `get` as the verb. But subscriptions u...
diff --git a/planet/cli/subscriptions.py b/planet/cli/subscriptions.py index 7e0b21d..4e1a1da 100644 --- a/planet/cli/subscriptions.py +++ b/planet/cli/subscriptions.py @@ -113,14 +113,14 @@ async def update_subscription_cmd(ctx, subscription_id, request, pretty): echo_json(sub, pretty) -@subscriptions.com...
planetlabs__planet-client-python-917
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/order_request.py:notifications" ], "edited_modules": [ "planet/order_request.py:notifications" ] }, "file": "planet/order_request.py" } ]
planetlabs/planet-client-python
c9ea58f290889c7171e131e1539f90566abff353
Webhook configurations removed Hi, I am trying to create order requests and pass a webhook url along. By using the below code I receive a dictionary that includes the notification info. ```python if notification: notifications = order_request.notifications( webhook_per_order=True,...
diff --git a/planet/cli/orders.py b/planet/cli/orders.py index 0341f1d..7711771 100644 --- a/planet/cli/orders.py +++ b/planet/cli/orders.py @@ -63,9 +63,6 @@ async def list(ctx, state, limit, pretty): This command prints a sequence of the returned order descriptions, optionally pretty-printed. - - Order...
planetlabs__planet-client-python-928
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/models.py:_get_filename_from_url" ], "edited_modules": [ "planet/models.py:_get_filename_from_url" ] }, "file": "planet/models.py" } ]
planetlabs/planet-client-python
98a76a37ef4913384967f4fe015ee19fb237828b
Asset download fails for Landsat imagery As demonstrated in the following notebook: https://github.com/planetlabs/notebooks/blob/master/jupyter-notebooks/landsat-ps-comparison/landsat-ps-comparison.ipynb Landsat download fails using V2 of our Client, even though Planet imagery download is successful. 
diff --git a/planet/models.py b/planet/models.py index ab38d8e..e2e7761 100644 --- a/planet/models.py +++ b/planet/models.py @@ -19,7 +19,8 @@ from pathlib import Path import random import re import string -from typing import AsyncGenerator, Callable, List +from typing import AsyncGenerator, Callable, List, Optional...
planetlabs__planet-client-python-959
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/cli/data.py:check_item_types", "planet/cli/data.py:check_item_type" ], "edited_modules": [ "planet/cli/data.py:check_item_types", "planet/cli/data.py:check_ite...
planetlabs/planet-client-python
0f3745bc2fb7ae89c3668465e0c9e505452c2877
sdk does not support data api skysatvideo item type **Expected behavior** `planet data search skysatvideo` should search for the [skysatvideo](https://developers.planet.com/docs/data/skysatvideo/) item type. **Actual behavior (describe the problem)** skysatvideo is not supported ```console planet-client-python...
diff --git a/planet/cli/data.py b/planet/cli/data.py index d138cb5..fdb4279 100644 --- a/planet/cli/data.py +++ b/planet/cli/data.py @@ -28,8 +28,8 @@ from planet.clients.data import (SEARCH_SORT, SEARCH_SORT_DEFAULT, STATS_INTERVAL) -from planet.spe...
planetlabs__planet-client-python-971
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/subscription_request.py:build_request", "planet/subscription_request.py:catalog_source", "planet/subscription_request.py:clip_tool" ], "edited_modules": [ "pla...
planetlabs/planet-client-python
a3b27c1571ae8d9a7ec2cd687f40505c76094208
Reuse subscription source geometry in clip tool Specifying a clip geometry will be optional. If one is provided, it will be ignored in favor of the subscription source geometry.
diff --git a/CHANGES.txt b/CHANGES.txt index e0f441e..44c93cc 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,10 @@ +2.1.0 (TBD) + +Added: +- The subscription_request.build_request function has a new option to clip to + the subscription's source geometry. This is a preview of the default + behavior of the next ...
planetlabs__planet-client-python-976
[ { "changes": { "added_entities": [ "planet/subscription_request.py:planetary_variable_source" ], "added_modules": [ "planet/subscription_request.py:planetary_variable_source" ], "edited_entities": [ "planet/subscription_request.py:build_request" ], ...
planetlabs/planet-client-python
79d9a3cb952fcd4f75e5e935ee067455580c779d
Add a Planetary Variable source helper to the subscription_request module To generate source objects like the one shown at https://developers.planet.com/docs/subscriptions/pvs-subs/#create-a-planetary-variables-subscription. It should be based on the existing `catalog_source()` helper https://github.com/planetlabs/plan...
diff --git a/CHANGES.txt b/CHANGES.txt index 44c93cc..c05ab6b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,9 +1,11 @@ 2.1.0 (TBD) Added: +- A subscription_request.planetary_variable_source function has been added + (#976). - The subscription_request.build_request function has a new option to clip to - the su...
planetlabs__planet-client-python-977
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/subscription_request.py:catalog_source" ], "edited_modules": [ "planet/subscription_request.py:catalog_source" ] }, "file": "planet/subscription_request.py" } ...
planetlabs/planet-client-python
30cb1c0adb8349d9e3ea6831a70f61924f0e560f
Add publishing_stages to catalog source parameters It's a list of choices from "preview", "standard", or "finalized". See https://developers.planet.com/docs/subscriptions/reference/#tag/subscriptions/operation/createSubscription.
diff --git a/CHANGES.txt b/CHANGES.txt index 2255bc0..105eff2 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,7 +1,10 @@ 2.1.0 (TBD) Added: -- Add the option to get Planetary Variable subscription results as a CSV file (). +- Support for catalog source publishing stages has been added to + subscription_request.ca...
planetlabs__planet-client-python-978
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/subscription_request.py:catalog_source" ], "edited_modules": [ "planet/subscription_request.py:catalog_source" ] }, "file": "planet/subscription_request.py" } ...
planetlabs/planet-client-python
699f15b9b523fddd942d4d87bb3a57c6a00f5ffd
Add time_range_type parameter to subscription source params The new parameter is a string and one of "acquired", or "published". This is a new API feature. Previously, "published" was the only option.
diff --git a/CHANGES.txt b/CHANGES.txt index 105eff2..2c6d297 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,8 +1,8 @@ 2.1.0 (TBD) Added: -- Support for catalog source publishing stages has been added to - subscription_request.catalog_source (#977). +- Support for catalog source publishing stages (#977) and time...
planetlabs__planet-client-python-981
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/cli/subscriptions.py:list_subscription_results_cmd" ], "edited_modules": [ "planet/cli/subscriptions.py:list_subscription_results_cmd" ] }, "file": "planet/cli/s...
planetlabs/planet-client-python
79d9a3cb952fcd4f75e5e935ee067455580c779d
Support for upcoming csv timeseries subscription results **Is your feature request related to a problem? Please describe.** With the introduction of PVs to the subscription API we are also supporting timeseries in csv format. This is available on api.planet.com/subscriptions/v1 but not yet documented offically. ...
diff --git a/CHANGES.txt b/CHANGES.txt index 44c93cc..2255bc0 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,9 +1,12 @@ 2.1.0 (TBD) Added: +- Add the option to get Planetary Variable subscription results as a CSV file (). +- A subscription_request.planetary_variable_source function has been added + (#976). - Th...
planetlabs__planet-client-python-988
[ { "changes": { "added_entities": [ "planet/cli/subscriptions.py:request_pv" ], "added_modules": [ "planet/cli/subscriptions.py:request_pv" ], "edited_entities": [ "planet/cli/subscriptions.py:request" ], "edited_modules": [ "planet/cli/su...
planetlabs/planet-client-python
33f69037fd1cba672dd7622c1d9f3af30e81b54f
Add a "planet subscriptions request-pv" command Like `planet subscriptions catalog-request` https://planet-sdk-for-python-v2.readthedocs.io/en/latest/cli/cli-subscriptions/#catalog-request
diff --git a/CHANGES.txt b/CHANGES.txt index 9163bfe..18b7033 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -3,6 +3,9 @@ 2.1b1 (2023-07-11) Added: +- The request command of the subscriptions CLI has a new --clip-to-source + option (#988). +- A new request-pv command has been added to the subscriptions CLi (#988). ...
planetlabs__planet-client-python-989
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/order_request.py:delivery" ], "edited_modules": [ "planet/order_request.py:delivery" ] }, "file": "planet/order_request.py" } ]
planetlabs/planet-client-python
4055dbbec7d59b5a73ef390da68c9c05c4c2c0af
Unable to receive zipped deliveries to GCP **Expected behavior** Given this style `cloudconfig.json` file, as specified in order_request ([here](https://github.com/planetlabs/planet-client-python/blob/main/planet/order_request.py#L165-L200)) and validated in specs ([here](https://github.com/planetlabs/planet-client-py...
diff --git a/.gitignore b/.gitignore index 3088081..7d69a81 100644 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,5 @@ coverage.xml # Editors .vscode/ - # Docs build site diff --git a/planet/order_request.py b/planet/order_request.py index 51baa9f..f36644c 100644 --- a/planet/order_request.py +++ b/planet/order_r...
planetlabs__planet-client-python-990
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/cli/orders.py:request" ], "edited_modules": [ "planet/cli/orders.py:request" ] }, "file": "planet/cli/orders.py" }, { "changes": { "added_entities"...
planetlabs/planet-client-python
0aaf6c58a484de72907381569b76d0c48bfa5627
The --cloudconfig CLI option has an innaccurate name The `--cloudconfig` option of the `planet orders create` CLI command has an inaccurate name, as it is not limited to cloud delivery configurations. It is entirely possible to provide a local delivery config using the `--cloudconfig` option, e.g.: ``` { ...
diff --git a/CHANGES.txt b/CHANGES.txt index 18b7033..a78e118 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,5 +1,11 @@ 2.1.0 (TBD) +- The --cloudconfig option of the request command of the orders CLI has been + superseded by a new --delivery option, with --cloudconfig left as an alias. + New --archive-type, --a...
planetlabs__planet-client-python-992
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "planet/cli/subscriptions.py:request_catalog" ], "edited_modules": [ "planet/cli/subscriptions.py:request_catalog" ] }, "file": "planet/cli/subscriptions.py" } ]
planetlabs/planet-client-python
abb65a4fbf4c6eee3ca9731c7d4918efd82c7f7f
Add publishing_stages to catalog source parameters It's a list of choices from "preview", "standard", or "finalized". See https://developers.planet.com/docs/subscriptions/reference/#tag/subscriptions/operation/createSubscription.
diff --git a/CHANGES.txt b/CHANGES.txt index a78e118..fc85a88 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,5 +1,7 @@ 2.1.0 (TBD) +- Support for publishing stages and time range types has been added to the + subscriptions CLI (#992). - The --cloudconfig option of the request command of the orders CLI has been ...
platformio__platformio-core-4570
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "platformio/builder/tools/piobuild.py:ProcessUnFlags" ], "edited_modules": [ "platformio/builder/tools/piobuild.py:ProcessUnFlags" ] }, "file": "platformio/builder/tools...
platformio/platformio-core
c3e287672ecfd9b3878b34bb82028ce01b4b0676
How can you use 'check_patterns' to EXCLUDE a folder or file? The example only shows how to include additional folders https://docs.platformio.org/en/latest/projectconf/sections/env/options/check/check_patterns.html
diff --git a/HISTORY.rst b/HISTORY.rst index 9d4b7277..57126d54 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -20,6 +20,7 @@ PlatformIO Core 6 * Show detailed library dependency tree only in the `verbose mode <https://docs.platformio.org/en/latest/core/userguide/cmd_run.html#cmdoption-pio-run-v>`__ (`issue #4517 <http...
platformio__platformio-core-4852
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "platformio/pipdeps.py:get_pip_dependencies" ], "edited_modules": [ "platformio/pipdeps.py:get_pip_dependencies" ] }, "file": "platformio/pipdeps.py" }, { "chang...
platformio/platformio-core
255e91b51c7076c322a748c746a5fa63ceae6ae8
Add support for LuatOS ESP32C3-CORE Development Board Add support for LuatOS ESP32-C3 Development Board https://wiki.luatos.org/chips/esp32c3/board.html Bus 001 Device 012: ID 1a86:55d3 QinHeng Electronics USB Single Serial
diff --git a/HISTORY.rst b/HISTORY.rst index bfe1dcba..4f1cc2d3 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -22,6 +22,7 @@ test-driven methodologies, and modern toolchains for unrivaled success. * Broadened version support for the ``pyelftools`` dependency, enabling compatibility with lower versions and facilitati...
plone__mr.roboto-123
[ { "changes": { "added_entities": [ "src/mr.roboto/src/mr/roboto/subscriber.py:PullRequestSubscriber.pull_request_author" ], "added_modules": null, "edited_entities": [ "src/mr.roboto/src/mr/roboto/subscriber.py:UpdateCoredevCheckouts.run" ], "edited_modules": ...
plone/mr.roboto
f5633f113461af1f36c7da404aca1e93c9e587ee
Ignore changes to pre-commit config? I thought we were already ignoring automated pre-commit changes that update the config, but we only [ignore the missing changelog entry](https://github.com/plone/mr.roboto/pull/114). They are still added to `checkouts.cfg`, so we have 79 checkouts now... Could we ignore those? ...
diff --git a/src/mr.roboto/src/mr/roboto/subscriber.py b/src/mr.roboto/src/mr/roboto/subscriber.py index 1212dbb..e374362 100644 --- a/src/mr.roboto/src/mr/roboto/subscriber.py +++ b/src/mr.roboto/src/mr/roboto/subscriber.py @@ -82,6 +82,10 @@ IGNORE_NO_JENKINS = ( "plone.recipe.zope2instance", ) +# Authors tha...
plone__plone.dexterity-139
[ { "changes": { "added_entities": [ "plone/dexterity/filerepresentation.py:DefaultReadFile.__next__" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "plone/dexterity/filerepresentation.py:DefaultReadFile" ] }, "file": "plone/dexte...
plone/plone.dexterity
ec4d8ff7467f0544adb994e38fdedff9ba75fa96
IStreamIterator interface is not respected This test fails: ``` def test_defaultreadfile_verify_iface(self): from plone.dexterity.filerepresentation import DefaultReadFile from zope.interface.verify import verifyObject from ZPublisher.Iterators import IStreamIterator dummy = ...
diff --git a/news/138.bugfix b/news/138.bugfix index 8013edf..2c8138e 100644 --- a/news/138.bugfix +++ b/news/138.bugfix @@ -1,1 +1,2 @@ Use mock from unittest on Python 3 [ale-rt] +DefaultReadFile properly implements the IStreamIterator interface [ale-rt] diff --git a/plone/dexterity/filerepresentation.py b/plone/dex...
plotly__dash-726
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "dash/development/_py_components_generation.py:map_js_to_py_types_prop_types" ], "edited_modules": [ "dash/development/_py_components_generation.py:map_js_to_py_types_prop_types" ...
plotly/dash
c2659ae09d6e271f2ca3552df998ede9125cc3cb
DashR transpiler: type and default information in help strings Let's make sure that the R equivalent of docstrings has the same type/default information as the Python docstrings for components.
diff --git a/dash/development/_py_components_generation.py b/dash/development/_py_components_generation.py index 66db6a12..1b5e2d52 100644 --- a/dash/development/_py_components_generation.py +++ b/dash/development/_py_components_generation.py @@ -488,11 +488,12 @@ def map_js_to_py_types_prop_types(type_object): ...
plotly__dash-796
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "dash/development/_py_components_generation.py:create_prop_docstring" ], "edited_modules": [ "dash/development/_py_components_generation.py:create_prop_docstring" ] }, "...
plotly/dash
ba27febf71caf112294c53e568d4ff407c5a10ee
[BUG] Auto-generated docstrings contain JS boolean values instead of Python boolean values Prompted by https://github.com/plotly/dash-bio/pull/379#discussion_r297840872 While `true` and `false` are not capitalized in JavaScript, they are capitalized in Python. The Python components' docstrings should reflect this, s...
diff --git a/dash/development/_py_components_generation.py b/dash/development/_py_components_generation.py index 3fcd96c8..61bfd9b2 100644 --- a/dash/development/_py_components_generation.py +++ b/dash/development/_py_components_generation.py @@ -436,6 +436,9 @@ def create_prop_docstring(prop_name, type_object, require...
plotly__dash-999
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "dash/fingerprint.py:build_fingerprint" ], "edited_modules": [ "dash/fingerprint.py:build_fingerprint" ] }, "file": "dash/fingerprint.py" } ]
plotly/dash
b3b9de9923d82ff1281889b3695d638e95bb1590
[BUG] + in version string breaks fingerprint system **Describe your context** - replace the result of `pip list | grep dash` below ``` dash 1.5.1 dash-core-components 1.4.0 dash-daq ...
diff --git a/@plotly/webpack-dash-dynamic-import/src/index.js b/@plotly/webpack-dash-dynamic-import/src/index.js index b02a7edc..6071c0a9 100644 --- a/@plotly/webpack-dash-dynamic-import/src/index.js +++ b/@plotly/webpack-dash-dynamic-import/src/index.js @@ -5,7 +5,7 @@ function getFingerprint() { const packageJso...
plotly__dash-bio-589
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "dash_bio/component_factory/_clustergram.py:Clustergram", "dash_bio/component_factory/_clustergram.py:_Clustergram.__init__" ], "edited_modules": [ "dash_bio/component_factory...
plotly/dash-bio
243c371559b15db8bbb7304625be292e989b8207
Clustergram: Why is complete linkage hard-coded? https://github.com/plotly/dash-bio/blob/a471d1d51ac361e04242ae7424af20f32fb26fce/dash_bio/component_factory/_clustergram.py#L29 Shouldn't this also be a kwarg?
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1229b672..9e5c47f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## Unreleased - ??? + +### Changed +* [#589](https://github.com/plotly/dash-bio/pull/589) Removed hardcoded clustergram linkage method, added parameter `link_method` instead. ...
plotly__plotly.py-1383
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "plotly/basedatatypes.py:BasePlotlyType.update" ], "edited_modules": [ "plotly/basedatatypes.py:BasePlotlyType" ] }, "file": "plotly/basedatatypes.py" }, { "chan...
plotly/plotly.py
7151847dbc7718c103e1441bfd1fc2193dbcf23e
Chaining fig.update() Based on previous conversations, this would be a nice improvement :)
diff --git a/plotly/basedatatypes.py b/plotly/basedatatypes.py index 4c786bc1d..a0c3f057d 100644 --- a/plotly/basedatatypes.py +++ b/plotly/basedatatypes.py @@ -3023,6 +3023,8 @@ class BasePlotlyType(object): BaseFigure._perform_update(self, dict1) BaseFigure._perform_update(self, kwargs) + ...
plotly__plotly.py-1411
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "plotly/figure_factory/_annotated_heatmap.py:_AnnotatedHeatmap.get_z_mid" ], "edited_modules": [ "plotly/figure_factory/_annotated_heatmap.py:_AnnotatedHeatmap" ] }, "fi...
plotly/plotly.py
7fa25ae6d0dfee4ea0df775b80ac1b734d0a1c2f
Annotated heatmaps: font colour blends with the colour of the square. When using the default color scheme, the font color contrasts normally with the fill of the each heatmap square. But if you try other standard color schemes with `reversescale=True`, when values are close to zero, the colors will merge. I think this ...
diff --git a/plotly/figure_factory/_annotated_heatmap.py b/plotly/figure_factory/_annotated_heatmap.py index f40d7f26b..605b7d825 100644 --- a/plotly/figure_factory/_annotated_heatmap.py +++ b/plotly/figure_factory/_annotated_heatmap.py @@ -1,4 +1,4 @@ -from __future__ import absolute_import +from __future__ import abs...
plotly__plotly.py-1447
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "plotly/offline/offline.py:_plot_html", "plotly/offline/offline.py:iplot", "plotly/offline/offline.py:plot" ], "edited_modules": [ "plotly/offline/offline.py:_plot_htm...
plotly/plotly.py
b3dbcebc4950b935d71cdb91950622a63957b3e3
Allow users to control autoplay feature on Python animation frames Hey all, Loving the new animation functionality you've introduced! It would be great if you could allow us to decide whether or not we want the animation to autoplay. For example, your GapMinder plot created with the Python API [here](https://...
diff --git a/plotly/offline/offline.py b/plotly/offline/offline.py index 4317febde..01c08acf1 100644 --- a/plotly/offline/offline.py +++ b/plotly/offline/offline.py @@ -311,7 +311,7 @@ def init_notebook_mode(connected=False): def _plot_html(figure_or_data, config, validate, default_width, - default_h...
plotly__plotly.py-656
[ { "changes": { "added_entities": [ "plotly/graph_objs/graph_objs.py:Frames._value_to_graph_object", "plotly/graph_objs/graph_objs.py:Frames.to_string" ], "added_modules": null, "edited_entities": [ "plotly/graph_objs/graph_objs.py:GraphObjectFactory.create", ...
plotly/plotly.py
3df12907944b0d0d4b6f2983605948f070858baf
Better Integrate `frames` into `Figure` Referring to fix in https://github.com/plotly/plotly.py/pull/584 -> https://github.com/plotly/plotly.py/blob/a156503b275763a3ec7738f5f251b93597824ed0/plotly/graph_objs/graph_objs.py#L839 @theengineear
diff --git a/CHANGELOG.md b/CHANGELOG.md index b8d15791e..fe8ea889e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Updated - `plotly.plotly.create_animations` and `plotly.plotly.icreate_animations` now return appropriate error mess...
pndurette__gTTS-245
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "gtts/cli.py:validate_lang", "gtts/cli.py:print_languages" ], "edited_modules": [ "gtts/cli.py:validate_lang", "gtts/cli.py:print_languages" ] }, "file":...
pndurette/gTTS
c01a71da23482cfe08f77dcd0765cc0645eee2c8
gTTS slow on generating file Hi, I've used this library for almost 2 years. I runt a python script on a RPi3 and now when It start generating mp3 file from TTS conversion it locks for aroung 1 minute or more and no output file is generated. This behaviour seems to be randomic. Is there any issue between gTTS and Googl...
diff --git a/README.md b/README.md index 09433aa..822c289 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,6 @@ Write spoken `mp3` data to a file, a file-like object (bytestring) for further a - Customizable speech-specific sentence tokenizer that allows for unlimited lengths of text to be read, all while keepi...
pnuckowski__aioresponses-258
[ { "changes": { "added_entities": [ "aioresponses/core.py:RequestMatch.__repr__" ], "added_modules": null, "edited_entities": [ "aioresponses/core.py:aioresponses._request_mock" ], "edited_modules": [ "aioresponses/core.py:aioresponses", "aiores...
pnuckowski/aioresponses
b83af203d5550006fd2328af230c2d93e36c6cb1
mocking ignores base_url `aiohttp.ClientSession` takes a `base_url` (https://docs.aiohttp.org/en/stable/client_reference.html?highlight=base_url#aiohttp.ClientSession) that is then used to build the URL with `.request()` and other methods. Sample usage: ``` In [3]: session = aiohttp.ClientSession("http://httpbi...
diff --git a/aioresponses/core.py b/aioresponses/core.py index a22fad6..425dff0 100644 --- a/aioresponses/core.py +++ b/aioresponses/core.py @@ -212,6 +212,9 @@ class RequestMatch(object): reason=result.reason) return resp + def __repr__(self) -> str: + return f"RequestMatch('{self.url...
podhmo__magicalimport-3
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "magicalimport/__init__.py:import_from_physical_path", "magicalimport/__init__.py:import_symbol" ], "edited_modules": [ "magicalimport/__init__.py:import_from_physical_path", ...
podhmo/magicalimport
8af8157954b6dc66b94a41b1daaed40c9ce86321
raise AttributeError when target file is not found, instead of AttributeError ``` >>> from magicalimport import import_from_physical_path >>> import_from_physical_path("jifoewjifoew.py") ... FileNotFoundError: [Errno 2] No such file or directory: 'jifoewjifoew.py' >>> import_from_physical_path("jifoewjifoew.p") ....
diff --git a/magicalimport/__init__.py b/magicalimport/__init__.py index 48a5ff0..6c50b0f 100644 --- a/magicalimport/__init__.py +++ b/magicalimport/__init__.py @@ -25,7 +25,10 @@ def import_from_physical_path(path, as_=None, here=None): module_id = as_ or path.replace("/", "_").rsplit(".py", 1)[0] if module_...
podhmo__pycomment-14
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pycomment/emit.py:emit" ], "edited_modules": [ "pycomment/emit.py:emit" ] }, "file": "pycomment/emit.py" } ]
podhmo/pycomment
abb7d151fd8edc68d15887b1536cdb6c73e0cc9f
indentation with multi-line output rel #1
diff --git a/pycomment/emit.py b/pycomment/emit.py index e236056..7cb41e3 100644 --- a/pycomment/emit.py +++ b/pycomment/emit.py @@ -10,16 +10,17 @@ def emit( *, result_map: t.Dict[str, t.List[str]], rest: t.List[str], - out: t.IO = sys.stdout + out: t.IO = sys.stdout, + _rx=re.compile(COMMENT_M...
podhmo__swagger-marshmallow-codegen-47
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": [ "examples/02default/definition.py:Maximum_validation", "examples/02default/definition.py:Array_validation" ] }, "file": "examples/02default/definition....
podhmo/swagger-marshmallow-codegen
1b26fda7171cd965b58120dec19cce2005941334
some tests are broken
diff --git a/examples/02default/definition.py b/examples/02default/definition.py index 6b59f5c..97f70a4 100644 --- a/examples/02default/definition.py +++ b/examples/02default/definition.py @@ -43,12 +43,12 @@ class Length_validation(Schema): class Maximum_validation(Schema): - n0 = fields.Number(validate=[Range...
podhmo__swagger-marshmallow-codegen-74
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": [ "swagger_marshmallow_codegen/codegen/config.py:ConfigDict" ] }, "file": "swagger_marshmallow_codegen/codegen/config.py" }, { "changes": { "added_...
podhmo/swagger-marshmallow-codegen
6d5dcfa88e8882a293434e3c3fcbf4837fd21c7d
CI is broken, DateTime field handling is changed refs https://github.com/marshmallow-code/marshmallow/issues/1234
diff --git a/swagger_marshmallow_codegen/codegen/config.py b/swagger_marshmallow_codegen/codegen/config.py index 429da80..56f8b2f 100644 --- a/swagger_marshmallow_codegen/codegen/config.py +++ b/swagger_marshmallow_codegen/codegen/config.py @@ -2,10 +2,11 @@ from __future__ import annotations import typing_extensions ...
poliastro__poliastro-1583
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/poliastro/twobody/sampling.py:TrueAnomalyBounds.sample" ], "edited_modules": [ "src/poliastro/twobody/sampling.py:TrueAnomalyBounds" ] }, "file": "src/poliastro/two...
poliastro/poliastro
0583b33091b07229abe2027bccdc596ba3c5033b
`Orbit.to_ephem` producing incorrect ephemeris time <!--- Provide a general summary of the issue in the title above --> The epoch time of the `Ephem` object produced by `Orbit.to_ephem` does not match the epoch of the orbit. <!--- Provide a detailed description of the problem you have --> ```python import ast...
diff --git a/src/poliastro/twobody/sampling.py b/src/poliastro/twobody/sampling.py index 194baa55..02a3aa8e 100644 --- a/src/poliastro/twobody/sampling.py +++ b/src/poliastro/twobody/sampling.py @@ -147,7 +147,7 @@ class TrueAnomalyBounds(SamplingStrategy): delta_ts = ( np.unwrap(delta_ts, period=...
poliastro__poliastro-192
[ { "changes": { "added_entities": [ "setup.py:PyTest.run_tests" ], "added_modules": [ "setup.py:PyTest" ], "edited_entities": null, "edited_modules": null }, "file": "setup.py" } ]
poliastro/poliastro
cb499812249311a186d1dee9432c3280baa59061
Fix master I made a trivial change in master, and some numerical comparisons failed: https://travis-ci.org/poliastro/poliastro/builds/251342947 I suspect there has been some update in Astropy, but I don't have enough debugging information right now.
diff --git a/.gitignore b/.gitignore index 0fc8784f..eed8783b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -poliastro.nja +*.nja .idea .cache @@ -18,3 +18,4 @@ build .coverage __pycache__/ +.eggs/ diff --git a/.travis.yml b/.travis.yml index e6100c7f..fea35c4b 100644 --- a/.travis.yml +++ b/.travis....
poliastro__poliastro-212
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "setup.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/poliastro/cli.py:main" ...
poliastro/poliastro
8cbb3018fb97748a6d66cc4d910657afeb31b7fd
Try to compile with MyPy "Mypy is an experimental optional static type checker for Python that aims to combine the benefits of dynamic (or "duck") typing and static typing". A new version is out: http://mypy-lang.blogspot.com.es/2017/05/mypy-0510-released.html The first question is: does this make any sense? The ...
diff --git a/.travis.yml b/.travis.yml index fd235711..769e58c4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,9 @@ branches: - 0.5.x - 0.6.x +env: + - MPLBACKEND="Agg" + matrix: include: - os: osx @@ -34,12 +37,17 @@ before_install: install: - pip install numpy # Required - - pip...
poliastro__poliastro-330
[ { "changes": { "added_entities": [ "src/poliastro/plotting.py:OrbitPlotter._project" ], "added_modules": null, "edited_entities": [ "src/poliastro/plotting.py:OrbitPlotter.plot" ], "edited_modules": [ "src/poliastro/plotting.py:OrbitPlotter" ] ...
poliastro/poliastro
60d463f8043de496eb377e2bfb798560910fb679
"New Horizons launch" example won't run on master <!--- Provide a general summary of the issue in the Title above --> 🐞 **Problem** <!--- Provide a detailed description of the change or addition you are proposing --> <!--- If it is a feature or a bug, what problem is it solving--> [Exploring the new Horizons lau...
diff --git a/src/poliastro/plotting.py b/src/poliastro/plotting.py index 48bc1e9f..ad3af768 100644 --- a/src/poliastro/plotting.py +++ b/src/poliastro/plotting.py @@ -131,6 +131,12 @@ class OrbitPlotter(object): self.ax.add_patch(mpl.patches.Circle((0, 0), radius, lw=0, color=color)) + def _project(self...
poliastro__poliastro-470
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "setup.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/poliastro/plotting.py:O...
poliastro/poliastro
1f12764588adee6fb1bf45c625930be3312fa154
OrbitPlotter.set_frame() plots nothing! <!--- Provide a general summary of the issue in the Title above --> While trying to solve this #316 , I wanted to reproduce the error which raised this. 🐞 **Problem** ``` j = Orbit.from_body_ephem(Jupiter) a = plot_solar_system(outer=False) a.plot(j, color='k') a.set_fram...
diff --git a/setup.cfg b/setup.cfg index 5f7db54f..c7616dab 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,5 +17,5 @@ ignore = E731,W504 max-line-length = 120 [flake8] -ignore = E731,W504 +ignore = E731,W504,F401,F841 max-line-length = 120 diff --git a/setup.py b/setup.py index 4c8e22dd..f5f59150 100644 --- a/setup...
poliastro__poliastro-51
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "poliastro/twobody/propagation.py:_kepler" ], "edited_modules": [ "poliastro/twobody/propagation.py:_kepler" ] }, "file": "poliastro/twobody/propagation.py" } ]
poliastro/poliastro
f81a56b7ab28391b66091bcf002462749d2a8f65
ZeroDivisionError when propagating with time zero Actually if NUMBA_DISABLE_JIT is exported this appears as a maximum number of iterations error. Why does it change is a matter of study, but still the easiest way to fix it is to contemplate the special case of time = 0.0 at the very beginning of the `_kepler` function.
diff --git a/README b/README index f6d8cd9c..f238398c 100644 --- a/README +++ b/README @@ -20,10 +20,6 @@ .. image:: https://ci.appveyor.com/api/projects/status/ajg5j8byv8isslso/branch/master?svg=true :target: https://ci.appveyor.com/project/poliastro/poliastro/branch/master -.. image:: https://badge.waffle.io/p...
poliastro__poliastro-52
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "poliastro/ephem.py:planet_ephem" ], "edited_modules": [ "poliastro/ephem.py:planet_ephem" ] }, "file": "poliastro/ephem.py" } ]
poliastro/poliastro
ee3390ea90914c4be4048717652860b34413d490
Fix velocity units in ephem See discussion at https://github.com/brandon-rhodes/python-jplephem/issues/11
diff --git a/.travis.yml b/.travis.yml index 82f85935..6d65bda5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,7 @@ install: - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION - source activate test-environment - conda install numpy "numba>=0.18" "astropy>=1.0" matplotlib pytest pip c...
poliastro__poliastro-650
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/poliastro/twobody/orbit.py:Orbit.propagate", "src/poliastro/twobody/orbit.py:Orbit.sample" ], "edited_modules": [ "src/poliastro/twobody/orbit.py:Orbit" ] }, ...
poliastro/poliastro
3ac2cfcec9602380651d9f7d1f9bee929cde7b4a
Cannot sample orbits around the Moon Code to reproduce: ``` In [1]: from poliastro.bodies import Moon In [2]: from poliastro.twobody import Orbit ...
diff --git a/.circleci/config.yml b/.circleci/config.yml index f99462f0..b8817ded 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -74,7 +74,7 @@ jobs: python3 -m venv venv . venv/bin/activate pip install --upgrade pip - pip install --editable .[dev] + ...
poliastro__poliastro-658
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/poliastro/twobody/orbit.py:Orbit.propagate" ], "edited_modules": [ "src/poliastro/twobody/orbit.py:Orbit" ] }, "file": "src/poliastro/twobody/orbit.py" } ]
poliastro/poliastro
9264919ae2a37d5e37df72b3a42461e45a9f5535
Cannot propagate orbits around custom bodies Even after fixing the case of sampling #649, orbits around custom bodies still can't be propagated: ``` >>> from poliastro.twobody import Orbit >>> from poliastro.bodies import Moon >>> from astropy import units as u >>> orb = Orbit.from_vectors(Moon, [-17621.48704193...
diff --git a/appveyor.yml b/appveyor.yml index 89251ed7..59642987 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -20,9 +20,6 @@ branches: environment: matrix: - - TOXENV: check - PYTHON: C:\Python36\python.exe - - TOXENV: 'py36' PYTHON: C:\Python36-x64\python.exe diff --git a/src/poliastro/...
poliastro__poliastro-709
[ { "changes": { "added_entities": [ "src/poliastro/core/iod.py:_tof_equation_y" ], "added_modules": [ "src/poliastro/core/iod.py:_tof_equation_y" ], "edited_entities": [ "src/poliastro/core/iod.py:_tof_equation", "src/poliastro/core/iod.py:_compute_T_...
poliastro/poliastro
c9afdc9b5fcbd666f8da3d0c231842a13f72d3bb
Examine solutions in Lambert notebook <!--- Provide a general summary of the issue in the Title above --> 🐞 **Problem** With the current master version, I'm getting solutions in strange locations of the plot: ![png image 1200 x 900 pixels](https://user-images.githubusercontent.com/316517/39049730-00060cda-44a3-...
diff --git a/docs/source/examples/Revisiting Lamberts problem in Python.ipynb b/docs/source/examples/Revisiting Lamberts problem in Python.ipynb index ccb5ba86..36d69c47 100644 --- a/docs/source/examples/Revisiting Lamberts problem in Python.ipynb +++ b/docs/source/examples/Revisiting Lamberts problem in Python.ipynb @...
poliastro__poliastro-804
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/poliastro/frames/fixed.py:_PlanetaryFixed.to_equatorial", "src/poliastro/frames/fixed.py:_PlanetaryFixed.from_equatorial", "src/poliastro/frames/fixed.py:MercuryFixed._rot_elements_a...
poliastro/poliastro
5341717b03f7208717087e4fe0f140b735b67298
Fixed planetary frame transformation error When creating a coordinate in a planetary fixed frame a transformation is not possible due to an error in `frames/fixed.py` 🐞 **Problem** ``` testloc = frames.fixed.MarsFixed(10 * u.deg, 20 * u.deg, distance=bodies.Mars.R, obstime=start_time) testloc.transform_to(fr...
diff --git a/src/poliastro/frames/fixed.py b/src/poliastro/frames/fixed.py index ec62bae5..b632bff5 100644 --- a/src/poliastro/frames/fixed.py +++ b/src/poliastro/frames/fixed.py @@ -1,5 +1,4 @@ -import math - +import numpy as np from astropy import units as u from astropy.coordinates import ( HCRS, @@ -10,7 +9,...
polkascan__py-scale-codec-72
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "scalecodec/base.py:RuntimeConfigurationObject.create_scale_object" ], "edited_modules": [ "scalecodec/base.py:RuntimeConfigurationObject" ] }, "file": "scalecodec/base....
polkascan/py-scale-codec
3b12396e9043cab7900347c25033fd306abdb640
Support for F32 & F64 https://github.com/polkadot-js/api/pull/4958
diff --git a/scalecodec/base.py b/scalecodec/base.py index 63dbe9a..92b2a42 100644 --- a/scalecodec/base.py +++ b/scalecodec/base.py @@ -145,8 +145,16 @@ class RuntimeConfigurationObject: return decoder_class - def create_scale_object(self, type_string: str, data=None, **kwargs) -> 'ScaleType': + def...
polsys__ennemi-104
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "docs/kaisaniemi_casestudy.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edite...
polsys/ennemi
a205f426f5e04172eb29ab551721483632026a97
Add `estimate_corr` and `pairwise_corr` Add shorter aliases for the estimation methods with `normalize=True`.
diff --git a/docs/api-reference.md b/docs/api-reference.md index 769186d..72daffd 100644 --- a/docs/api-reference.md +++ b/docs/api-reference.md @@ -98,6 +98,16 @@ with column names matching `x`. <hr style="margin: 4rem 0;"> +# `estimate_corr` +Equivalent to `estimate_mi` with `normalize=True`; +please refer to th...
posit-dev__posit-sdk-py-103
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/posit/connect/client.py:Client.me" ], "edited_modules": [ "src/posit/connect/client.py:Client" ] }, "file": "src/posit/connect/client.py" }, { "changes": { ...
posit-dev/posit-sdk-py
2aa56fba700b71308432bc7decf30186e564f724
Remove `session` and `url` from the underlying hash table in `Resource`. During `Resource` initialization, the `session` and `url` are stored as items within the underlying hash table. This results in unexpected behavior when a resource list into a pandas DataFrame. Try to modify the usage of `session` and `url` so ...
diff --git a/.github/workflows/conventional-commits.yaml b/.github/workflows/conventional-commits.yaml index f43068f..53f3984 100644 --- a/.github/workflows/conventional-commits.yaml +++ b/.github/workflows/conventional-commits.yaml @@ -23,6 +23,7 @@ jobs: fix perf style + ...
posit-dev__posit-sdk-py-119
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/posit/connect/client.py:Client.me" ], "edited_modules": [ "src/posit/connect/client.py:Client" ] }, "file": "src/posit/connect/client.py" }, { "changes": { ...
posit-dev/posit-sdk-py
541cc61138a66fdca783b1d493b9da56249db5e4
Use the API response to update the local object
diff --git a/src/posit/connect/client.py b/src/posit/connect/client.py index 3983c00..e561074 100644 --- a/src/posit/connect/client.py +++ b/src/posit/connect/client.py @@ -50,7 +50,11 @@ class Client: def me(self) -> User: url = urls.append_path(self.config.url, "v1/user") response = self.sessio...
posit-dev__posit-sdk-py-155
[ { "changes": { "added_entities": [ "src/posit/connect/content.py:Content.create" ], "added_modules": null, "edited_entities": [ "src/posit/connect/content.py:ContentItem.id", "src/posit/connect/content.py:ContentItem.update", "src/posit/connect/content.py:...
posit-dev/posit-sdk-py
7cd3f35facb10840930eda2d44cc7d1752632555
Content.create() https://docs.posit.co/connect/api/#post-/v1/content
diff --git a/src/posit/connect/content.py b/src/posit/connect/content.py index 0516db2..3d7b878 100644 --- a/src/posit/connect/content.py +++ b/src/posit/connect/content.py @@ -17,6 +17,10 @@ from .resources import Resources, Resource class ContentItem(Resource): """A piece of content.""" + @property + de...
posit-dev__posit-sdk-py-160
[ { "changes": { "added_entities": [ "src/posit/connect/content.py:ContentItem.owner", "src/posit/connect/content.py:ContentItem.tags" ], "added_modules": null, "edited_entities": [ "src/posit/connect/content.py:Content.find", "src/posit/connect/content.py:C...
posit-dev/posit-sdk-py
5aacc704f8fd154302316bb4fd42c2895edf4a25
Add `owner` details to the output of `connect.content.find()` for consistency with R `connectapi` package, the output of `connect.content.find()` should include an owner column with details of the content item owner(`owner$guid`, `owner$first_name`, `owner$last_name` and `owner$username`). This would enable any audit...
diff --git a/src/posit/connect/content.py b/src/posit/connect/content.py index da59f8e..435cc3c 100644 --- a/src/posit/connect/content.py +++ b/src/posit/connect/content.py @@ -190,6 +190,10 @@ class ContentItem(Resource): def owner_guid(self) -> str: return self.get("owner_guid") # type: ignore + @...
posit-dev__posit-sdk-py-224
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/posit/connect/content.py:ContentItem.owner" ], "edited_modules": [ "src/posit/connect/content.py:ContentItem" ] }, "file": "src/posit/connect/content.py" } ]
posit-dev/posit-sdk-py
3a3019bdd6c9a9fbc4ddc808fd068e7cd9417e3e
ContentItem.owner Similar to #164 but less complicated because `GET v1/content?include=owner` always includes the owner. If `owner` is not in the item's data, the owner `@property` should `GET v1/users/{owner_guid}`, insert the response into the data, and return it.
diff --git a/integration/Makefile b/integration/Makefile index 9c0eaab..af636a2 100644 --- a/integration/Makefile +++ b/integration/Makefile @@ -138,4 +138,4 @@ help: # on local network. test: mkdir -p logs - CONNECT_VERSION=${CONNECT_VERSION} CONNECT_API_KEY="$(shell rsconnect bootstrap -i -s http://connect:3939 -...
posit-dev__posit-sdk-py-51
[ { "changes": { "added_entities": [ "src/posit/connect/client.py:Client.me" ], "added_modules": null, "edited_entities": [ "src/posit/connect/client.py:Client.__init__", "src/posit/connect/client.py:Client.connect_version" ], "edited_modules": [ ...
posit-dev/posit-sdk-py
26c27300846ba5aeb62404d48b4b2a7d6d710a78
SDK client should fetch the current user info at initialization It would be nice if the SDK populated the client config with some basic info about the current user when it is initialized. Specifically, for the `OAuthIntegrations` endpoint, I would like the current user's guid to be available with something like `sel...
diff --git a/src/posit/connect/client.py b/src/posit/connect/client.py index 0614257..87160f2 100644 --- a/src/posit/connect/client.py +++ b/src/posit/connect/client.py @@ -7,7 +7,7 @@ from . import hooks, urls from .auth import Auth from .config import Config -from .users import Users +from .users import User, Use...
postlund__pyatv-1004
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pyatv/dmap/__init__.py:DmapPushUpdater._poller" ], "edited_modules": [ "pyatv/dmap/__init__.py:DmapPushUpdater" ] }, "file": "pyatv/dmap/__init__.py" } ]
postlund/pyatv
ea1f8168254227a5d3ac5035fa4843570d13cbf7
pyatv implicitly logged out, logging in again By a coincidence I was looking through my logs of home-assistant and saw that the same message was spammed over and over again. I will start by removing the remote from apple tv and add again. I have the second or third gen apple tv. The message is repeated about 12 time...
diff --git a/pyatv/dmap/__init__.py b/pyatv/dmap/__init__.py index dae57750..9a69e633 100644 --- a/pyatv/dmap/__init__.py +++ b/pyatv/dmap/__init__.py @@ -536,6 +536,7 @@ class DmapPushUpdater(PushUpdater): # exceptions to keep the API. except Exception as ex: # pylint: disable=broad-except ...
postlund__pyatv-1033
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pyatv/dmap/__init__.py:BaseDmapAppleTV.artwork", "pyatv/dmap/__init__.py:DmapMetadata.artwork" ], "edited_modules": [ "pyatv/dmap/__init__.py:BaseDmapAppleTV", "pyatv...
postlund/pyatv
5df2295938d56eb679acfec024909d03f78fc69f
Fetching artwork sometime fails with bad error handling **Describe the bug** As reported here: https://github.com/home-assistant/core/issues/44305#issuecomment-756771464 Stack trace: ```python Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/aiohttp/web_...
diff --git a/docs/api/pyatv/interface.html b/docs/api/pyatv/interface.html index f0247954..6cf36c17 100644 --- a/docs/api/pyatv/interface.html +++ b/docs/api/pyatv/interface.html @@ -857,7 +857,9 @@ class Metadata(ABC): @abstractmethod @feature(30, &#34;Artwork&#34;, &#34;Playing media artwork.&#34;) - a...
postlund__pyatv-1095
[ { "changes": { "added_entities": [ "pyatv/support/mdns.py:_first_rd" ], "added_modules": [ "pyatv/support/mdns.py:_first_rd" ], "edited_entities": [ "pyatv/support/mdns.py:parse_services" ], "edited_modules": [ "pyatv/support/mdns.py:pars...
postlund/pyatv
9393b510af9c3fdce92ef5b104f2c461fde168d0
The wrong address is obtained from AirPort Express devices <!-- READ THIS FIRST! Thank you for reporting any bugs you find! Before opening a new issue, please look through already open issues (someone else might have reported it already). Also, take a look in the FAQ and especially the *Known Issues* section at t...
diff --git a/pyatv/support/mdns.py b/pyatv/support/mdns.py index b4213b37..3bd2d96d 100644 --- a/pyatv/support/mdns.py +++ b/pyatv/support/mdns.py @@ -83,9 +83,15 @@ def _get_model(services: typing.List[Service]) -> typing.Optional[str]: return None -def parse_services(message: DnsMessage) -> typing.List[Servi...
postlund__pyatv-1096
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pyatv/conf.py:AppleTV.__init__", "pyatv/conf.py:AppleTV.device_info", "pyatv/conf.py:AppleTV._all_properties" ], "edited_modules": [ "pyatv/conf.py:AppleTV" ] ...
postlund/pyatv
75d31f414741ebc03421d6d85be97a0658990f7f
Add device info support for AirPort Express **Short feature/function description** Currently no device information is extracted for the AirPort Express: ```raw $ atvremote scan Scan Results ======================================== Name: Pierre's AirPort Express Model/SW: Unknown Model Unknown OS ...
diff --git a/docs/api/pyatv/conf.html b/docs/api/pyatv/conf.html index 0d90a1aa..be1d16ff 100644 --- a/docs/api/pyatv/conf.html +++ b/docs/api/pyatv/conf.html @@ -78,7 +78,7 @@ For a configuration to be usable (&#34;ready&#34;) it must have either a `DMAP` configuration (or both), as connecting to plain `AirPlay` devi...
postlund__pyatv-1235
[ { "changes": { "added_entities": [ "pyatv/support/mdns.py:create_service_queries", "pyatv/support/mdns.py:ServiceParser.__init__", "pyatv/support/mdns.py:ServiceParser.add_message", "pyatv/support/mdns.py:ServiceParser.parse" ], "added_modules": [ "pyatv...
postlund/pyatv
4eaadc563537a17dd33652855bf67f6932ce8084
Zeroconf response incomplete due to response not fitting in MTU <!-- READ THIS FIRST! Thank you for reporting any bugs you find! Before opening a new issue, please look through already open issues (someone else might have reported it already). Also, take a look in the FAQ and especially the *Known Issues* section...
diff --git a/pyatv/support/mdns.py b/pyatv/support/mdns.py index 20c662e6..6e37ff8a 100644 --- a/pyatv/support/mdns.py +++ b/pyatv/support/mdns.py @@ -4,6 +4,7 @@ from ipaddress import IPv4Address, ip_address import logging import math import socket +from types import SimpleNamespace import typing import weakref ...
postlund__pyatv-1519
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pyatv/__init__.py:connect" ], "edited_modules": [ "pyatv/__init__.py:connect" ] }, "file": "pyatv/__init__.py" }, { "changes": { "added_entities": [ ...
postlund/pyatv
4b0136bcd66468fbf476330d857101aee68a48e7
Device and power state are not aligned ### Describe the bug Device and power states are managed independently by pyatv. Unfortunately, the power state is a bit unreliable and it sometimes happens that it reports `Off` even though something is playing. One such case is when using the Apple TV as an AirPlay receiver, on...
diff --git a/docs/api/pyatv.html b/docs/api/pyatv.html index 41b9e00f..0802c79a 100644 --- a/docs/api/pyatv.html +++ b/docs/api/pyatv.html @@ -35,7 +35,7 @@ link_group: api </header> <section id="section-intro"> <p>Main routines for interacting with an Apple TV.</p> -<div class="git-link-div"><a href="https://github...
postlund__pyatv-60
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pyatv/convert.py:media_kind" ], "edited_modules": [ "pyatv/convert.py:media_kind" ] }, "file": "pyatv/convert.py" } ]
postlund/pyatv
8937e869c3ce7d86edad5d2c88d2139fe57c3127
Unknown media kind TV show The media kind "TV Show" is not recognized correctly. pyatv.exceptions.UnknownMediaKind: Unknown media kind: 64
diff --git a/pyatv/convert.py b/pyatv/convert.py index 98c7e77e..0843f19b 100644 --- a/pyatv/convert.py +++ b/pyatv/convert.py @@ -7,11 +7,11 @@ def media_kind(kind): """Convert iTunes media kind to API representation.""" if kind in [1]: return const.MEDIA_TYPE_UNKNOWN - elif kind in [3, 7, 11, 12...
postlund__pyatv-920
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pyatv/dmap/__init__.py:DmapPushUpdater.__init__", "pyatv/dmap/__init__.py:DmapPushUpdater.start", "pyatv/dmap/__init__.py:DmapPushUpdater._poller" ], "edited_modules": [ ...
postlund/pyatv
f9f7238a3fb2636e3dd9b1272259bf297b8046b2
Push updates are sent when nothing has changed **Describe the bug** This is a very old "bug" that I have somewhat let slip, but it annoys me too much so it's time to fix it. The gist is that push updates are supposed to be sent whenever something in the playing API changes, e.g. title or media type. But only a small p...
diff --git a/docs/api/pyatv/interface.html b/docs/api/pyatv/interface.html index 1d5bfa04..226387e9 100644 --- a/docs/api/pyatv/interface.html +++ b/docs/api/pyatv/interface.html @@ -155,6 +155,7 @@ link_group: api <h4><code><a title="pyatv.interface.PushUpdater" href="#pyatv.interface.PushUpdater">PushUpdater</a></co...
postlund__pyatv-923
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pyatv/mrp/__init__.py:MrpPower.turn_off" ], "edited_modules": [ "pyatv/mrp/__init__.py:MrpPower" ] }, "file": "pyatv/mrp/__init__.py" } ]
postlund/pyatv
df5614971c295fcc8a82b642b6d53689c4756ac7
Since tvOS 14 turn_off SOMETIMES only open the lateral menu, maybe just timing issue... Since tvOS 14 (I cannot easily know if it was already the case with 14.0.1, or even 14.0.0, but with tvOS 13 this issue never came into light), the turn_off command I send using atvremote sometimes only open the lateral menu, and do...
diff --git a/pyatv/mrp/__init__.py b/pyatv/mrp/__init__.py index e03f8790..26f85ffb 100644 --- a/pyatv/mrp/__init__.py +++ b/pyatv/mrp/__init__.py @@ -110,6 +110,8 @@ _FIELD_FEATURES = { FeatureName.Position: "elapsedTimeTimestamp", } # type: Dict[FeatureName, str] +DELAY_BETWEEN_COMMANDS = 0.1 + def _cocoa...
postlund__pyatv-924
[ { "changes": { "added_entities": [ "pyatv/mrp/player_state.py:Client.handle_set_default_supported_commands", "pyatv/mrp/player_state.py:PlayerStateManager._handle_set_default_supported_commands" ], "added_modules": null, "edited_entities": [ "pyatv/mrp/player_stat...
postlund/pyatv
f0f7eaf64c824d40ba72ef727ffb37ea87979f25
Default supported commands are not handled **Describe the bug** The `SetStateMessage` contains the commands currently supported by a player, e.g. play, skip, etc. But there's another message used to define a default set of supported commands, eliminating the need to include them in `SetStateMessage`: `SetDefaultSuppor...
diff --git a/pyatv/mrp/player_state.py b/pyatv/mrp/player_state.py index ef59805e..d5e626cb 100644 --- a/pyatv/mrp/player_state.py +++ b/pyatv/mrp/player_state.py @@ -3,6 +3,7 @@ import math import logging import weakref +from itertools import chain from copy import deepcopy from typing import Dict, Optional, List...
postlund__pyatv-943
[ { "changes": { "added_entities": [ "pyatv/dmap/__init__.py:build_playing_instance" ], "added_modules": [ "pyatv/dmap/__init__.py:build_playing_instance" ], "edited_entities": [ "pyatv/dmap/__init__.py:BaseDmapAppleTV.__init__", "pyatv/dmap/__init__.p...
postlund/pyatv
2b8fb7413ca6343a40f3925da7c525748505d451
Playing objects returned by playing interface is not immutable for MRP **Describe the bug** A while back I made some changes so that `Playing` objects from `Medata.playing` are immutable. Before that, content would potentially change when new updates were made because the returned object would query the current player...
diff --git a/docs/api/pyatv/interface.html b/docs/api/pyatv/interface.html index 226387e9..2e44eaf1 100644 --- a/docs/api/pyatv/interface.html +++ b/docs/api/pyatv/interface.html @@ -635,8 +635,36 @@ class Playing(ABC): &#34;position&#34;, &#34;shuffle&#34;, &#34;repeat&#34;, + &#34;ha...
potassco__clorm-131
[ { "changes": { "added_entities": [ "clorm/orm/_typing.py:resolve_annotations" ], "added_modules": [ "clorm/orm/_typing.py:resolve_annotations" ], "edited_entities": null, "edited_modules": null }, "file": "clorm/orm/_typing.py" }, { "changes": ...
potassco/clorm
3b3d795e36a6924a77fd5a4d73b71f102cc3e648
Dealing with postponed evaluation of annotations Postponed evaluation of annotations is documented in PEP 563 https://peps.python.org/pep-0563/ Postponed evaluation of annotations can be enabled with `from __future__ import annotations` and will become mandatory in some future version of Python. The basic idea is...
diff --git a/clorm/orm/_typing.py b/clorm/orm/_typing.py index f896f8a..473272a 100644 --- a/clorm/orm/_typing.py +++ b/clorm/orm/_typing.py @@ -1,5 +1,5 @@ import sys -from typing import Any, Optional, Tuple, Type, TypeVar, Union, cast +from typing import Any, Dict, ForwardRef, Optional, Tuple, Type, TypeVar, Union, ...
pozytywnie__webapp-health-monitor-12
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "webapp_health_monitor/verificators/base.py:Verificator.__init__", "webapp_health_monitor/verificators/base.py:RangeVerificator._check_value" ], "edited_modules": [ "webapp_he...
pozytywnie/webapp-health-monitor
64bb87f0c5c8ec9863b7daf1fdd3f7ff6532738f
Use standard python logging method Simplify logging by using only build-in logging. Remove forwarding of custom logger class.
diff --git a/webapp_health_monitor/verificators/base.py b/webapp_health_monitor/verificators/base.py index 0f4b6af..668536a 100644 --- a/webapp_health_monitor/verificators/base.py +++ b/webapp_health_monitor/verificators/base.py @@ -4,8 +4,8 @@ from webapp_health_monitor import errors class Verificator(object): v...
ppizarror__pygame-menu-247
[ { "changes": { "added_entities": [ "pygame_menu/events.py:is_event" ], "added_modules": [ "pygame_menu/events.py:is_event" ], "edited_entities": null, "edited_modules": null }, "file": "pygame_menu/events.py" }, { "changes": { "added_enti...
ppizarror/pygame-menu
0425b9f9b5688ff26ce05d4734f1d42c191c1a5d
widget_background_color apply twice With the latest version 3.4.3 `widget_background_color` seems to cover both around the text and around the border which cause a layered effect. See this: ![Capture d’écran (160)](https://user-images.githubusercontent.com/16426148/103669503-b2d67100-4f78-11eb-8a75-115ca9686900.png...
diff --git a/pygame_menu/baseimage.py b/pygame_menu/baseimage.py index 241c1ed8..c90a63d2 100644 --- a/pygame_menu/baseimage.py +++ b/pygame_menu/baseimage.py @@ -208,7 +208,8 @@ class BaseImage(object): """ Apply a function to each pixel of the image. The function will receive the red, green, blue an...
ppizarror__pygame-menu-262
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pygame_menu/baseimage.py:BaseImage.__init__" ], "edited_modules": [ "pygame_menu/baseimage.py:BaseImage" ] }, "file": "pygame_menu/baseimage.py" }, { "changes":...
ppizarror/pygame-menu
981ca3c166f6bc881b04ea86eb926741554fefb6
Allow Path object as image_path for BaseImage class **Is your feature request related to a problem? Please describe.** I like working with pathlib, but BaseImage only accepts a string as image_path, so I always have to put `as_posix` behind my image paths. **Describe the solution you'd like** Allow `image_path` to...
diff --git a/docs/_source/migration_guide_3_to_4.rst b/docs/_source/migration_guide_3_to_4.rst index 1252973c..48dbef3d 100644 --- a/docs/_source/migration_guide_3_to_4.rst +++ b/docs/_source/migration_guide_3_to_4.rst @@ -8,4 +8,6 @@ Migration Guide - v3 to v4 - Menu Column/Row positioning has changed, now ``column_m...
ppizarror__pygame-menu-300
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "pygame_menu/__init__.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pygame_menu/...
ppizarror/pygame-menu
43ae2ea4c8b969520cb51102988cd5f35f972296
I can't input Latin Extended characters Hello, I have this code: `nick = menu.add_text_input('Name: ', default='John')` In the game menu, it is impossible to input from keyboard characters like: > ą, ę, ś, ć, ż, ź, ó, ł, ń Is it possible to fix by adding some code or is it not supported by pygame-menu?
diff --git a/docs/_source/themes.rst b/docs/_source/themes.rst index f5658ee3..f922bc4f 100644 --- a/docs/_source/themes.rst +++ b/docs/_source/themes.rst @@ -69,7 +69,7 @@ Background Color/Images ----------------------- Theme background can be both a color or an image. All colors can be defined -using a tuple or a...
ppizarror__pygame-menu-301
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "pygame_menu/__init__.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_mod...
ppizarror/pygame-menu
8fa5dd1b670b89db5302cc9170f0b657615dc0c2
I can't input Latin Extended characters Hello, I have this code: `nick = menu.add_text_input('Name: ', default='John')` In the game menu, it is impossible to input from keyboard characters like: > ą, ę, ś, ć, ż, ź, ó, ł, ń Is it possible to fix by adding some code or is it not supported by pygame-menu?
diff --git a/docs/_source/themes.rst b/docs/_source/themes.rst index 3cb80b04..0a147d3d 100644 --- a/docs/_source/themes.rst +++ b/docs/_source/themes.rst @@ -70,7 +70,7 @@ Background Color/Images ----------------------- Theme background can be both a color or an image. All colors can be defined -using a tuple or a...
ppizarror__pygame-menu-324
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pygame_menu/_widgetmanager.py:WidgetManager._filter_widget_attributes" ], "edited_modules": [ "pygame_menu/_widgetmanager.py:WidgetManager" ] }, "file": "pygame_menu/_w...
ppizarror/pygame-menu
867ed8afdf60f787ea8b0dc22d8b55bb5f636175
Copy theme and modify attributes **Environment information** Describe your environment information, such as: - SO: OSX - python version: v3.7.7 - pygame version: v2.0.1 - pygame-menu version: v4.0.2 **Describe the bug** Creating theme by copy, then modifying `selection_color` is not taken into account. **To...
diff --git a/pygame_menu/_widgetmanager.py b/pygame_menu/_widgetmanager.py index 28af48e8..c962106b 100644 --- a/pygame_menu/_widgetmanager.py +++ b/pygame_menu/_widgetmanager.py @@ -235,6 +235,8 @@ class WidgetManager(Base): else: selection_effect = selection_effect.copy() assert isinsta...
ppizarror__pygame-menu-334
[ { "changes": { "added_entities": [ "pygame_menu/utils.py:get_cursor" ], "added_modules": [ "pygame_menu/utils.py:get_cursor" ], "edited_entities": null, "edited_modules": null }, "file": "pygame_menu/utils.py" }, { "changes": { "added_ent...
ppizarror/pygame-menu
9d231a56310b936c47f85bb80e2f331e8d85a137
get_cursor() removed from SDL2 **Environment information** - OS: Ubuntu 20.04 - python version: v3.7 - pygame version: v2.0.0 - pygame-menu version: v4.0.4 **Bug description** In SDL2, the `pygame.mouse.get_cursor()` function has been removed, see https://www.pygame.org/docs/ref/mouse.html#pygame.mouse.get_cu...
diff --git a/.gitignore b/.gitignore index a58858dd..71921c80 100644 --- a/.gitignore +++ b/.gitignore @@ -32,4 +32,7 @@ pyproject_update.py pyproject.toml # Lock file -*.lock \ No newline at end of file +*.lock + +# MacOS files +.DS_Store \ No newline at end of file diff --git a/pygame_menu/utils.py b/pygame_menu/...
ppizarror__pygame-menu-341
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pygame_menu/sound.py:Sound.__init__", "pygame_menu/sound.py:Sound.set_sound" ], "edited_modules": [ "pygame_menu/sound.py:Sound" ] }, "file": "pygame_menu/sound...
ppizarror/pygame-menu
4c909826d03632bdc661988496620f469b32555f
dropselect doesn't update index correctly **Environment information** Describe your environment information, such as: - SO: linux - python version: v3.8 - pygame version: v2.0.1 - pygame-menu version: v4.0.6 **Describe the bug** Updating a `dropselect` item list with fewer elements might raise an exception whe...
diff --git a/codecov.yml b/codecov.yml index 517b8883..a444c199 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,3 +1,4 @@ ignore: + - "docs/*.py" - "pygame_menu/__pyinstaller/*py" - "test/*.py" \ No newline at end of file diff --git a/pygame_menu/sound.py b/pygame_menu/sound.py index 23dfc2e8..dc8d845f 100644 ...