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.
Component | Replacement |
---|---|
Asset class | Removed in favor of data management functionality |
Asset sorting class | Removed in favor of data management functionality |
asset_id property | Removed in favor of data management functionality |
stac_items property | get_items method |
stac_info property | Removed in favor of data management functionality |
file property | Removed in favor of data management functionality |
get method | Removed in favor of data management functionality |
all method | Removed in favor of data management functionality |
update_metadata method | update method |
get_stac_asset_url method | file.url property |
download method | file.download method |
download_stac_asset method | file.download method |
Component | Replacement |
---|---|
get_credits_balance method | Check your credit balance on the console |
Component | Replacement |
---|---|
CatalogBase class | Removed in favor of glossary, order, and order template functionality |
get_data_product_schema method | schema property |
estimate_order method | Estimate class |
place_order method | place method |
Catalog class | Removed in favor of glossary, order, and order template functionality |
construct_search_parameters method | search method |
search method | search method |
construct_order_parameters method | BatchOrderTemplate class |
download_quicklooks method | Scene class’s quicklook attribute + download method |
Component | Replacement |
---|---|
initialize_asset | Removed in favor of data management functionality |
initialize_catalog | Removed in favor of glossary, order, and order template functionality |
initialize_order | Removed in favor of order and order template functionality |
initialize_storage | Removed in favor of data management functionality |
initialize_tasking | Removed in favor of glossary, order, and order template functionality |
Component | Replacement |
---|---|
order_details property | Order class’s details attribute |
order_id property | Order class’s id attribute |
get_assets method | search method |
track_status method | track method |
Component | Replacement |
---|---|
AllowedStatuses class | Removed in favor of data management functionality |
Storage class | Removed in favor of data management functionality |
get_assets method | search method |
get_orders method | all method |
Component | Replacement |
---|---|
Tasking class | Removed in favor of glossary, order, and order template functionality |
get_data_product_schema method | schema property |
estimate_order method | Estimate class |
place_order method | place method |
construct_order_parameters method | BatchOrderTemplate class |
get_quotations method | all method |
decide_quotation method | accept/reject + save methods |
get_feasibility method | all method |
choose_feasibility method | accept + save methods |
Component | Replacement |
---|---|
Webhook class | |
save method | |
get method | |
trigger_test_events method | |
delete method | |
get_webhook_events method | |
all method |