mixpeek 0.18.13__tar.gz → 0.18.14__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mixpeek-0.18.13 → mixpeek-0.18.14}/PKG-INFO +32 -1
- {mixpeek-0.18.13 → mixpeek-0.18.14}/README-PYPI.md +31 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/pyproject.toml +1 -1
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/_version.py +3 -3
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/assets.py +182 -98
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/collections.py +130 -70
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/featureextractors.py +26 -14
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/features.py +130 -70
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/ingestassets.py +78 -42
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/namespaces.py +182 -98
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/organizations.py +130 -70
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/tasks.py +78 -42
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/taxonomies.py +78 -42
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/taxonomyentities.py +182 -98
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/users.py +78 -42
- {mixpeek-0.18.13 → mixpeek-0.18.14}/py.typed +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/__init__.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/_hooks/__init__.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/_hooks/registration.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/_hooks/sdkhooks.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/_hooks/types.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/basesdk.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/health.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/httpclient.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/__init__.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/actionusage.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/apierror.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/apikey.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/apikeyupdate.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/assetfeatures.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/assetresponse.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/assets_model_searchquery.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/assetupdate.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/assignmentconfig.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/assignmentmode.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/availablemodels.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/availablemodelsresponse.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/boolindexparams.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/classificationmatch.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/classificationwithfeature.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/classify_features_v1_entities_taxonomies_taxonomy_classify_postop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/collectionmodel.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/collectionresult.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/create_api_key_v1_organizations_users_user_email_api_keys_postop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/create_collection_v1_collections_postop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/create_taxonomy_v1_entities_taxonomies_postop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/createcollectionrequest.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/createnamespacerequest.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/datetimeindexparams.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/dateusage.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/db_model_paginationresponse.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/delete_api_key_v1_organizations_users_user_email_api_keys_key_name_deleteop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/delete_asset_v1_assets_asset_id_deleteop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/delete_classifications_v1_entities_taxonomies_taxonomy_classifications_classification_id_deleteop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/delete_collection_v1_collections_collection_deleteop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/delete_feature_v1_features_feature_id_deleteop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/delete_namespace_v1_namespaces_namespace_deleteop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/delete_taxonomy_v1_entities_taxonomies_taxonomy_deleteop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/delete_user_v1_organizations_users_user_email_deleteop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/denseembedding.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/discoverrequest.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/embeddingconfig.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/embeddingrequest.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/embeddingresponse.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/entitysettings.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/errordetail.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/errorresponse.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/featureextractionembeddingrequest.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/featureoptions.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/featureresponse.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/features_model_paginationresponse.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/featureupdaterequest.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/filtercondition.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/floatindexparams.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/full_asset_update_v1_assets_asset_id_putop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/full_feature_update_v1_features_feature_id_putop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/genericsuccessresponse.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/geoindexparams.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/get_asset_v1_assets_asset_id_getop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/get_asset_with_features_v1_assets_asset_id_features_getop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/get_collection_v1_collections_collection_getop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/get_feature_v1_features_feature_id_getop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/get_namespace_v1_namespaces_namespace_getop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/get_task_v1_tasks_task_id_getop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/get_taxonomy_node_v1_entities_taxonomies_nodes_node_getop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/get_taxonomy_v1_entities_taxonomies_taxonomy_getop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/get_user_v1_organizations_users_user_email_getop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/groupbyoptions.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/groupbyoptionsasset.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/groupedassetdata.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/healthcheckresponse.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/httpvalidationerror.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/imagedescribesettings.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/imagedetectsettings.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/imagereadsettings.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/imagesettings.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/ingest_image_url_v1_ingest_images_url_postop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/ingest_text_v1_ingest_text_postop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/ingest_video_url_v1_ingest_videos_url_postop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/inputtype.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/integerindexparams.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/internal/__init__.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/internal/globals.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/jsonimageoutputsettings.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/jsontextoutputsettings.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/jsonvideooutputsettings.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/keywordindexparams.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/kill_task_v1_tasks_task_id_deleteop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/list_active_tasks_v1_tasks_getop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/list_assets_v1_assets_postop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/list_classifications_v1_entities_taxonomies_taxonomy_classifications_postop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/list_collections_v1_collections_getop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/list_features_v1_features_postop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/list_taxonomies_v1_entities_taxonomies_getop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/listassetsrequest.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/listassetsresponse.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/listclassificationsrequest.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/listclassificationsresponse.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/listcollectionsresponse.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/listfeaturesrequest.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/listfeaturesresponse.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/listtasksresponse.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/listtaxonomiesresponse.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/logicaloperator.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/logodetectsettings.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/modality.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/modeldetails.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/namespaceresponse.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/nodeoptions.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/nodeupdate.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/organizationmodel.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/partial_asset_update_v1_assets_asset_id_patchop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/patch_namespace_v1_namespaces_namespace_patchop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/payloadindexconfig.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/payloadindextype.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/payloadschematype.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/permission.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/processimageurlinput.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/processtextinput.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/processvideourlinput.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/querysettings.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/rerankingoptions.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/search_assets_v1_assets_search_postop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/search_features_v1_features_search_postop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/search_model_searchquery.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/searchassetsrequest.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/searchrequestfeatures.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/security.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/sortoption.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/sparseembedding.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/taskresponse.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/taskstatus.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/taxonomycreate.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/taxonomyextractionconfig.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/taxonomymodel.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/taxonomynode.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/taxonomynodecreate.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/taxonomyupdate.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/textindexparams.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/textsettings.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/tokenizertype.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/update_api_key_v1_organizations_users_user_email_api_keys_key_name_patchop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/update_collection_v1_collections_collection_putop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/update_namespace_v1_namespaces_namespace_putop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/update_node_v1_entities_taxonomies_nodes_node_patchop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/update_taxonomy_v1_entities_taxonomies_taxonomy_patchop.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/updateassetrequest.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/updatenamespacerequest.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/usage.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/usermodel_input.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/usermodel_output.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/uuidindexparams.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/validationerror.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/vectormodel.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/vectortype.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/videodescribesettings.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/videodetectsettings.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/videoreadsettings.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/videosettings.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/models/videotranscriptionsettings.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/py.typed +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/sdk.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/sdkconfiguration.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/types/__init__.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/types/basemodel.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/utils/__init__.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/utils/annotations.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/utils/enums.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/utils/eventstreaming.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/utils/forms.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/utils/headers.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/utils/logger.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/utils/metadata.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/utils/queryparams.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/utils/requestbodies.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/utils/retries.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/utils/security.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/utils/serializers.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/utils/url.py +0 -0
- {mixpeek-0.18.13 → mixpeek-0.18.14}/src/mixpeek/utils/values.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: mixpeek
|
3
|
-
Version: 0.18.
|
3
|
+
Version: 0.18.14
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy.
|
5
5
|
Author: Speakeasy
|
6
6
|
Requires-Python: >=3.9
|
@@ -78,6 +78,37 @@ pip install mixpeek
|
|
78
78
|
```bash
|
79
79
|
poetry add mixpeek
|
80
80
|
```
|
81
|
+
|
82
|
+
### Shell and script usage with `uv`
|
83
|
+
|
84
|
+
You can use this SDK in a Python shell with [uv](https://docs.astral.sh/uv/) and the `uvx` command that comes with it like so:
|
85
|
+
|
86
|
+
```shell
|
87
|
+
uvx --from mixpeek python
|
88
|
+
```
|
89
|
+
|
90
|
+
It's also possible to write a standalone Python script without needing to set up a whole project like so:
|
91
|
+
|
92
|
+
```python
|
93
|
+
#!/usr/bin/env -S uv run --script
|
94
|
+
# /// script
|
95
|
+
# requires-python = ">=3.9"
|
96
|
+
# dependencies = [
|
97
|
+
# "mixpeek",
|
98
|
+
# ]
|
99
|
+
# ///
|
100
|
+
|
101
|
+
from mixpeek import Mixpeek
|
102
|
+
|
103
|
+
sdk = Mixpeek(
|
104
|
+
# SDK arguments
|
105
|
+
)
|
106
|
+
|
107
|
+
# Rest of script here...
|
108
|
+
```
|
109
|
+
|
110
|
+
Once that is saved to a file, you can run it with `uv run script.py` where
|
111
|
+
`script.py` can be replaced with the actual file name.
|
81
112
|
<!-- End SDK Installation [installation] -->
|
82
113
|
|
83
114
|
<!-- Start IDE Support [idesupport] -->
|
@@ -58,6 +58,37 @@ pip install mixpeek
|
|
58
58
|
```bash
|
59
59
|
poetry add mixpeek
|
60
60
|
```
|
61
|
+
|
62
|
+
### Shell and script usage with `uv`
|
63
|
+
|
64
|
+
You can use this SDK in a Python shell with [uv](https://docs.astral.sh/uv/) and the `uvx` command that comes with it like so:
|
65
|
+
|
66
|
+
```shell
|
67
|
+
uvx --from mixpeek python
|
68
|
+
```
|
69
|
+
|
70
|
+
It's also possible to write a standalone Python script without needing to set up a whole project like so:
|
71
|
+
|
72
|
+
```python
|
73
|
+
#!/usr/bin/env -S uv run --script
|
74
|
+
# /// script
|
75
|
+
# requires-python = ">=3.9"
|
76
|
+
# dependencies = [
|
77
|
+
# "mixpeek",
|
78
|
+
# ]
|
79
|
+
# ///
|
80
|
+
|
81
|
+
from mixpeek import Mixpeek
|
82
|
+
|
83
|
+
sdk = Mixpeek(
|
84
|
+
# SDK arguments
|
85
|
+
)
|
86
|
+
|
87
|
+
# Rest of script here...
|
88
|
+
```
|
89
|
+
|
90
|
+
Once that is saved to a file, you can run it with `uv run script.py` where
|
91
|
+
`script.py` can be replaced with the actual file name.
|
61
92
|
<!-- End SDK Installation [installation] -->
|
62
93
|
|
63
94
|
<!-- Start IDE Support [idesupport] -->
|
@@ -3,10 +3,10 @@
|
|
3
3
|
import importlib.metadata
|
4
4
|
|
5
5
|
__title__: str = "mixpeek"
|
6
|
-
__version__: str = "0.18.
|
6
|
+
__version__: str = "0.18.14"
|
7
7
|
__openapi_doc_version__: str = "0.81"
|
8
|
-
__gen_version__: str = "2.
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.18.
|
8
|
+
__gen_version__: str = "2.500.5"
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.18.14 2.500.5 0.81 mixpeek"
|
10
10
|
|
11
11
|
try:
|
12
12
|
if __package__ is not None:
|
@@ -83,20 +83,26 @@ class Assets(BaseSDK):
|
|
83
83
|
retry_config=retry_config,
|
84
84
|
)
|
85
85
|
|
86
|
-
|
86
|
+
response_data: Any = None
|
87
87
|
if utils.match_response(http_res, "200", "application/json"):
|
88
88
|
return utils.unmarshal_json(http_res.text, models.AssetResponse)
|
89
89
|
if utils.match_response(
|
90
90
|
http_res, ["400", "401", "403", "404"], "application/json"
|
91
91
|
):
|
92
|
-
|
93
|
-
|
92
|
+
response_data = utils.unmarshal_json(
|
93
|
+
http_res.text, models.ErrorResponseData
|
94
|
+
)
|
95
|
+
raise models.ErrorResponse(data=response_data)
|
94
96
|
if utils.match_response(http_res, "422", "application/json"):
|
95
|
-
|
96
|
-
|
97
|
+
response_data = utils.unmarshal_json(
|
98
|
+
http_res.text, models.HTTPValidationErrorData
|
99
|
+
)
|
100
|
+
raise models.HTTPValidationError(data=response_data)
|
97
101
|
if utils.match_response(http_res, "500", "application/json"):
|
98
|
-
|
99
|
-
|
102
|
+
response_data = utils.unmarshal_json(
|
103
|
+
http_res.text, models.ErrorResponseData
|
104
|
+
)
|
105
|
+
raise models.ErrorResponse(data=response_data)
|
100
106
|
if utils.match_response(http_res, "4XX", "*"):
|
101
107
|
http_res_text = utils.stream_to_text(http_res)
|
102
108
|
raise models.APIError(
|
@@ -191,20 +197,26 @@ class Assets(BaseSDK):
|
|
191
197
|
retry_config=retry_config,
|
192
198
|
)
|
193
199
|
|
194
|
-
|
200
|
+
response_data: Any = None
|
195
201
|
if utils.match_response(http_res, "200", "application/json"):
|
196
202
|
return utils.unmarshal_json(http_res.text, models.AssetResponse)
|
197
203
|
if utils.match_response(
|
198
204
|
http_res, ["400", "401", "403", "404"], "application/json"
|
199
205
|
):
|
200
|
-
|
201
|
-
|
206
|
+
response_data = utils.unmarshal_json(
|
207
|
+
http_res.text, models.ErrorResponseData
|
208
|
+
)
|
209
|
+
raise models.ErrorResponse(data=response_data)
|
202
210
|
if utils.match_response(http_res, "422", "application/json"):
|
203
|
-
|
204
|
-
|
211
|
+
response_data = utils.unmarshal_json(
|
212
|
+
http_res.text, models.HTTPValidationErrorData
|
213
|
+
)
|
214
|
+
raise models.HTTPValidationError(data=response_data)
|
205
215
|
if utils.match_response(http_res, "500", "application/json"):
|
206
|
-
|
207
|
-
|
216
|
+
response_data = utils.unmarshal_json(
|
217
|
+
http_res.text, models.ErrorResponseData
|
218
|
+
)
|
219
|
+
raise models.ErrorResponse(data=response_data)
|
208
220
|
if utils.match_response(http_res, "4XX", "*"):
|
209
221
|
http_res_text = await utils.stream_to_text_async(http_res)
|
210
222
|
raise models.APIError(
|
@@ -297,20 +309,26 @@ class Assets(BaseSDK):
|
|
297
309
|
retry_config=retry_config,
|
298
310
|
)
|
299
311
|
|
300
|
-
|
312
|
+
response_data: Any = None
|
301
313
|
if utils.match_response(http_res, "200", "application/json"):
|
302
314
|
return utils.unmarshal_json(http_res.text, models.GenericSuccessResponse)
|
303
315
|
if utils.match_response(
|
304
316
|
http_res, ["400", "401", "403", "404"], "application/json"
|
305
317
|
):
|
306
|
-
|
307
|
-
|
318
|
+
response_data = utils.unmarshal_json(
|
319
|
+
http_res.text, models.ErrorResponseData
|
320
|
+
)
|
321
|
+
raise models.ErrorResponse(data=response_data)
|
308
322
|
if utils.match_response(http_res, "422", "application/json"):
|
309
|
-
|
310
|
-
|
323
|
+
response_data = utils.unmarshal_json(
|
324
|
+
http_res.text, models.HTTPValidationErrorData
|
325
|
+
)
|
326
|
+
raise models.HTTPValidationError(data=response_data)
|
311
327
|
if utils.match_response(http_res, "500", "application/json"):
|
312
|
-
|
313
|
-
|
328
|
+
response_data = utils.unmarshal_json(
|
329
|
+
http_res.text, models.ErrorResponseData
|
330
|
+
)
|
331
|
+
raise models.ErrorResponse(data=response_data)
|
314
332
|
if utils.match_response(http_res, "4XX", "*"):
|
315
333
|
http_res_text = utils.stream_to_text(http_res)
|
316
334
|
raise models.APIError(
|
@@ -403,20 +421,26 @@ class Assets(BaseSDK):
|
|
403
421
|
retry_config=retry_config,
|
404
422
|
)
|
405
423
|
|
406
|
-
|
424
|
+
response_data: Any = None
|
407
425
|
if utils.match_response(http_res, "200", "application/json"):
|
408
426
|
return utils.unmarshal_json(http_res.text, models.GenericSuccessResponse)
|
409
427
|
if utils.match_response(
|
410
428
|
http_res, ["400", "401", "403", "404"], "application/json"
|
411
429
|
):
|
412
|
-
|
413
|
-
|
430
|
+
response_data = utils.unmarshal_json(
|
431
|
+
http_res.text, models.ErrorResponseData
|
432
|
+
)
|
433
|
+
raise models.ErrorResponse(data=response_data)
|
414
434
|
if utils.match_response(http_res, "422", "application/json"):
|
415
|
-
|
416
|
-
|
435
|
+
response_data = utils.unmarshal_json(
|
436
|
+
http_res.text, models.HTTPValidationErrorData
|
437
|
+
)
|
438
|
+
raise models.HTTPValidationError(data=response_data)
|
417
439
|
if utils.match_response(http_res, "500", "application/json"):
|
418
|
-
|
419
|
-
|
440
|
+
response_data = utils.unmarshal_json(
|
441
|
+
http_res.text, models.ErrorResponseData
|
442
|
+
)
|
443
|
+
raise models.ErrorResponse(data=response_data)
|
420
444
|
if utils.match_response(http_res, "4XX", "*"):
|
421
445
|
http_res_text = await utils.stream_to_text_async(http_res)
|
422
446
|
raise models.APIError(
|
@@ -531,20 +555,26 @@ class Assets(BaseSDK):
|
|
531
555
|
retry_config=retry_config,
|
532
556
|
)
|
533
557
|
|
534
|
-
|
558
|
+
response_data: Any = None
|
535
559
|
if utils.match_response(http_res, "200", "application/json"):
|
536
560
|
return utils.unmarshal_json(http_res.text, models.AssetResponse)
|
537
561
|
if utils.match_response(
|
538
562
|
http_res, ["400", "401", "403", "404"], "application/json"
|
539
563
|
):
|
540
|
-
|
541
|
-
|
564
|
+
response_data = utils.unmarshal_json(
|
565
|
+
http_res.text, models.ErrorResponseData
|
566
|
+
)
|
567
|
+
raise models.ErrorResponse(data=response_data)
|
542
568
|
if utils.match_response(http_res, "422", "application/json"):
|
543
|
-
|
544
|
-
|
569
|
+
response_data = utils.unmarshal_json(
|
570
|
+
http_res.text, models.HTTPValidationErrorData
|
571
|
+
)
|
572
|
+
raise models.HTTPValidationError(data=response_data)
|
545
573
|
if utils.match_response(http_res, "500", "application/json"):
|
546
|
-
|
547
|
-
|
574
|
+
response_data = utils.unmarshal_json(
|
575
|
+
http_res.text, models.ErrorResponseData
|
576
|
+
)
|
577
|
+
raise models.ErrorResponse(data=response_data)
|
548
578
|
if utils.match_response(http_res, "4XX", "*"):
|
549
579
|
http_res_text = utils.stream_to_text(http_res)
|
550
580
|
raise models.APIError(
|
@@ -659,20 +689,26 @@ class Assets(BaseSDK):
|
|
659
689
|
retry_config=retry_config,
|
660
690
|
)
|
661
691
|
|
662
|
-
|
692
|
+
response_data: Any = None
|
663
693
|
if utils.match_response(http_res, "200", "application/json"):
|
664
694
|
return utils.unmarshal_json(http_res.text, models.AssetResponse)
|
665
695
|
if utils.match_response(
|
666
696
|
http_res, ["400", "401", "403", "404"], "application/json"
|
667
697
|
):
|
668
|
-
|
669
|
-
|
698
|
+
response_data = utils.unmarshal_json(
|
699
|
+
http_res.text, models.ErrorResponseData
|
700
|
+
)
|
701
|
+
raise models.ErrorResponse(data=response_data)
|
670
702
|
if utils.match_response(http_res, "422", "application/json"):
|
671
|
-
|
672
|
-
|
703
|
+
response_data = utils.unmarshal_json(
|
704
|
+
http_res.text, models.HTTPValidationErrorData
|
705
|
+
)
|
706
|
+
raise models.HTTPValidationError(data=response_data)
|
673
707
|
if utils.match_response(http_res, "500", "application/json"):
|
674
|
-
|
675
|
-
|
708
|
+
response_data = utils.unmarshal_json(
|
709
|
+
http_res.text, models.ErrorResponseData
|
710
|
+
)
|
711
|
+
raise models.ErrorResponse(data=response_data)
|
676
712
|
if utils.match_response(http_res, "4XX", "*"):
|
677
713
|
http_res_text = await utils.stream_to_text_async(http_res)
|
678
714
|
raise models.APIError(
|
@@ -787,20 +823,26 @@ class Assets(BaseSDK):
|
|
787
823
|
retry_config=retry_config,
|
788
824
|
)
|
789
825
|
|
790
|
-
|
826
|
+
response_data: Any = None
|
791
827
|
if utils.match_response(http_res, "200", "application/json"):
|
792
828
|
return utils.unmarshal_json(http_res.text, models.AssetResponse)
|
793
829
|
if utils.match_response(
|
794
830
|
http_res, ["400", "401", "403", "404"], "application/json"
|
795
831
|
):
|
796
|
-
|
797
|
-
|
832
|
+
response_data = utils.unmarshal_json(
|
833
|
+
http_res.text, models.ErrorResponseData
|
834
|
+
)
|
835
|
+
raise models.ErrorResponse(data=response_data)
|
798
836
|
if utils.match_response(http_res, "422", "application/json"):
|
799
|
-
|
800
|
-
|
837
|
+
response_data = utils.unmarshal_json(
|
838
|
+
http_res.text, models.HTTPValidationErrorData
|
839
|
+
)
|
840
|
+
raise models.HTTPValidationError(data=response_data)
|
801
841
|
if utils.match_response(http_res, "500", "application/json"):
|
802
|
-
|
803
|
-
|
842
|
+
response_data = utils.unmarshal_json(
|
843
|
+
http_res.text, models.ErrorResponseData
|
844
|
+
)
|
845
|
+
raise models.ErrorResponse(data=response_data)
|
804
846
|
if utils.match_response(http_res, "4XX", "*"):
|
805
847
|
http_res_text = utils.stream_to_text(http_res)
|
806
848
|
raise models.APIError(
|
@@ -915,20 +957,26 @@ class Assets(BaseSDK):
|
|
915
957
|
retry_config=retry_config,
|
916
958
|
)
|
917
959
|
|
918
|
-
|
960
|
+
response_data: Any = None
|
919
961
|
if utils.match_response(http_res, "200", "application/json"):
|
920
962
|
return utils.unmarshal_json(http_res.text, models.AssetResponse)
|
921
963
|
if utils.match_response(
|
922
964
|
http_res, ["400", "401", "403", "404"], "application/json"
|
923
965
|
):
|
924
|
-
|
925
|
-
|
966
|
+
response_data = utils.unmarshal_json(
|
967
|
+
http_res.text, models.ErrorResponseData
|
968
|
+
)
|
969
|
+
raise models.ErrorResponse(data=response_data)
|
926
970
|
if utils.match_response(http_res, "422", "application/json"):
|
927
|
-
|
928
|
-
|
971
|
+
response_data = utils.unmarshal_json(
|
972
|
+
http_res.text, models.HTTPValidationErrorData
|
973
|
+
)
|
974
|
+
raise models.HTTPValidationError(data=response_data)
|
929
975
|
if utils.match_response(http_res, "500", "application/json"):
|
930
|
-
|
931
|
-
|
976
|
+
response_data = utils.unmarshal_json(
|
977
|
+
http_res.text, models.ErrorResponseData
|
978
|
+
)
|
979
|
+
raise models.ErrorResponse(data=response_data)
|
932
980
|
if utils.match_response(http_res, "4XX", "*"):
|
933
981
|
http_res_text = await utils.stream_to_text_async(http_res)
|
934
982
|
raise models.APIError(
|
@@ -1023,20 +1071,26 @@ class Assets(BaseSDK):
|
|
1023
1071
|
retry_config=retry_config,
|
1024
1072
|
)
|
1025
1073
|
|
1026
|
-
|
1074
|
+
response_data: Any = None
|
1027
1075
|
if utils.match_response(http_res, "200", "application/json"):
|
1028
1076
|
return utils.unmarshal_json(http_res.text, models.GroupedAssetData)
|
1029
1077
|
if utils.match_response(
|
1030
1078
|
http_res, ["400", "401", "403", "404"], "application/json"
|
1031
1079
|
):
|
1032
|
-
|
1033
|
-
|
1080
|
+
response_data = utils.unmarshal_json(
|
1081
|
+
http_res.text, models.ErrorResponseData
|
1082
|
+
)
|
1083
|
+
raise models.ErrorResponse(data=response_data)
|
1034
1084
|
if utils.match_response(http_res, "422", "application/json"):
|
1035
|
-
|
1036
|
-
|
1085
|
+
response_data = utils.unmarshal_json(
|
1086
|
+
http_res.text, models.HTTPValidationErrorData
|
1087
|
+
)
|
1088
|
+
raise models.HTTPValidationError(data=response_data)
|
1037
1089
|
if utils.match_response(http_res, "500", "application/json"):
|
1038
|
-
|
1039
|
-
|
1090
|
+
response_data = utils.unmarshal_json(
|
1091
|
+
http_res.text, models.ErrorResponseData
|
1092
|
+
)
|
1093
|
+
raise models.ErrorResponse(data=response_data)
|
1040
1094
|
if utils.match_response(http_res, "4XX", "*"):
|
1041
1095
|
http_res_text = utils.stream_to_text(http_res)
|
1042
1096
|
raise models.APIError(
|
@@ -1131,20 +1185,26 @@ class Assets(BaseSDK):
|
|
1131
1185
|
retry_config=retry_config,
|
1132
1186
|
)
|
1133
1187
|
|
1134
|
-
|
1188
|
+
response_data: Any = None
|
1135
1189
|
if utils.match_response(http_res, "200", "application/json"):
|
1136
1190
|
return utils.unmarshal_json(http_res.text, models.GroupedAssetData)
|
1137
1191
|
if utils.match_response(
|
1138
1192
|
http_res, ["400", "401", "403", "404"], "application/json"
|
1139
1193
|
):
|
1140
|
-
|
1141
|
-
|
1194
|
+
response_data = utils.unmarshal_json(
|
1195
|
+
http_res.text, models.ErrorResponseData
|
1196
|
+
)
|
1197
|
+
raise models.ErrorResponse(data=response_data)
|
1142
1198
|
if utils.match_response(http_res, "422", "application/json"):
|
1143
|
-
|
1144
|
-
|
1199
|
+
response_data = utils.unmarshal_json(
|
1200
|
+
http_res.text, models.HTTPValidationErrorData
|
1201
|
+
)
|
1202
|
+
raise models.HTTPValidationError(data=response_data)
|
1145
1203
|
if utils.match_response(http_res, "500", "application/json"):
|
1146
|
-
|
1147
|
-
|
1204
|
+
response_data = utils.unmarshal_json(
|
1205
|
+
http_res.text, models.ErrorResponseData
|
1206
|
+
)
|
1207
|
+
raise models.ErrorResponse(data=response_data)
|
1148
1208
|
if utils.match_response(http_res, "4XX", "*"):
|
1149
1209
|
http_res_text = await utils.stream_to_text_async(http_res)
|
1150
1210
|
raise models.APIError(
|
@@ -1276,20 +1336,26 @@ class Assets(BaseSDK):
|
|
1276
1336
|
retry_config=retry_config,
|
1277
1337
|
)
|
1278
1338
|
|
1279
|
-
|
1339
|
+
response_data: Any = None
|
1280
1340
|
if utils.match_response(http_res, "200", "application/json"):
|
1281
1341
|
return utils.unmarshal_json(http_res.text, models.ListAssetsResponse)
|
1282
1342
|
if utils.match_response(
|
1283
1343
|
http_res, ["400", "401", "403", "404"], "application/json"
|
1284
1344
|
):
|
1285
|
-
|
1286
|
-
|
1345
|
+
response_data = utils.unmarshal_json(
|
1346
|
+
http_res.text, models.ErrorResponseData
|
1347
|
+
)
|
1348
|
+
raise models.ErrorResponse(data=response_data)
|
1287
1349
|
if utils.match_response(http_res, "422", "application/json"):
|
1288
|
-
|
1289
|
-
|
1350
|
+
response_data = utils.unmarshal_json(
|
1351
|
+
http_res.text, models.HTTPValidationErrorData
|
1352
|
+
)
|
1353
|
+
raise models.HTTPValidationError(data=response_data)
|
1290
1354
|
if utils.match_response(http_res, "500", "application/json"):
|
1291
|
-
|
1292
|
-
|
1355
|
+
response_data = utils.unmarshal_json(
|
1356
|
+
http_res.text, models.ErrorResponseData
|
1357
|
+
)
|
1358
|
+
raise models.ErrorResponse(data=response_data)
|
1293
1359
|
if utils.match_response(http_res, "4XX", "*"):
|
1294
1360
|
http_res_text = utils.stream_to_text(http_res)
|
1295
1361
|
raise models.APIError(
|
@@ -1421,20 +1487,26 @@ class Assets(BaseSDK):
|
|
1421
1487
|
retry_config=retry_config,
|
1422
1488
|
)
|
1423
1489
|
|
1424
|
-
|
1490
|
+
response_data: Any = None
|
1425
1491
|
if utils.match_response(http_res, "200", "application/json"):
|
1426
1492
|
return utils.unmarshal_json(http_res.text, models.ListAssetsResponse)
|
1427
1493
|
if utils.match_response(
|
1428
1494
|
http_res, ["400", "401", "403", "404"], "application/json"
|
1429
1495
|
):
|
1430
|
-
|
1431
|
-
|
1496
|
+
response_data = utils.unmarshal_json(
|
1497
|
+
http_res.text, models.ErrorResponseData
|
1498
|
+
)
|
1499
|
+
raise models.ErrorResponse(data=response_data)
|
1432
1500
|
if utils.match_response(http_res, "422", "application/json"):
|
1433
|
-
|
1434
|
-
|
1501
|
+
response_data = utils.unmarshal_json(
|
1502
|
+
http_res.text, models.HTTPValidationErrorData
|
1503
|
+
)
|
1504
|
+
raise models.HTTPValidationError(data=response_data)
|
1435
1505
|
if utils.match_response(http_res, "500", "application/json"):
|
1436
|
-
|
1437
|
-
|
1506
|
+
response_data = utils.unmarshal_json(
|
1507
|
+
http_res.text, models.ErrorResponseData
|
1508
|
+
)
|
1509
|
+
raise models.ErrorResponse(data=response_data)
|
1438
1510
|
if utils.match_response(http_res, "4XX", "*"):
|
1439
1511
|
http_res_text = await utils.stream_to_text_async(http_res)
|
1440
1512
|
raise models.APIError(
|
@@ -1560,20 +1632,26 @@ class Assets(BaseSDK):
|
|
1560
1632
|
retry_config=retry_config,
|
1561
1633
|
)
|
1562
1634
|
|
1563
|
-
|
1635
|
+
response_data: Any = None
|
1564
1636
|
if utils.match_response(http_res, "200", "application/json"):
|
1565
1637
|
return utils.unmarshal_json(http_res.text, models.ListAssetsResponse)
|
1566
1638
|
if utils.match_response(
|
1567
1639
|
http_res, ["400", "401", "403", "404"], "application/json"
|
1568
1640
|
):
|
1569
|
-
|
1570
|
-
|
1641
|
+
response_data = utils.unmarshal_json(
|
1642
|
+
http_res.text, models.ErrorResponseData
|
1643
|
+
)
|
1644
|
+
raise models.ErrorResponse(data=response_data)
|
1571
1645
|
if utils.match_response(http_res, "422", "application/json"):
|
1572
|
-
|
1573
|
-
|
1646
|
+
response_data = utils.unmarshal_json(
|
1647
|
+
http_res.text, models.HTTPValidationErrorData
|
1648
|
+
)
|
1649
|
+
raise models.HTTPValidationError(data=response_data)
|
1574
1650
|
if utils.match_response(http_res, "500", "application/json"):
|
1575
|
-
|
1576
|
-
|
1651
|
+
response_data = utils.unmarshal_json(
|
1652
|
+
http_res.text, models.ErrorResponseData
|
1653
|
+
)
|
1654
|
+
raise models.ErrorResponse(data=response_data)
|
1577
1655
|
if utils.match_response(http_res, "4XX", "*"):
|
1578
1656
|
http_res_text = utils.stream_to_text(http_res)
|
1579
1657
|
raise models.APIError(
|
@@ -1699,20 +1777,26 @@ class Assets(BaseSDK):
|
|
1699
1777
|
retry_config=retry_config,
|
1700
1778
|
)
|
1701
1779
|
|
1702
|
-
|
1780
|
+
response_data: Any = None
|
1703
1781
|
if utils.match_response(http_res, "200", "application/json"):
|
1704
1782
|
return utils.unmarshal_json(http_res.text, models.ListAssetsResponse)
|
1705
1783
|
if utils.match_response(
|
1706
1784
|
http_res, ["400", "401", "403", "404"], "application/json"
|
1707
1785
|
):
|
1708
|
-
|
1709
|
-
|
1786
|
+
response_data = utils.unmarshal_json(
|
1787
|
+
http_res.text, models.ErrorResponseData
|
1788
|
+
)
|
1789
|
+
raise models.ErrorResponse(data=response_data)
|
1710
1790
|
if utils.match_response(http_res, "422", "application/json"):
|
1711
|
-
|
1712
|
-
|
1791
|
+
response_data = utils.unmarshal_json(
|
1792
|
+
http_res.text, models.HTTPValidationErrorData
|
1793
|
+
)
|
1794
|
+
raise models.HTTPValidationError(data=response_data)
|
1713
1795
|
if utils.match_response(http_res, "500", "application/json"):
|
1714
|
-
|
1715
|
-
|
1796
|
+
response_data = utils.unmarshal_json(
|
1797
|
+
http_res.text, models.ErrorResponseData
|
1798
|
+
)
|
1799
|
+
raise models.ErrorResponse(data=response_data)
|
1716
1800
|
if utils.match_response(http_res, "4XX", "*"):
|
1717
1801
|
http_res_text = await utils.stream_to_text_async(http_res)
|
1718
1802
|
raise models.APIError(
|