Version 4.0.0 - Orders API Rework and Tasking Updates
This release brings the Arlula Python SDK in line with the Arlula API version 2024-07. It has numerous breaking changes, mainly relating to the new and thus has a new major version.
Additions:
- New
Dataset,OrderandCampaignclasses. - New
PriorityandCloudLevelclasses. - New
ListResponseandListRequesthelper classes. - New tests for Orders API.
- New TaskingSearchFailure class and types.
- New methods on
OrdersAPI:list_orderslists all orders the authenticated API account has access to.list_datasetslists all datasets the authenticated API account has access to.list_campaignslists all campaigns the authenticated API account has access to.list_order_campaignslists all campaigns the associated with the specified order.list_order_datasetslists all datasets the associated with the specified order.list_campaign_datasetslists all datasets the associated with the specified campaign.get_ordergets details of specified order.get_campaigngets details of specified campaign.get_datasetgets details of specified dataset.get_resourcegets details of specified resource.
Breaking changes:
- Removal of old
OrderResultandDetailedOrderclasses in favour of the newOrderclass- Update return type of
TaskingAPI.batch_orderandArchiveAPI.batch_orderfrom[]OrderResulttoOrder - Update return type of
TaskingAPI.orderandArchiveAPI.orderfromOrderResulttoOrder
- Update return type of
- Removal of old
OrdersAPI.getandOrdersAPI.listendpoints in favour ofOrdersAPI.get_orderandOrdersAPI.list_orders - Addition of required
priorityandcloudfields toTaskingOrderRequest. - Rename functions on
OrdersAPI:download_order->download_datasetget_resource_as_file->download_resource_as_fileget_resource_as_memory->download_resource_as_memory
- Updates
TaskingSearchResult.polygonstoTaskingSearchResult.polygon(now only returns a polygon rather than a multipolygon)
Other:
- Moves many non-sensitive environment variables used in actions from secrets to environment variables.
- Bumps dependency
requeststo2.32.3.