Skip to content

Commit

Permalink
Merge branch 'main' into carl/oauth-via-plauth-lib
Browse files Browse the repository at this point in the history
  • Loading branch information
carl-adams-planet committed Oct 5, 2024
2 parents 7868a0f + 32f826d commit f5844d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/get-started/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async def do_search():
date_filter = filters.date_range_filter('acquired', gte=datetime.fromisoformat("2022-11-18"), lte=datetime.fromisoformat("2022-11-21"))
cloud_filter = filters.range_filter('cloud_cover', lte=0.1)
download_filter = filters.permission_filter()
return [item async for item in client.search(["PSScene"], filters.and_filter([date_filter, cloud_filter, download_filter]))]
return [item async for item in client.search(["PSScene"], filters.and_filter([date_filter, cloud_filter, download_filter]))]

items = asyncio.run(do_search())
```
Expand Down Expand Up @@ -94,4 +94,4 @@ async with Session() as session:

The Orders API capabilities in V1 were quite primitive, but those that did exist have been retained in much the same form; `ClientV1().create_order` becomes `OrdersClient(session).create_order`. (As with the `DataClient`, you must also use `async` and `Session` with `OrdersClient`.)

Additionally, there is now also an order builder in `planet.order_request`, similar to the preexisting search filter builder. For more details on this, refer to the [Creating an Order](../../python/sdk-guide/#creating-an-order).
Additionally, there is now also an order builder in `planet.order_request`, similar to the preexisting search filter builder. For more details on this, refer to the [Creating an Order](../../python/sdk-guide/#create-an-order).
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
'mkdocs==1.3',
'mkdocs-click==0.7.0',
'mkdocs-material==8.2.11',
'mkdocstrings==0.18.1'
'mkdocstrings==0.18.1',
'mkdocs_autorefs==1.0.1',
]

dev_requires = [
Expand Down

0 comments on commit f5844d1

Please sign in to comment.