Migration guide

Migrate your project between SDK versions.


Overview

UP42’s Python SDK version 2 is deprecated and will be replaced by version 3 according to the release schedule. Use this guide to find replacements for deprecated methods and properties.

Assets

ComponentReplacement
Asset class

Not supported inline-icon-large

Removed in favor of data management functionality

Asset sorting 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

Storage

ComponentReplacement
AllowedStatuses class

Not supported inline-icon-large

Removed in favor of data management functionality

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

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

Last updated: