Migration guide

Migrate your project between SDK versions.

Overview

UP42’s Python SDK versions are deprecated according to the release schedule and succeeded by newer versions. Use this guide to find alternatives for removed methods and properties.

Core functions

ComponentReplacement
Minimum Python version

3.10 → 3.11

Processing

ComponentReplacement
JobStatus class

CAPTURED status removed in favor of SUCCESSFUL and RELEASED

Archive

Assets

ComponentReplacement
Asset class

Not supported inline-icon-large

Removed in favor of data management functionality

AssetSorting class

Not supported inline-icon-large

Removed in favor of data management functionality

asset_id property

Not supported inline-icon-large

Removed in favor of data management functionality

stac_items propertyget_items method
stac_info property

Not supported inline-icon-large

Removed in favor of data management functionality

file property

Not supported inline-icon-large

Removed in favor of data management functionality

get method

Not supported inline-icon-large

Removed in favor of data management functionality

all method

Not supported inline-icon-large

Removed in favor of data management functionality

update_metadata methodupdate method
get_stac_asset_url methodfile.url property
download methodfile.download method
download_stac_asset methodfile.download method

Base functions

ComponentReplacement
get_credits_balance method

Not supported inline-icon-large

Check your credit balance on the console

Catalog

ComponentReplacement
CatalogBase class

Not supported inline-icon-large

Removed in favor of glossary, order, and order template functionality

get_data_product_schema methodschema property
estimate_order methodEstimate class
place_order methodplace method
Catalog class

Not supported inline-icon-large

Removed in favor of glossary, order, and order template functionality

construct_search_parameters methodsearch method
search methodsearch method
construct_order_parameters methodBatchOrderTemplate class
download_quicklooks methodScene class’s quicklook attribute + download method

Initialization

ComponentReplacement
initialize_asset

Not supported inline-icon-large

Removed in favor of data management functionality

initialize_catalog

Not supported inline-icon-large

Removed in favor of glossary, order, and order template functionality

initialize_order

Not supported inline-icon-large

Removed in favor of order and order template functionality

initialize_storage

Not supported inline-icon-large

Removed in favor of data management functionality

initialize_tasking

Not supported inline-icon-large

Removed in favor of glossary, order, and order template functionality

Orders

ComponentReplacement
order_details propertyOrder class’s details attribute
order_id propertyOrder class’s id attribute
get_assets methodsearch method
track_status methodtrack method

Processing templates

ComponentReplacement
DetectionChangeSpacept classDetectionChangeSimularity class
DetectionChangePleiadesHyperverge classDetectionChangeSimularity class
DetectionChangeSPOTHyperverge classDetectionChangeSimularity class

Storage

ComponentReplacement
Storage class

Not supported inline-icon-large

Removed in favor of data management functionality

get_assets methodsearch method
get_orders methodall method

Tasking

ComponentReplacement
Tasking classRemoved in favor of glossary, order, and order template functionality
get_data_product_schema methodschema property
estimate_order methodEstimate class
place_order methodplace method
construct_order_parameters methodBatchOrderTemplate class
get_quotations methodall method
decide_quotation methodaccept/reject + save methods
get_feasibility methodall method
choose_feasibility methodaccept + save methods

Tools

ComponentReplacement
Tools classNot supported inline-icon-large
read_vector_file methodRemoved in favor of defining your geometry directly as a Python dict or using libraries like geojson or geopandas
get_example_aoi methodNot supported inline-icon-large
settings methodNot supported inline-icon-large

Webhooks

ComponentReplacement
Webhook classNot supported inline-icon-large
save methodNot supported inline-icon-large
get methodNot supported inline-icon-large
trigger_test_events methodNot supported inline-icon-large
delete methodNot supported inline-icon-large
get_webhook_events methodNot supported inline-icon-large
all methodNot supported inline-icon-large