mixpeek 0.14.0__tar.gz → 0.15.0__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.14.0 → mixpeek-0.15.0}/PKG-INFO +12 -12
- {mixpeek-0.14.0 → mixpeek-0.15.0}/README-PYPI.md +11 -11
- {mixpeek-0.14.0 → mixpeek-0.15.0}/pyproject.toml +1 -1
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/_version.py +1 -1
- mixpeek-0.15.0/src/mixpeek/models/internal/__init__.py +5 -0
- mixpeek-0.15.0/src/mixpeek/models/internal/globals.py +22 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/security.py +2 -2
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/sdk.py +15 -5
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/sdkconfiguration.py +4 -2
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/security.py +2 -2
- {mixpeek-0.14.0 → mixpeek-0.15.0}/py.typed +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/__init__.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/_hooks/__init__.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/_hooks/registration.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/_hooks/sdkhooks.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/_hooks/types.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/assets.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/basesdk.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/collections.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/featureextractors.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/features.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/health.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/httpclient.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/ingest.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/interactions.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/__init__.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/actionusage.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/apierror.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/apikey.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/apikeyupdate.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/assetfeatures.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/assetresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/assets_model_searchquery.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/assetupdate.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/availableindexesresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/availablemodels.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/boolindexparams.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/collectionmodel.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/collectionresult.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/create_api_key_organizations_users_user_email_api_keys_postop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/create_collection_collections_postop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/create_interaction_features_search_interactions_postop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/createcollectionrequest.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/createnamespacerequest.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/datetimeindexparams.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/dateusage.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/db_model_paginationresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/db_model_taskresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/delete_api_key_organizations_users_user_email_api_keys_key_name_deleteop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/delete_asset_assets_asset_id_deleteop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/delete_collection_collections_collection_deleteop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/delete_feature_features_feature_id_deleteop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/delete_interaction_features_search_interactions_interaction_id_deleteop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/delete_namespace_namespaces_namespace_deleteop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/delete_user_organizations_users_user_email_deleteop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/denseembedding.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/embeddingrequest.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/embeddingresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/errordetail.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/errorresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/facedetectsettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/featureextractionembeddingrequest.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/featureresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/features_model_paginationresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/featureupdaterequest.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/filtercondition.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/floatindexparams.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/full_asset_update_assets_asset_id_putop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/full_feature_update_features_feature_id_putop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/geoindexparams.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/get_asset_assets_asset_id_getop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/get_asset_with_features_assets_asset_id_features_getop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/get_collection_collections_collection_getop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/get_feature_features_feature_id_getop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/get_interaction_features_search_interactions_interaction_id_getop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/get_namespace_namespaces_namespace_getop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/get_task_tasks_task_id_getop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/get_user_organizations_users_user_email_getop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/groupbyoptions.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/groupbyoptionsasset.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/groupedassetdata.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/healthcheckresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/httpvalidationerror.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/imagedescribesettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/imagedetectsettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/imagereadsettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/imagesettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/ingest_image_url_ingest_images_url_postop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/ingest_text_ingest_text_postop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/ingest_video_url_ingest_videos_url_postop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/inputtype.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/integerindexparams.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/interactionresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/interactiontype.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/jsonimageoutputsettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/jsontextoutputsettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/jsonvideooutputsettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/keywordindexparams.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/kill_task_tasks_task_id_deleteop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/list_assets_assets_postop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/list_collections_collections_getop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/list_features_features_postop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/list_interactions_features_search_interactions_getop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/listassetsrequest.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/listassetsresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/listcollectionsresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/listfeaturesrequest.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/listfeaturesresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/logicaloperator_input.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/logicaloperator_output.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/logodetectsettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/modality.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/modeldetails.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/namespaceresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/organizationmodel.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/partial_asset_update_assets_asset_id_patchop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/payloadindexconfig.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/payloadindextype.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/payloadschematype.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/percolaterequest.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/permission.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/processimageurlinput.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/processtextinput.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/processvideourlinput.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/querysettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/rerankingoptions.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/search_assets_assets_search_postop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/search_features_features_search_postop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/search_model_searchquery_input.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/searchassetsrequest.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/searchinteraction.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/searchquery_output.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/searchrequestfeatures_input.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/searchrequestfeatures_output.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/sortoption.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/sparseembedding.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/tasks_model_taskresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/taskstatus.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/textindexparams.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/textsettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/tokenizertype.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/update_api_key_organizations_users_user_email_api_keys_key_name_patchop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/update_collection_collections_collection_putop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/update_namespace_namespaces_namespace_putop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/updateassetrequest.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/updatenamespacerequest.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/usage.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/usermodel_input.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/usermodel_output.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/uuidindexparams.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/validationerror.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/vectormodel.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/vectortype.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/videodescribesettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/videodetectsettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/videoreadsettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/videosettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/videotranscriptionsettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/namespaces.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/organizations.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/py.typed +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/searchinteractions.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/tasks.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/types/__init__.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/types/basemodel.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/__init__.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/annotations.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/enums.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/eventstreaming.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/forms.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/headers.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/logger.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/metadata.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/queryparams.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/requestbodies.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/retries.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/serializers.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/url.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/values.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: mixpeek
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.15.0
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy.
|
5
5
|
Home-page: https://github.com/mixpeek/python-sdk.git
|
6
6
|
Author: Speakeasy
|
@@ -94,7 +94,7 @@ from mixpeek import Mixpeek
|
|
94
94
|
import os
|
95
95
|
|
96
96
|
with Mixpeek(
|
97
|
-
|
97
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
98
98
|
) as mixpeek:
|
99
99
|
|
100
100
|
res = mixpeek.organizations.get()
|
@@ -114,7 +114,7 @@ import os
|
|
114
114
|
|
115
115
|
async def main():
|
116
116
|
async with Mixpeek(
|
117
|
-
|
117
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
118
118
|
) as mixpeek:
|
119
119
|
|
120
120
|
res = await mixpeek.organizations.get_async()
|
@@ -133,17 +133,17 @@ asyncio.run(main())
|
|
133
133
|
|
134
134
|
This SDK supports the following security scheme globally:
|
135
135
|
|
136
|
-
| Name
|
137
|
-
|
|
138
|
-
| `
|
136
|
+
| Name | Type | Scheme | Environment Variable |
|
137
|
+
| ------- | ---- | ----------- | -------------------- |
|
138
|
+
| `token` | http | HTTP Bearer | `MIXPEEK_TOKEN` |
|
139
139
|
|
140
|
-
To authenticate with the API the `
|
140
|
+
To authenticate with the API the `token` parameter must be set when initializing the SDK client instance. For example:
|
141
141
|
```python
|
142
142
|
from mixpeek import Mixpeek
|
143
143
|
import os
|
144
144
|
|
145
145
|
with Mixpeek(
|
146
|
-
|
146
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
147
147
|
) as mixpeek:
|
148
148
|
|
149
149
|
res = mixpeek.organizations.get()
|
@@ -251,7 +251,7 @@ from mixpeek.utils import BackoffStrategy, RetryConfig
|
|
251
251
|
import os
|
252
252
|
|
253
253
|
with Mixpeek(
|
254
|
-
|
254
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
255
255
|
) as mixpeek:
|
256
256
|
|
257
257
|
res = mixpeek.organizations.get(,
|
@@ -270,7 +270,7 @@ import os
|
|
270
270
|
|
271
271
|
with Mixpeek(
|
272
272
|
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
|
273
|
-
|
273
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
274
274
|
) as mixpeek:
|
275
275
|
|
276
276
|
res = mixpeek.organizations.get()
|
@@ -310,7 +310,7 @@ from mixpeek import Mixpeek, models
|
|
310
310
|
import os
|
311
311
|
|
312
312
|
with Mixpeek(
|
313
|
-
|
313
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
314
314
|
) as mixpeek:
|
315
315
|
res = None
|
316
316
|
try:
|
@@ -344,7 +344,7 @@ import os
|
|
344
344
|
|
345
345
|
with Mixpeek(
|
346
346
|
server_url="https://api.mixpeek.com/",
|
347
|
-
|
347
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
348
348
|
) as mixpeek:
|
349
349
|
|
350
350
|
res = mixpeek.organizations.get()
|
@@ -71,7 +71,7 @@ from mixpeek import Mixpeek
|
|
71
71
|
import os
|
72
72
|
|
73
73
|
with Mixpeek(
|
74
|
-
|
74
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
75
75
|
) as mixpeek:
|
76
76
|
|
77
77
|
res = mixpeek.organizations.get()
|
@@ -91,7 +91,7 @@ import os
|
|
91
91
|
|
92
92
|
async def main():
|
93
93
|
async with Mixpeek(
|
94
|
-
|
94
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
95
95
|
) as mixpeek:
|
96
96
|
|
97
97
|
res = await mixpeek.organizations.get_async()
|
@@ -110,17 +110,17 @@ asyncio.run(main())
|
|
110
110
|
|
111
111
|
This SDK supports the following security scheme globally:
|
112
112
|
|
113
|
-
| Name
|
114
|
-
|
|
115
|
-
| `
|
113
|
+
| Name | Type | Scheme | Environment Variable |
|
114
|
+
| ------- | ---- | ----------- | -------------------- |
|
115
|
+
| `token` | http | HTTP Bearer | `MIXPEEK_TOKEN` |
|
116
116
|
|
117
|
-
To authenticate with the API the `
|
117
|
+
To authenticate with the API the `token` parameter must be set when initializing the SDK client instance. For example:
|
118
118
|
```python
|
119
119
|
from mixpeek import Mixpeek
|
120
120
|
import os
|
121
121
|
|
122
122
|
with Mixpeek(
|
123
|
-
|
123
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
124
124
|
) as mixpeek:
|
125
125
|
|
126
126
|
res = mixpeek.organizations.get()
|
@@ -228,7 +228,7 @@ from mixpeek.utils import BackoffStrategy, RetryConfig
|
|
228
228
|
import os
|
229
229
|
|
230
230
|
with Mixpeek(
|
231
|
-
|
231
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
232
232
|
) as mixpeek:
|
233
233
|
|
234
234
|
res = mixpeek.organizations.get(,
|
@@ -247,7 +247,7 @@ import os
|
|
247
247
|
|
248
248
|
with Mixpeek(
|
249
249
|
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
|
250
|
-
|
250
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
251
251
|
) as mixpeek:
|
252
252
|
|
253
253
|
res = mixpeek.organizations.get()
|
@@ -287,7 +287,7 @@ from mixpeek import Mixpeek, models
|
|
287
287
|
import os
|
288
288
|
|
289
289
|
with Mixpeek(
|
290
|
-
|
290
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
291
291
|
) as mixpeek:
|
292
292
|
res = None
|
293
293
|
try:
|
@@ -321,7 +321,7 @@ import os
|
|
321
321
|
|
322
322
|
with Mixpeek(
|
323
323
|
server_url="https://api.mixpeek.com/",
|
324
|
-
|
324
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
325
325
|
) as mixpeek:
|
326
326
|
|
327
327
|
res = mixpeek.organizations.get()
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from mixpeek.types import BaseModel
|
5
|
+
from mixpeek.utils import FieldMetadata, HeaderMetadata
|
6
|
+
import pydantic
|
7
|
+
from typing import Optional
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
9
|
+
|
10
|
+
|
11
|
+
class GlobalsTypedDict(TypedDict):
|
12
|
+
x_namespace: NotRequired[str]
|
13
|
+
r"""Optional namespace for data isolation. This can be a namespace name or namespace ID. Example: 'netflix_prod' or 'ns_1234567890'. To create a namespace, use the /namespaces endpoint."""
|
14
|
+
|
15
|
+
|
16
|
+
class Globals(BaseModel):
|
17
|
+
x_namespace: Annotated[
|
18
|
+
Optional[str],
|
19
|
+
pydantic.Field(alias="x-namespace"),
|
20
|
+
FieldMetadata(header=HeaderMetadata(style="simple", explode=False)),
|
21
|
+
] = None
|
22
|
+
r"""Optional namespace for data isolation. This can be a namespace name or namespace ID. Example: 'netflix_prod' or 'ns_1234567890'. To create a namespace, use the /namespaces endpoint."""
|
@@ -8,11 +8,11 @@ from typing_extensions import Annotated, NotRequired, TypedDict
|
|
8
8
|
|
9
9
|
|
10
10
|
class SecurityTypedDict(TypedDict):
|
11
|
-
|
11
|
+
token: NotRequired[str]
|
12
12
|
|
13
13
|
|
14
14
|
class Security(BaseModel):
|
15
|
-
|
15
|
+
token: Annotated[
|
16
16
|
Optional[str],
|
17
17
|
FieldMetadata(
|
18
18
|
security=SecurityMetadata(
|
@@ -15,6 +15,7 @@ from mixpeek.features import Features
|
|
15
15
|
from mixpeek.health import Health
|
16
16
|
from mixpeek.ingest import Ingest
|
17
17
|
from mixpeek.interactions import Interactions
|
18
|
+
from mixpeek.models import internal
|
18
19
|
from mixpeek.namespaces import Namespaces
|
19
20
|
from mixpeek.organizations import Organizations
|
20
21
|
from mixpeek.searchinteractions import SearchInteractions
|
@@ -40,7 +41,8 @@ class Mixpeek(BaseSDK):
|
|
40
41
|
|
41
42
|
def __init__(
|
42
43
|
self,
|
43
|
-
|
44
|
+
token: Optional[Union[Optional[str], Callable[[], Optional[str]]]] = None,
|
45
|
+
x_namespace: Optional[str] = None,
|
44
46
|
server_idx: Optional[int] = None,
|
45
47
|
server_url: Optional[str] = None,
|
46
48
|
url_params: Optional[Dict[str, str]] = None,
|
@@ -52,7 +54,8 @@ class Mixpeek(BaseSDK):
|
|
52
54
|
) -> None:
|
53
55
|
r"""Instantiates the SDK configuring it with the provided parameters.
|
54
56
|
|
55
|
-
:param
|
57
|
+
:param token: The token required for authentication
|
58
|
+
:param x_namespace: Configures the x_namespace parameter for all supported operations
|
56
59
|
:param server_idx: The index of the server to use for all methods
|
57
60
|
:param server_url: The server URL to use for all methods
|
58
61
|
:param url_params: Parameters to optionally template the server URL with
|
@@ -79,20 +82,27 @@ class Mixpeek(BaseSDK):
|
|
79
82
|
), "The provided async_client must implement the AsyncHttpClient protocol."
|
80
83
|
|
81
84
|
security: Any = None
|
82
|
-
if callable(
|
83
|
-
security = lambda: models.Security(
|
85
|
+
if callable(token):
|
86
|
+
security = lambda: models.Security(token=token()) # pylint: disable=unnecessary-lambda-assignment
|
84
87
|
else:
|
85
|
-
security = models.Security(
|
88
|
+
security = models.Security(token=token)
|
86
89
|
|
87
90
|
if server_url is not None:
|
88
91
|
if url_params is not None:
|
89
92
|
server_url = utils.template_url(server_url, url_params)
|
90
93
|
|
94
|
+
_globals = internal.Globals(
|
95
|
+
x_namespace=utils.get_global_from_env(
|
96
|
+
x_namespace, "MIXPEEK_X_NAMESPACE", str
|
97
|
+
),
|
98
|
+
)
|
99
|
+
|
91
100
|
BaseSDK.__init__(
|
92
101
|
self,
|
93
102
|
SDKConfiguration(
|
94
103
|
client=client,
|
95
104
|
async_client=async_client,
|
105
|
+
globals=_globals,
|
96
106
|
security=security,
|
97
107
|
server_url=server_url,
|
98
108
|
server_idx=server_idx,
|
@@ -5,6 +5,7 @@ from .httpclient import AsyncHttpClient, HttpClient
|
|
5
5
|
from .utils import Logger, RetryConfig, remove_suffix
|
6
6
|
from dataclasses import dataclass
|
7
7
|
from mixpeek import models
|
8
|
+
from mixpeek.models import internal
|
8
9
|
from mixpeek.types import OptionalNullable, UNSET
|
9
10
|
from pydantic import Field
|
10
11
|
from typing import Callable, Dict, Optional, Tuple, Union
|
@@ -21,14 +22,15 @@ class SDKConfiguration:
|
|
21
22
|
client: HttpClient
|
22
23
|
async_client: AsyncHttpClient
|
23
24
|
debug_logger: Logger
|
25
|
+
globals: internal.Globals
|
24
26
|
security: Optional[Union[models.Security, Callable[[], models.Security]]] = None
|
25
27
|
server_url: Optional[str] = ""
|
26
28
|
server_idx: Optional[int] = 0
|
27
29
|
language: str = "python"
|
28
30
|
openapi_doc_version: str = "0.81"
|
29
|
-
sdk_version: str = "0.
|
31
|
+
sdk_version: str = "0.15.0"
|
30
32
|
gen_version: str = "2.484.0"
|
31
|
-
user_agent: str = "speakeasy-sdk/python 0.
|
33
|
+
user_agent: str = "speakeasy-sdk/python 0.15.0 2.484.0 0.81 mixpeek"
|
32
34
|
retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET)
|
33
35
|
timeout_ms: Optional[int] = None
|
34
36
|
|
@@ -64,8 +64,8 @@ def get_security_from_env(security: Any, security_class: Any) -> Optional[BaseMo
|
|
64
64
|
|
65
65
|
security_dict: Any = {}
|
66
66
|
|
67
|
-
if os.getenv("
|
68
|
-
security_dict["
|
67
|
+
if os.getenv("MIXPEEK_TOKEN"):
|
68
|
+
security_dict["token"] = os.getenv("MIXPEEK_TOKEN")
|
69
69
|
|
70
70
|
return security_class(**security_dict) if security_dict else None
|
71
71
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/create_collection_collections_postop.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/delete_asset_assets_asset_id_deleteop.py
RENAMED
File without changes
|
File without changes
|
{mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/delete_feature_features_feature_id_deleteop.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/full_asset_update_assets_asset_id_putop.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/get_collection_collections_collection_getop.py
RENAMED
File without changes
|
{mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/get_feature_features_feature_id_getop.py
RENAMED
File without changes
|
File without changes
|
{mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/get_namespace_namespaces_namespace_getop.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/ingest_image_url_ingest_images_url_postop.py
RENAMED
File without changes
|
File without changes
|
{mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/ingest_video_url_ingest_videos_url_postop.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/partial_asset_update_assets_asset_id_patchop.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/search_features_features_search_postop.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/update_namespace_namespaces_namespace_putop.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|