mixpeek 0.21.8__tar.gz → 0.22.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.21.8/README-PYPI.md → mixpeek-0.22.0/PKG-INFO +18 -9
- mixpeek-0.21.8/PKG-INFO → mixpeek-0.22.0/README-PYPI.md +0 -30
- {mixpeek-0.21.8 → mixpeek-0.22.0}/pyproject.toml +3 -6
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/_hooks/types.py +7 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/_version.py +3 -3
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/basesdk.py +12 -20
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/bucketobjects.py +19 -37
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/buckets.py +19 -31
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/clusters.py +2 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/collectioncache.py +6 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/collections.py +13 -19
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/features.py +4 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/health.py +2 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/httpclient.py +6 -16
- mixpeek-0.22.0/src/mixpeek/models/__init__.py +1061 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/blobmodel.py +3 -11
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/bucketcreaterequest.py +3 -11
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/bucketresponse.py +3 -11
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/bucketschemafield_input.py +6 -22
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/bucketschemafield_output.py +6 -22
- mixpeek-0.22.0/src/mixpeek/models/bucketschemafieldbase.py +81 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/bucketschemafieldtype.py +1 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/bucketupdaterequest.py +3 -10
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/collectionmodel.py +3 -11
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/createblobrequest.py +3 -11
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/createcollectionrequest.py +3 -11
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/createnamespacerequest.py +9 -9
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/createobjectrequest.py +3 -11
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/createretrieverrequest.py +3 -11
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/errordetail.py +3 -10
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/featureextractorconfig.py +3 -11
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/featureextractordefinition.py +26 -46
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/interactionresponse.py +3 -11
- mixpeek-0.22.0/src/mixpeek/models/internal/__init__.py +40 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/logicaloperator_input.py +30 -36
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/logicaloperator_output.py +39 -45
- mixpeek-0.22.0/src/mixpeek/models/logicaloperatorbase_input.py +74 -0
- mixpeek-0.22.0/src/mixpeek/models/logicaloperatorbase_output.py +74 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/namespaceresponse.py +17 -6
- mixpeek-0.22.0/src/mixpeek/models/namespacestatus.py +10 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/objectresponse.py +3 -11
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/organizationmodel.py +3 -11
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/retrieverbinding.py +3 -10
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/retrievermodel.py +3 -11
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/retrieverqueryrequest.py +3 -11
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/retrieverschemafield_input.py +6 -26
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/retrieverschemafield_output.py +6 -26
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/searchinteraction.py +3 -11
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/stageconfig_input.py +8 -16
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/stageconfig_output.py +8 -16
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/stagedefinition.py +28 -17
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/stageresponse.py +3 -11
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/updateobjectrequest.py +3 -11
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/usermodel_input.py +3 -11
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/usermodel_output.py +3 -11
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/namespaces.py +28 -22
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/organizationnotifications.py +2 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/organizations.py +13 -13
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/organizationsusage.py +2 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/research.py +2 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/retrieverinteractions.py +13 -19
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/retrievers.py +15 -33
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/retrieverstages.py +2 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/sdk.py +94 -65
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/sdkconfiguration.py +0 -7
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/tasks.py +6 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/taxonomies.py +2 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/users.py +6 -0
- mixpeek-0.22.0/src/mixpeek/utils/__init__.py +187 -0
- mixpeek-0.22.0/src/mixpeek/utils/datetimes.py +23 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/utils/serializers.py +32 -3
- mixpeek-0.21.8/src/mixpeek/collectiondocuments.py +0 -1564
- mixpeek-0.21.8/src/mixpeek/models/__init__.py +0 -913
- mixpeek-0.21.8/src/mixpeek/models/batch_delete_documents_v1_collections_collection_identifier_documents_batch_deleteop.py +0 -75
- mixpeek-0.21.8/src/mixpeek/models/batch_update_documents_v1_collections_collection_identifier_documents_batch_putop.py +0 -84
- mixpeek-0.21.8/src/mixpeek/models/delete_document_v1_collections_collection_identifier_documents_document_id_deleteop.py +0 -70
- mixpeek-0.21.8/src/mixpeek/models/documentlistresponse.py +0 -56
- mixpeek-0.21.8/src/mixpeek/models/documentresponse.py +0 -87
- mixpeek-0.21.8/src/mixpeek/models/documentupdate.py +0 -60
- mixpeek-0.21.8/src/mixpeek/models/genericsuccessresponse.py +0 -17
- mixpeek-0.21.8/src/mixpeek/models/get_document_v1_collections_collection_identifier_documents_document_id_getop.py +0 -70
- mixpeek-0.21.8/src/mixpeek/models/internal/__init__.py +0 -6
- mixpeek-0.21.8/src/mixpeek/models/list_documents_v1_collections_collection_identifier_documents_getop.py +0 -114
- mixpeek-0.21.8/src/mixpeek/models/update_document_v1_collections_collection_identifier_documents_document_id_putop.py +0 -83
- mixpeek-0.21.8/src/mixpeek/utils/__init__.py +0 -101
- {mixpeek-0.21.8 → mixpeek-0.22.0}/py.typed +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/__init__.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/_hooks/__init__.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/_hooks/registration.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/_hooks/sdkhooks.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/aggregationtype.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/apierror.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/apikey.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/apikeyupdate.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/attributebasedconfig.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/automaticnaming.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/basicfeatureextractor.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/blobdetails.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/boolindexparams.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/bucketschema_input.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/bucketschema_output.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/cachestats.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/cleanup_cache_v1_collections_cache_cleanup_postop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/clusteringmethod.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/clustertype.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/collectioncacheconfig_input.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/collectioncacheconfig_output.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/collectionconfig.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/create_api_key_v1_organizations_users_user_email_api_keys_postop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/create_bucket_v1_buckets_create_postop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/create_cluster_v1_clusters_postop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/create_collection_v1_collections_create_postop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/create_interaction_v1_retrievers_interactions_postop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/create_object_v1_buckets_bucket_identifier_objects_create_postop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/create_retriever_v1_retrievers_retrievers_postop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/create_taxonomy_v1_taxonomies_postop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/createclusterrequest.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/createtaxonomyrequest.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/datetimeindexparams.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/delete_api_key_v1_organizations_users_user_email_api_keys_key_name_deleteop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/delete_bucket_v1_buckets_bucket_identifier_deleteop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/delete_interaction_v1_retrievers_interactions_interaction_id_deleteop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/delete_namespace_v1_namespaces_namespace_deleteop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/delete_object_v1_buckets_bucket_identifier_objects_object_identifier_deleteop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/delete_user_v1_organizations_users_user_email_deleteop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/documenthandlingconfig.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/documentinputhandling.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/documentoutputhandling.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/documentoutputtype.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/enrichmentfield.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/errorresponse.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/execute_retriever_v1_retrievers_retrievers_retriever_id_execute_postop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/filtercondition.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/filteroperator.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/floatindexparams.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/generativemodels.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/geoindexparams.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/get_bucket_v1_buckets_bucket_identifier_getop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/get_cache_stats_v1_collections_cache_stats_getop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/get_collection_v1_collections_collection_id_getop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/get_feature_extractor_v1_features_extractors_feature_id_getop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/get_interaction_v1_retrievers_interactions_interaction_id_getop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/get_namespace_v1_namespaces_namespace_getop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/get_object_v1_buckets_bucket_identifier_objects_object_identifier_getop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/get_research_v1_research_getop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/get_retriever_stages_v1_retrievers_stages_getop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/get_retriever_v1_retrievers_retrievers_retriever_id_getop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/get_task_v1_tasks_task_id_getop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/get_user_v1_organizations_users_user_email_getop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/getusagerequestmodel.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/hdbscanparameters.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/healthcheckresponse.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/httpvalidationerror.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/integerindexparams.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/interactiontype.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/internal/globals.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/invalidate_cache_v1_collections_cache_invalidate_postop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/invalidationevent.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/invalidationstrategy.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/keywordindexparams.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/kill_task_v1_tasks_task_id_deleteop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/list_active_tasks_v1_tasks_getop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/list_buckets_v1_buckets_postop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/list_interactions_v1_retrievers_interactions_getop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/list_objects_v1_buckets_bucket_identifier_objects_postop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/listbucketsrequest.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/listbucketsresponse.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/listobjectsrequest.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/listobjectsresponse.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/listtasksresponse.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/multivectorindex.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/namespaceusage.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/namingmethod.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/paginationresponse.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/payloadindexconfig.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/payloadschematype.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/permission.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/plan.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/recomputestrategy.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/resourcetotals.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/retrievercacheconfig.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/retrieverresponse.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/retrieverschema_input.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/retrieverschema_output.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/security.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/singlelineageentry.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/sortdirection.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/sortoption.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/sourceconfig_input.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/sourceconfig_output.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/sourcetype.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/taskresponse.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/taskstatus.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/taxonomyapplicationconfig.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/taxonomyconfig.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/textindexparams.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/timeseriesdatapoint.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/timeseriesusage.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/tokenizertype.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/update_api_key_v1_organizations_users_user_email_api_keys_key_name_patchop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/update_bucket_v1_buckets_bucket_identifier_putop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/update_namespace_v1_namespaces_namespace_putop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/update_object_v1_buckets_bucket_identifier_objects_object_identifier_putop.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/updatenamespacerequest.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/usageresponse.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/usagesummary.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/usagetimerange.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/uuidindexparams.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/validationerror.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/vectorbasedconfig.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/vectorindex.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/vectorindexdefinition.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/models/vectortype.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/py.typed +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/types/__init__.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/types/basemodel.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/utils/annotations.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/utils/enums.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/utils/eventstreaming.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/utils/forms.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/utils/headers.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/utils/logger.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/utils/metadata.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/utils/queryparams.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/utils/requestbodies.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/utils/retries.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/utils/security.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/utils/url.py +0 -0
- {mixpeek-0.21.8 → mixpeek-0.22.0}/src/mixpeek/utils/values.py +0 -0
@@ -1,3 +1,20 @@
|
|
1
|
+
Metadata-Version: 2.3
|
2
|
+
Name: mixpeek
|
3
|
+
Version: 0.22.0
|
4
|
+
Summary: Python Client SDK Generated by Speakeasy.
|
5
|
+
Author: Speakeasy
|
6
|
+
Requires-Python: >=3.9.2
|
7
|
+
Classifier: Programming Language :: Python :: 3
|
8
|
+
Classifier: Programming Language :: Python :: 3.10
|
9
|
+
Classifier: Programming Language :: Python :: 3.11
|
10
|
+
Classifier: Programming Language :: Python :: 3.12
|
11
|
+
Classifier: Programming Language :: Python :: 3.13
|
12
|
+
Requires-Dist: httpcore (>=1.0.9)
|
13
|
+
Requires-Dist: httpx (>=0.28.1)
|
14
|
+
Requires-Dist: pydantic (>=2.11.2)
|
15
|
+
Project-URL: Repository, https://github.com/mixpeek/python-sdk.git
|
16
|
+
Description-Content-Type: text/markdown
|
17
|
+
|
1
18
|
# mixpeek
|
2
19
|
|
3
20
|
Developer-friendly & type-safe Python SDK specifically catered to leverage *mixpeek* API.
|
@@ -203,15 +220,6 @@ with Mixpeek(
|
|
203
220
|
* [get_stats](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collectioncache/README.md#get_stats) - Get Cache Stats
|
204
221
|
* [cleanup](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collectioncache/README.md#cleanup) - Cleanup Cache
|
205
222
|
|
206
|
-
### [collection_documents](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collectiondocuments/README.md)
|
207
|
-
|
208
|
-
* [get](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collectiondocuments/README.md#get) - Get Document
|
209
|
-
* [update](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collectiondocuments/README.md#update) - Update Document
|
210
|
-
* [delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collectiondocuments/README.md#delete) - Delete Document
|
211
|
-
* [list](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collectiondocuments/README.md#list) - List Documents
|
212
|
-
* [batch_update](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collectiondocuments/README.md#batch_update) - Batch Update Documents
|
213
|
-
* [batch_delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collectiondocuments/README.md#batch_delete) - Batch Delete Documents
|
214
|
-
|
215
223
|
### [collections](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collections/README.md)
|
216
224
|
|
217
225
|
* [create](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collections/README.md#create) - Create Collection
|
@@ -556,3 +564,4 @@ While we value open-source contributions to this SDK, this library is generated
|
|
556
564
|
We look forward to hearing your feedback. Feel free to open a PR or an issue with a proof of concept and we'll do our best to include it in a future release.
|
557
565
|
|
558
566
|
### SDK Created by [Speakeasy](https://www.speakeasy.com/?utm_source=mixpeek&utm_campaign=python)
|
567
|
+
|
@@ -1,23 +1,3 @@
|
|
1
|
-
Metadata-Version: 2.3
|
2
|
-
Name: mixpeek
|
3
|
-
Version: 0.21.8
|
4
|
-
Summary: Python Client SDK Generated by Speakeasy.
|
5
|
-
Author: Speakeasy
|
6
|
-
Requires-Python: >=3.9
|
7
|
-
Classifier: Programming Language :: Python :: 3
|
8
|
-
Classifier: Programming Language :: Python :: 3.9
|
9
|
-
Classifier: Programming Language :: Python :: 3.10
|
10
|
-
Classifier: Programming Language :: Python :: 3.11
|
11
|
-
Classifier: Programming Language :: Python :: 3.12
|
12
|
-
Classifier: Programming Language :: Python :: 3.13
|
13
|
-
Requires-Dist: eval-type-backport (>=0.2.0)
|
14
|
-
Requires-Dist: httpx (>=0.28.1)
|
15
|
-
Requires-Dist: pydantic (>=2.11.2)
|
16
|
-
Requires-Dist: python-dateutil (>=2.8.2)
|
17
|
-
Requires-Dist: typing-inspection (>=0.4.0)
|
18
|
-
Project-URL: Repository, https://github.com/mixpeek/python-sdk.git
|
19
|
-
Description-Content-Type: text/markdown
|
20
|
-
|
21
1
|
# mixpeek
|
22
2
|
|
23
3
|
Developer-friendly & type-safe Python SDK specifically catered to leverage *mixpeek* API.
|
@@ -223,15 +203,6 @@ with Mixpeek(
|
|
223
203
|
* [get_stats](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collectioncache/README.md#get_stats) - Get Cache Stats
|
224
204
|
* [cleanup](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collectioncache/README.md#cleanup) - Cleanup Cache
|
225
205
|
|
226
|
-
### [collection_documents](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collectiondocuments/README.md)
|
227
|
-
|
228
|
-
* [get](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collectiondocuments/README.md#get) - Get Document
|
229
|
-
* [update](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collectiondocuments/README.md#update) - Update Document
|
230
|
-
* [delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collectiondocuments/README.md#delete) - Delete Document
|
231
|
-
* [list](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collectiondocuments/README.md#list) - List Documents
|
232
|
-
* [batch_update](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collectiondocuments/README.md#batch_update) - Batch Update Documents
|
233
|
-
* [batch_delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collectiondocuments/README.md#batch_delete) - Batch Delete Documents
|
234
|
-
|
235
206
|
### [collections](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collections/README.md)
|
236
207
|
|
237
208
|
* [create](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collections/README.md#create) - Create Collection
|
@@ -576,4 +547,3 @@ While we value open-source contributions to this SDK, this library is generated
|
|
576
547
|
We look forward to hearing your feedback. Feel free to open a PR or an issue with a proof of concept and we'll do our best to include it in a future release.
|
577
548
|
|
578
549
|
### SDK Created by [Speakeasy](https://www.speakeasy.com/?utm_source=mixpeek&utm_campaign=python)
|
579
|
-
|
@@ -1,16 +1,14 @@
|
|
1
1
|
[project]
|
2
2
|
name = "mixpeek"
|
3
|
-
version = "0.
|
3
|
+
version = "0.22.0"
|
4
4
|
description = "Python Client SDK Generated by Speakeasy."
|
5
5
|
authors = [{ name = "Speakeasy" },]
|
6
6
|
readme = "README-PYPI.md"
|
7
|
-
requires-python = ">=3.9"
|
7
|
+
requires-python = ">=3.9.2"
|
8
8
|
dependencies = [
|
9
|
-
"
|
9
|
+
"httpcore >=1.0.9",
|
10
10
|
"httpx >=0.28.1",
|
11
11
|
"pydantic >=2.11.2",
|
12
|
-
"python-dateutil >=2.8.2",
|
13
|
-
"typing-inspection >=0.4.0",
|
14
12
|
]
|
15
13
|
|
16
14
|
[tool.poetry]
|
@@ -29,7 +27,6 @@ in-project = true
|
|
29
27
|
[tool.poetry.group.dev.dependencies]
|
30
28
|
mypy = "==1.15.0"
|
31
29
|
pylint = "==3.2.3"
|
32
|
-
types-python-dateutil = "^2.9.0.20240316"
|
33
30
|
|
34
31
|
[build-system]
|
35
32
|
requires = ["poetry-core"]
|
@@ -3,10 +3,12 @@
|
|
3
3
|
from abc import ABC, abstractmethod
|
4
4
|
import httpx
|
5
5
|
from mixpeek.httpclient import HttpClient
|
6
|
+
from mixpeek.sdkconfiguration import SDKConfiguration
|
6
7
|
from typing import Any, Callable, List, Optional, Tuple, Union
|
7
8
|
|
8
9
|
|
9
10
|
class HookContext:
|
11
|
+
config: SDKConfiguration
|
10
12
|
base_url: str
|
11
13
|
operation_id: str
|
12
14
|
oauth2_scopes: Optional[List[str]] = None
|
@@ -14,11 +16,13 @@ class HookContext:
|
|
14
16
|
|
15
17
|
def __init__(
|
16
18
|
self,
|
19
|
+
config: SDKConfiguration,
|
17
20
|
base_url: str,
|
18
21
|
operation_id: str,
|
19
22
|
oauth2_scopes: Optional[List[str]],
|
20
23
|
security_source: Optional[Union[Any, Callable[[], Any]]],
|
21
24
|
):
|
25
|
+
self.config = config
|
22
26
|
self.base_url = base_url
|
23
27
|
self.operation_id = operation_id
|
24
28
|
self.oauth2_scopes = oauth2_scopes
|
@@ -28,6 +32,7 @@ class HookContext:
|
|
28
32
|
class BeforeRequestContext(HookContext):
|
29
33
|
def __init__(self, hook_ctx: HookContext):
|
30
34
|
super().__init__(
|
35
|
+
hook_ctx.config,
|
31
36
|
hook_ctx.base_url,
|
32
37
|
hook_ctx.operation_id,
|
33
38
|
hook_ctx.oauth2_scopes,
|
@@ -38,6 +43,7 @@ class BeforeRequestContext(HookContext):
|
|
38
43
|
class AfterSuccessContext(HookContext):
|
39
44
|
def __init__(self, hook_ctx: HookContext):
|
40
45
|
super().__init__(
|
46
|
+
hook_ctx.config,
|
41
47
|
hook_ctx.base_url,
|
42
48
|
hook_ctx.operation_id,
|
43
49
|
hook_ctx.oauth2_scopes,
|
@@ -48,6 +54,7 @@ class AfterSuccessContext(HookContext):
|
|
48
54
|
class AfterErrorContext(HookContext):
|
49
55
|
def __init__(self, hook_ctx: HookContext):
|
50
56
|
super().__init__(
|
57
|
+
hook_ctx.config,
|
51
58
|
hook_ctx.base_url,
|
52
59
|
hook_ctx.operation_id,
|
53
60
|
hook_ctx.oauth2_scopes,
|
@@ -3,10 +3,10 @@
|
|
3
3
|
import importlib.metadata
|
4
4
|
|
5
5
|
__title__: str = "mixpeek"
|
6
|
-
__version__: str = "0.
|
6
|
+
__version__: str = "0.22.0"
|
7
7
|
__openapi_doc_version__: str = "0.81"
|
8
|
-
__gen_version__: str = "2.
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.
|
8
|
+
__gen_version__: str = "2.616.1"
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.22.0 2.616.1 0.81 mixpeek"
|
10
10
|
|
11
11
|
try:
|
12
12
|
if __package__ is not None:
|
@@ -214,12 +214,12 @@ class BaseSDK:
|
|
214
214
|
client = self.sdk_configuration.client
|
215
215
|
logger = self.sdk_configuration.debug_logger
|
216
216
|
|
217
|
+
hooks = self.sdk_configuration.__dict__["_hooks"]
|
218
|
+
|
217
219
|
def do():
|
218
220
|
http_res = None
|
219
221
|
try:
|
220
|
-
req =
|
221
|
-
BeforeRequestContext(hook_ctx), request
|
222
|
-
)
|
222
|
+
req = hooks.before_request(BeforeRequestContext(hook_ctx), request)
|
223
223
|
logger.debug(
|
224
224
|
"Request:\nMethod: %s\nURL: %s\nHeaders: %s\nBody: %s",
|
225
225
|
req.method,
|
@@ -233,9 +233,7 @@ class BaseSDK:
|
|
233
233
|
|
234
234
|
http_res = client.send(req, stream=stream)
|
235
235
|
except Exception as e:
|
236
|
-
_, e =
|
237
|
-
AfterErrorContext(hook_ctx), None, e
|
238
|
-
)
|
236
|
+
_, e = hooks.after_error(AfterErrorContext(hook_ctx), None, e)
|
239
237
|
if e is not None:
|
240
238
|
logger.debug("Request Exception", exc_info=True)
|
241
239
|
raise e
|
@@ -253,7 +251,7 @@ class BaseSDK:
|
|
253
251
|
)
|
254
252
|
|
255
253
|
if utils.match_status_codes(error_status_codes, http_res.status_code):
|
256
|
-
result, err =
|
254
|
+
result, err = hooks.after_error(
|
257
255
|
AfterErrorContext(hook_ctx), http_res, None
|
258
256
|
)
|
259
257
|
if err is not None:
|
@@ -273,9 +271,7 @@ class BaseSDK:
|
|
273
271
|
http_res = do()
|
274
272
|
|
275
273
|
if not utils.match_status_codes(error_status_codes, http_res.status_code):
|
276
|
-
http_res =
|
277
|
-
AfterSuccessContext(hook_ctx), http_res
|
278
|
-
)
|
274
|
+
http_res = hooks.after_success(AfterSuccessContext(hook_ctx), http_res)
|
279
275
|
|
280
276
|
return http_res
|
281
277
|
|
@@ -290,12 +286,12 @@ class BaseSDK:
|
|
290
286
|
client = self.sdk_configuration.async_client
|
291
287
|
logger = self.sdk_configuration.debug_logger
|
292
288
|
|
289
|
+
hooks = self.sdk_configuration.__dict__["_hooks"]
|
290
|
+
|
293
291
|
async def do():
|
294
292
|
http_res = None
|
295
293
|
try:
|
296
|
-
req =
|
297
|
-
BeforeRequestContext(hook_ctx), request
|
298
|
-
)
|
294
|
+
req = hooks.before_request(BeforeRequestContext(hook_ctx), request)
|
299
295
|
logger.debug(
|
300
296
|
"Request:\nMethod: %s\nURL: %s\nHeaders: %s\nBody: %s",
|
301
297
|
req.method,
|
@@ -309,9 +305,7 @@ class BaseSDK:
|
|
309
305
|
|
310
306
|
http_res = await client.send(req, stream=stream)
|
311
307
|
except Exception as e:
|
312
|
-
_, e =
|
313
|
-
AfterErrorContext(hook_ctx), None, e
|
314
|
-
)
|
308
|
+
_, e = hooks.after_error(AfterErrorContext(hook_ctx), None, e)
|
315
309
|
if e is not None:
|
316
310
|
logger.debug("Request Exception", exc_info=True)
|
317
311
|
raise e
|
@@ -329,7 +323,7 @@ class BaseSDK:
|
|
329
323
|
)
|
330
324
|
|
331
325
|
if utils.match_status_codes(error_status_codes, http_res.status_code):
|
332
|
-
result, err =
|
326
|
+
result, err = hooks.after_error(
|
333
327
|
AfterErrorContext(hook_ctx), http_res, None
|
334
328
|
)
|
335
329
|
if err is not None:
|
@@ -351,8 +345,6 @@ class BaseSDK:
|
|
351
345
|
http_res = await do()
|
352
346
|
|
353
347
|
if not utils.match_status_codes(error_status_codes, http_res.status_code):
|
354
|
-
http_res =
|
355
|
-
AfterSuccessContext(hook_ctx), http_res
|
356
|
-
)
|
348
|
+
http_res = hooks.after_success(AfterSuccessContext(hook_ctx), http_res)
|
357
349
|
|
358
350
|
return http_res
|
@@ -5,7 +5,7 @@ from mixpeek import models, utils
|
|
5
5
|
from mixpeek._hooks import HookContext
|
6
6
|
from mixpeek.types import OptionalNullable, UNSET
|
7
7
|
from mixpeek.utils import get_security_from_env
|
8
|
-
from typing import Any, List, Mapping, Optional, Union
|
8
|
+
from typing import Any, Dict, List, Mapping, Optional, Union
|
9
9
|
|
10
10
|
|
11
11
|
class BucketObjects(BaseSDK):
|
@@ -20,12 +20,7 @@ class BucketObjects(BaseSDK):
|
|
20
20
|
List[models.CreateBlobRequest], List[models.CreateBlobRequestTypedDict]
|
21
21
|
]
|
22
22
|
] = None,
|
23
|
-
metadata: Optional[
|
24
|
-
Union[
|
25
|
-
models.CreateObjectRequestMetadata,
|
26
|
-
models.CreateObjectRequestMetadataTypedDict,
|
27
|
-
]
|
28
|
-
] = None,
|
23
|
+
metadata: Optional[Dict[str, Any]] = None,
|
29
24
|
skip_duplicates: Optional[bool] = False,
|
30
25
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
31
26
|
server_url: Optional[str] = None,
|
@@ -66,9 +61,7 @@ class BucketObjects(BaseSDK):
|
|
66
61
|
blobs=utils.get_pydantic_model(
|
67
62
|
blobs, Optional[List[models.CreateBlobRequest]]
|
68
63
|
),
|
69
|
-
metadata=
|
70
|
-
metadata, Optional[models.CreateObjectRequestMetadata]
|
71
|
-
),
|
64
|
+
metadata=metadata,
|
72
65
|
skip_duplicates=skip_duplicates,
|
73
66
|
),
|
74
67
|
)
|
@@ -106,6 +99,7 @@ class BucketObjects(BaseSDK):
|
|
106
99
|
|
107
100
|
http_res = self.do_request(
|
108
101
|
hook_ctx=HookContext(
|
102
|
+
config=self.sdk_configuration,
|
109
103
|
base_url=base_url or "",
|
110
104
|
operation_id="create_object_v1_buckets__bucket_identifier__objects_create_post",
|
111
105
|
oauth2_scopes=[],
|
@@ -169,12 +163,7 @@ class BucketObjects(BaseSDK):
|
|
169
163
|
List[models.CreateBlobRequest], List[models.CreateBlobRequestTypedDict]
|
170
164
|
]
|
171
165
|
] = None,
|
172
|
-
metadata: Optional[
|
173
|
-
Union[
|
174
|
-
models.CreateObjectRequestMetadata,
|
175
|
-
models.CreateObjectRequestMetadataTypedDict,
|
176
|
-
]
|
177
|
-
] = None,
|
166
|
+
metadata: Optional[Dict[str, Any]] = None,
|
178
167
|
skip_duplicates: Optional[bool] = False,
|
179
168
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
180
169
|
server_url: Optional[str] = None,
|
@@ -215,9 +204,7 @@ class BucketObjects(BaseSDK):
|
|
215
204
|
blobs=utils.get_pydantic_model(
|
216
205
|
blobs, Optional[List[models.CreateBlobRequest]]
|
217
206
|
),
|
218
|
-
metadata=
|
219
|
-
metadata, Optional[models.CreateObjectRequestMetadata]
|
220
|
-
),
|
207
|
+
metadata=metadata,
|
221
208
|
skip_duplicates=skip_duplicates,
|
222
209
|
),
|
223
210
|
)
|
@@ -255,6 +242,7 @@ class BucketObjects(BaseSDK):
|
|
255
242
|
|
256
243
|
http_res = await self.do_request_async(
|
257
244
|
hook_ctx=HookContext(
|
245
|
+
config=self.sdk_configuration,
|
258
246
|
base_url=base_url or "",
|
259
247
|
operation_id="create_object_v1_buckets__bucket_identifier__objects_create_post",
|
260
248
|
oauth2_scopes=[],
|
@@ -374,6 +362,7 @@ class BucketObjects(BaseSDK):
|
|
374
362
|
|
375
363
|
http_res = self.do_request(
|
376
364
|
hook_ctx=HookContext(
|
365
|
+
config=self.sdk_configuration,
|
377
366
|
base_url=base_url or "",
|
378
367
|
operation_id="get_object_v1_buckets__bucket_identifier__objects__object_identifier__get",
|
379
368
|
oauth2_scopes=[],
|
@@ -493,6 +482,7 @@ class BucketObjects(BaseSDK):
|
|
493
482
|
|
494
483
|
http_res = await self.do_request_async(
|
495
484
|
hook_ctx=HookContext(
|
485
|
+
config=self.sdk_configuration,
|
496
486
|
base_url=base_url or "",
|
497
487
|
operation_id="get_object_v1_buckets__bucket_identifier__objects__object_identifier__get",
|
498
488
|
oauth2_scopes=[],
|
@@ -557,12 +547,7 @@ class BucketObjects(BaseSDK):
|
|
557
547
|
List[models.CreateBlobRequest], List[models.CreateBlobRequestTypedDict]
|
558
548
|
]
|
559
549
|
] = UNSET,
|
560
|
-
metadata: OptionalNullable[
|
561
|
-
Union[
|
562
|
-
models.UpdateObjectRequestMetadata,
|
563
|
-
models.UpdateObjectRequestMetadataTypedDict,
|
564
|
-
]
|
565
|
-
] = UNSET,
|
550
|
+
metadata: OptionalNullable[Dict[str, Any]] = UNSET,
|
566
551
|
skip_duplicates: OptionalNullable[bool] = UNSET,
|
567
552
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
568
553
|
server_url: Optional[str] = None,
|
@@ -605,9 +590,7 @@ class BucketObjects(BaseSDK):
|
|
605
590
|
blobs=utils.get_pydantic_model(
|
606
591
|
blobs, OptionalNullable[List[models.CreateBlobRequest]]
|
607
592
|
),
|
608
|
-
metadata=
|
609
|
-
metadata, OptionalNullable[models.UpdateObjectRequestMetadata]
|
610
|
-
),
|
593
|
+
metadata=metadata,
|
611
594
|
skip_duplicates=skip_duplicates,
|
612
595
|
),
|
613
596
|
)
|
@@ -645,6 +628,7 @@ class BucketObjects(BaseSDK):
|
|
645
628
|
|
646
629
|
http_res = self.do_request(
|
647
630
|
hook_ctx=HookContext(
|
631
|
+
config=self.sdk_configuration,
|
648
632
|
base_url=base_url or "",
|
649
633
|
operation_id="update_object_v1_buckets__bucket_identifier__objects__object_identifier__put",
|
650
634
|
oauth2_scopes=[],
|
@@ -709,12 +693,7 @@ class BucketObjects(BaseSDK):
|
|
709
693
|
List[models.CreateBlobRequest], List[models.CreateBlobRequestTypedDict]
|
710
694
|
]
|
711
695
|
] = UNSET,
|
712
|
-
metadata: OptionalNullable[
|
713
|
-
Union[
|
714
|
-
models.UpdateObjectRequestMetadata,
|
715
|
-
models.UpdateObjectRequestMetadataTypedDict,
|
716
|
-
]
|
717
|
-
] = UNSET,
|
696
|
+
metadata: OptionalNullable[Dict[str, Any]] = UNSET,
|
718
697
|
skip_duplicates: OptionalNullable[bool] = UNSET,
|
719
698
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
720
699
|
server_url: Optional[str] = None,
|
@@ -757,9 +736,7 @@ class BucketObjects(BaseSDK):
|
|
757
736
|
blobs=utils.get_pydantic_model(
|
758
737
|
blobs, OptionalNullable[List[models.CreateBlobRequest]]
|
759
738
|
),
|
760
|
-
metadata=
|
761
|
-
metadata, OptionalNullable[models.UpdateObjectRequestMetadata]
|
762
|
-
),
|
739
|
+
metadata=metadata,
|
763
740
|
skip_duplicates=skip_duplicates,
|
764
741
|
),
|
765
742
|
)
|
@@ -797,6 +774,7 @@ class BucketObjects(BaseSDK):
|
|
797
774
|
|
798
775
|
http_res = await self.do_request_async(
|
799
776
|
hook_ctx=HookContext(
|
777
|
+
config=self.sdk_configuration,
|
800
778
|
base_url=base_url or "",
|
801
779
|
operation_id="update_object_v1_buckets__bucket_identifier__objects__object_identifier__put",
|
802
780
|
oauth2_scopes=[],
|
@@ -914,6 +892,7 @@ class BucketObjects(BaseSDK):
|
|
914
892
|
|
915
893
|
http_res = self.do_request(
|
916
894
|
hook_ctx=HookContext(
|
895
|
+
config=self.sdk_configuration,
|
917
896
|
base_url=base_url or "",
|
918
897
|
operation_id="delete_object_v1_buckets__bucket_identifier__objects__object_identifier__delete",
|
919
898
|
oauth2_scopes=[],
|
@@ -1031,6 +1010,7 @@ class BucketObjects(BaseSDK):
|
|
1031
1010
|
|
1032
1011
|
http_res = await self.do_request_async(
|
1033
1012
|
hook_ctx=HookContext(
|
1013
|
+
config=self.sdk_configuration,
|
1034
1014
|
base_url=base_url or "",
|
1035
1015
|
operation_id="delete_object_v1_buckets__bucket_identifier__objects__object_identifier__delete",
|
1036
1016
|
oauth2_scopes=[],
|
@@ -1177,6 +1157,7 @@ class BucketObjects(BaseSDK):
|
|
1177
1157
|
|
1178
1158
|
http_res = self.do_request(
|
1179
1159
|
hook_ctx=HookContext(
|
1160
|
+
config=self.sdk_configuration,
|
1180
1161
|
base_url=base_url or "",
|
1181
1162
|
operation_id="list_objects_v1_buckets__bucket_identifier__objects_post",
|
1182
1163
|
oauth2_scopes=[],
|
@@ -1323,6 +1304,7 @@ class BucketObjects(BaseSDK):
|
|
1323
1304
|
|
1324
1305
|
http_res = await self.do_request_async(
|
1325
1306
|
hook_ctx=HookContext(
|
1307
|
+
config=self.sdk_configuration,
|
1326
1308
|
base_url=base_url or "",
|
1327
1309
|
operation_id="list_objects_v1_buckets__bucket_identifier__objects_post",
|
1328
1310
|
oauth2_scopes=[],
|
@@ -5,7 +5,7 @@ from mixpeek import models, utils
|
|
5
5
|
from mixpeek._hooks import HookContext
|
6
6
|
from mixpeek.types import OptionalNullable, UNSET
|
7
7
|
from mixpeek.utils import get_security_from_env
|
8
|
-
from typing import Any, Mapping, Optional, Union
|
8
|
+
from typing import Any, Dict, Mapping, Optional, Union
|
9
9
|
|
10
10
|
|
11
11
|
class Buckets(BaseSDK):
|
@@ -18,12 +18,7 @@ class Buckets(BaseSDK):
|
|
18
18
|
],
|
19
19
|
x_namespace: OptionalNullable[str] = UNSET,
|
20
20
|
description: OptionalNullable[str] = UNSET,
|
21
|
-
metadata: Optional[
|
22
|
-
Union[
|
23
|
-
models.BucketCreateRequestMetadata,
|
24
|
-
models.BucketCreateRequestMetadataTypedDict,
|
25
|
-
]
|
26
|
-
] = None,
|
21
|
+
metadata: Optional[Dict[str, Any]] = None,
|
27
22
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
28
23
|
server_url: Optional[str] = None,
|
29
24
|
timeout_ms: Optional[int] = None,
|
@@ -63,9 +58,7 @@ class Buckets(BaseSDK):
|
|
63
58
|
bucket_schema=utils.get_pydantic_model(
|
64
59
|
bucket_schema, models.BucketSchemaInput
|
65
60
|
),
|
66
|
-
metadata=
|
67
|
-
metadata, Optional[models.BucketCreateRequestMetadata]
|
68
|
-
),
|
61
|
+
metadata=metadata,
|
69
62
|
),
|
70
63
|
)
|
71
64
|
|
@@ -102,6 +95,7 @@ class Buckets(BaseSDK):
|
|
102
95
|
|
103
96
|
http_res = self.do_request(
|
104
97
|
hook_ctx=HookContext(
|
98
|
+
config=self.sdk_configuration,
|
105
99
|
base_url=base_url or "",
|
106
100
|
operation_id="create_bucket_v1_buckets_create_post",
|
107
101
|
oauth2_scopes=[],
|
@@ -163,12 +157,7 @@ class Buckets(BaseSDK):
|
|
163
157
|
],
|
164
158
|
x_namespace: OptionalNullable[str] = UNSET,
|
165
159
|
description: OptionalNullable[str] = UNSET,
|
166
|
-
metadata: Optional[
|
167
|
-
Union[
|
168
|
-
models.BucketCreateRequestMetadata,
|
169
|
-
models.BucketCreateRequestMetadataTypedDict,
|
170
|
-
]
|
171
|
-
] = None,
|
160
|
+
metadata: Optional[Dict[str, Any]] = None,
|
172
161
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
173
162
|
server_url: Optional[str] = None,
|
174
163
|
timeout_ms: Optional[int] = None,
|
@@ -208,9 +197,7 @@ class Buckets(BaseSDK):
|
|
208
197
|
bucket_schema=utils.get_pydantic_model(
|
209
198
|
bucket_schema, models.BucketSchemaInput
|
210
199
|
),
|
211
|
-
metadata=
|
212
|
-
metadata, Optional[models.BucketCreateRequestMetadata]
|
213
|
-
),
|
200
|
+
metadata=metadata,
|
214
201
|
),
|
215
202
|
)
|
216
203
|
|
@@ -247,6 +234,7 @@ class Buckets(BaseSDK):
|
|
247
234
|
|
248
235
|
http_res = await self.do_request_async(
|
249
236
|
hook_ctx=HookContext(
|
237
|
+
config=self.sdk_configuration,
|
250
238
|
base_url=base_url or "",
|
251
239
|
operation_id="create_bucket_v1_buckets_create_post",
|
252
240
|
oauth2_scopes=[],
|
@@ -361,6 +349,7 @@ class Buckets(BaseSDK):
|
|
361
349
|
|
362
350
|
http_res = self.do_request(
|
363
351
|
hook_ctx=HookContext(
|
352
|
+
config=self.sdk_configuration,
|
364
353
|
base_url=base_url or "",
|
365
354
|
operation_id="get_bucket_v1_buckets__bucket_identifier__get",
|
366
355
|
oauth2_scopes=[],
|
@@ -475,6 +464,7 @@ class Buckets(BaseSDK):
|
|
475
464
|
|
476
465
|
http_res = await self.do_request_async(
|
477
466
|
hook_ctx=HookContext(
|
467
|
+
config=self.sdk_configuration,
|
478
468
|
base_url=base_url or "",
|
479
469
|
operation_id="get_bucket_v1_buckets__bucket_identifier__get",
|
480
470
|
oauth2_scopes=[],
|
@@ -534,9 +524,7 @@ class Buckets(BaseSDK):
|
|
534
524
|
x_namespace: OptionalNullable[str] = UNSET,
|
535
525
|
bucket_name: OptionalNullable[str] = UNSET,
|
536
526
|
description: OptionalNullable[str] = UNSET,
|
537
|
-
metadata: OptionalNullable[
|
538
|
-
Union[models.Metadata, models.MetadataTypedDict]
|
539
|
-
] = UNSET,
|
527
|
+
metadata: OptionalNullable[Dict[str, Any]] = UNSET,
|
540
528
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
541
529
|
server_url: Optional[str] = None,
|
542
530
|
timeout_ms: Optional[int] = None,
|
@@ -573,9 +561,7 @@ class Buckets(BaseSDK):
|
|
573
561
|
bucket_update_request=models.BucketUpdateRequest(
|
574
562
|
bucket_name=bucket_name,
|
575
563
|
description=description,
|
576
|
-
metadata=
|
577
|
-
metadata, OptionalNullable[models.Metadata]
|
578
|
-
),
|
564
|
+
metadata=metadata,
|
579
565
|
),
|
580
566
|
)
|
581
567
|
|
@@ -612,6 +598,7 @@ class Buckets(BaseSDK):
|
|
612
598
|
|
613
599
|
http_res = self.do_request(
|
614
600
|
hook_ctx=HookContext(
|
601
|
+
config=self.sdk_configuration,
|
615
602
|
base_url=base_url or "",
|
616
603
|
operation_id="update_bucket_v1_buckets__bucket_identifier__put",
|
617
604
|
oauth2_scopes=[],
|
@@ -671,9 +658,7 @@ class Buckets(BaseSDK):
|
|
671
658
|
x_namespace: OptionalNullable[str] = UNSET,
|
672
659
|
bucket_name: OptionalNullable[str] = UNSET,
|
673
660
|
description: OptionalNullable[str] = UNSET,
|
674
|
-
metadata: OptionalNullable[
|
675
|
-
Union[models.Metadata, models.MetadataTypedDict]
|
676
|
-
] = UNSET,
|
661
|
+
metadata: OptionalNullable[Dict[str, Any]] = UNSET,
|
677
662
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
678
663
|
server_url: Optional[str] = None,
|
679
664
|
timeout_ms: Optional[int] = None,
|
@@ -710,9 +695,7 @@ class Buckets(BaseSDK):
|
|
710
695
|
bucket_update_request=models.BucketUpdateRequest(
|
711
696
|
bucket_name=bucket_name,
|
712
697
|
description=description,
|
713
|
-
metadata=
|
714
|
-
metadata, OptionalNullable[models.Metadata]
|
715
|
-
),
|
698
|
+
metadata=metadata,
|
716
699
|
),
|
717
700
|
)
|
718
701
|
|
@@ -749,6 +732,7 @@ class Buckets(BaseSDK):
|
|
749
732
|
|
750
733
|
http_res = await self.do_request_async(
|
751
734
|
hook_ctx=HookContext(
|
735
|
+
config=self.sdk_configuration,
|
752
736
|
base_url=base_url or "",
|
753
737
|
operation_id="update_bucket_v1_buckets__bucket_identifier__put",
|
754
738
|
oauth2_scopes=[],
|
@@ -863,6 +847,7 @@ class Buckets(BaseSDK):
|
|
863
847
|
|
864
848
|
http_res = self.do_request(
|
865
849
|
hook_ctx=HookContext(
|
850
|
+
config=self.sdk_configuration,
|
866
851
|
base_url=base_url or "",
|
867
852
|
operation_id="delete_bucket_v1_buckets__bucket_identifier__delete",
|
868
853
|
oauth2_scopes=[],
|
@@ -977,6 +962,7 @@ class Buckets(BaseSDK):
|
|
977
962
|
|
978
963
|
http_res = await self.do_request_async(
|
979
964
|
hook_ctx=HookContext(
|
965
|
+
config=self.sdk_configuration,
|
980
966
|
base_url=base_url or "",
|
981
967
|
operation_id="delete_bucket_v1_buckets__bucket_identifier__delete",
|
982
968
|
oauth2_scopes=[],
|
@@ -1108,6 +1094,7 @@ class Buckets(BaseSDK):
|
|
1108
1094
|
|
1109
1095
|
http_res = self.do_request(
|
1110
1096
|
hook_ctx=HookContext(
|
1097
|
+
config=self.sdk_configuration,
|
1111
1098
|
base_url=base_url or "",
|
1112
1099
|
operation_id="list_buckets_v1_buckets_post",
|
1113
1100
|
oauth2_scopes=[],
|
@@ -1239,6 +1226,7 @@ class Buckets(BaseSDK):
|
|
1239
1226
|
|
1240
1227
|
http_res = await self.do_request_async(
|
1241
1228
|
hook_ctx=HookContext(
|
1229
|
+
config=self.sdk_configuration,
|
1242
1230
|
base_url=base_url or "",
|
1243
1231
|
operation_id="list_buckets_v1_buckets_post",
|
1244
1232
|
oauth2_scopes=[],
|
@@ -105,6 +105,7 @@ class Clusters(BaseSDK):
|
|
105
105
|
|
106
106
|
http_res = self.do_request(
|
107
107
|
hook_ctx=HookContext(
|
108
|
+
config=self.sdk_configuration,
|
108
109
|
base_url=base_url or "",
|
109
110
|
operation_id="create_cluster_v1_clusters_post",
|
110
111
|
oauth2_scopes=[],
|
@@ -253,6 +254,7 @@ class Clusters(BaseSDK):
|
|
253
254
|
|
254
255
|
http_res = await self.do_request_async(
|
255
256
|
hook_ctx=HookContext(
|
257
|
+
config=self.sdk_configuration,
|
256
258
|
base_url=base_url or "",
|
257
259
|
operation_id="create_cluster_v1_clusters_post",
|
258
260
|
oauth2_scopes=[],
|