Skip to content

Commit 9284a5f

Browse files
fix async search example in docs
* also fix orders link
1 parent 0a14934 commit 9284a5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/get-started/upgrading.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ async def do_search():
6262
date_filter = filters.date_range_filter('acquired', gte=datetime.fromisoformat("2022-11-18"), lte=datetime.fromisoformat("2022-11-21"))
6363
cloud_filter = filters.range_filter('cloud_cover', lte=0.1)
6464
download_filter = filters.permission_filter()
65-
return [item async for item in client.search(["PSScene"], filters.and_filter([date_filter, cloud_filter, download_filter]))]
65+
return [item async for item in client.search(["PSScene"], filters.and_filter([date_filter, cloud_filter, download_filter]))]
6666

6767
items = asyncio.run(do_search())
6868
```
@@ -94,4 +94,4 @@ async with Session() as session:
9494

9595
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`.)
9696

97-
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).
97+
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).

0 commit comments

Comments
 (0)