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.
Files changed (179) hide show
  1. {mixpeek-0.14.0 → mixpeek-0.15.0}/PKG-INFO +12 -12
  2. {mixpeek-0.14.0 → mixpeek-0.15.0}/README-PYPI.md +11 -11
  3. {mixpeek-0.14.0 → mixpeek-0.15.0}/pyproject.toml +1 -1
  4. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/_version.py +1 -1
  5. mixpeek-0.15.0/src/mixpeek/models/internal/__init__.py +5 -0
  6. mixpeek-0.15.0/src/mixpeek/models/internal/globals.py +22 -0
  7. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/security.py +2 -2
  8. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/sdk.py +15 -5
  9. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/sdkconfiguration.py +4 -2
  10. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/security.py +2 -2
  11. {mixpeek-0.14.0 → mixpeek-0.15.0}/py.typed +0 -0
  12. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/__init__.py +0 -0
  13. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/_hooks/__init__.py +0 -0
  14. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/_hooks/registration.py +0 -0
  15. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/_hooks/sdkhooks.py +0 -0
  16. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/_hooks/types.py +0 -0
  17. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/assets.py +0 -0
  18. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/basesdk.py +0 -0
  19. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/collections.py +0 -0
  20. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/featureextractors.py +0 -0
  21. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/features.py +0 -0
  22. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/health.py +0 -0
  23. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/httpclient.py +0 -0
  24. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/ingest.py +0 -0
  25. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/interactions.py +0 -0
  26. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/__init__.py +0 -0
  27. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/actionusage.py +0 -0
  28. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/apierror.py +0 -0
  29. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/apikey.py +0 -0
  30. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/apikeyupdate.py +0 -0
  31. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/assetfeatures.py +0 -0
  32. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/assetresponse.py +0 -0
  33. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/assets_model_searchquery.py +0 -0
  34. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/assetupdate.py +0 -0
  35. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/availableindexesresponse.py +0 -0
  36. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/availablemodels.py +0 -0
  37. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/boolindexparams.py +0 -0
  38. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/collectionmodel.py +0 -0
  39. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/collectionresult.py +0 -0
  40. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/create_api_key_organizations_users_user_email_api_keys_postop.py +0 -0
  41. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/create_collection_collections_postop.py +0 -0
  42. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/create_interaction_features_search_interactions_postop.py +0 -0
  43. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/createcollectionrequest.py +0 -0
  44. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/createnamespacerequest.py +0 -0
  45. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/datetimeindexparams.py +0 -0
  46. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/dateusage.py +0 -0
  47. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/db_model_paginationresponse.py +0 -0
  48. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/db_model_taskresponse.py +0 -0
  49. {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
  50. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/delete_asset_assets_asset_id_deleteop.py +0 -0
  51. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/delete_collection_collections_collection_deleteop.py +0 -0
  52. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/delete_feature_features_feature_id_deleteop.py +0 -0
  53. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/delete_interaction_features_search_interactions_interaction_id_deleteop.py +0 -0
  54. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/delete_namespace_namespaces_namespace_deleteop.py +0 -0
  55. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/delete_user_organizations_users_user_email_deleteop.py +0 -0
  56. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/denseembedding.py +0 -0
  57. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/embeddingrequest.py +0 -0
  58. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/embeddingresponse.py +0 -0
  59. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/errordetail.py +0 -0
  60. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/errorresponse.py +0 -0
  61. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/facedetectsettings.py +0 -0
  62. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/featureextractionembeddingrequest.py +0 -0
  63. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/featureresponse.py +0 -0
  64. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/features_model_paginationresponse.py +0 -0
  65. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/featureupdaterequest.py +0 -0
  66. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/filtercondition.py +0 -0
  67. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/floatindexparams.py +0 -0
  68. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/full_asset_update_assets_asset_id_putop.py +0 -0
  69. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/full_feature_update_features_feature_id_putop.py +0 -0
  70. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/geoindexparams.py +0 -0
  71. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/get_asset_assets_asset_id_getop.py +0 -0
  72. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/get_asset_with_features_assets_asset_id_features_getop.py +0 -0
  73. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/get_collection_collections_collection_getop.py +0 -0
  74. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/get_feature_features_feature_id_getop.py +0 -0
  75. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/get_interaction_features_search_interactions_interaction_id_getop.py +0 -0
  76. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/get_namespace_namespaces_namespace_getop.py +0 -0
  77. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/get_task_tasks_task_id_getop.py +0 -0
  78. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/get_user_organizations_users_user_email_getop.py +0 -0
  79. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/groupbyoptions.py +0 -0
  80. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/groupbyoptionsasset.py +0 -0
  81. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/groupedassetdata.py +0 -0
  82. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/healthcheckresponse.py +0 -0
  83. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/httpvalidationerror.py +0 -0
  84. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/imagedescribesettings.py +0 -0
  85. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/imagedetectsettings.py +0 -0
  86. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/imagereadsettings.py +0 -0
  87. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/imagesettings.py +0 -0
  88. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/ingest_image_url_ingest_images_url_postop.py +0 -0
  89. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/ingest_text_ingest_text_postop.py +0 -0
  90. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/ingest_video_url_ingest_videos_url_postop.py +0 -0
  91. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/inputtype.py +0 -0
  92. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/integerindexparams.py +0 -0
  93. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/interactionresponse.py +0 -0
  94. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/interactiontype.py +0 -0
  95. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/jsonimageoutputsettings.py +0 -0
  96. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/jsontextoutputsettings.py +0 -0
  97. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/jsonvideooutputsettings.py +0 -0
  98. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/keywordindexparams.py +0 -0
  99. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/kill_task_tasks_task_id_deleteop.py +0 -0
  100. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/list_assets_assets_postop.py +0 -0
  101. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/list_collections_collections_getop.py +0 -0
  102. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/list_features_features_postop.py +0 -0
  103. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/list_interactions_features_search_interactions_getop.py +0 -0
  104. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/listassetsrequest.py +0 -0
  105. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/listassetsresponse.py +0 -0
  106. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/listcollectionsresponse.py +0 -0
  107. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/listfeaturesrequest.py +0 -0
  108. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/listfeaturesresponse.py +0 -0
  109. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/logicaloperator_input.py +0 -0
  110. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/logicaloperator_output.py +0 -0
  111. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/logodetectsettings.py +0 -0
  112. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/modality.py +0 -0
  113. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/modeldetails.py +0 -0
  114. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/namespaceresponse.py +0 -0
  115. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/organizationmodel.py +0 -0
  116. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/partial_asset_update_assets_asset_id_patchop.py +0 -0
  117. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/payloadindexconfig.py +0 -0
  118. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/payloadindextype.py +0 -0
  119. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/payloadschematype.py +0 -0
  120. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/percolaterequest.py +0 -0
  121. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/permission.py +0 -0
  122. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/processimageurlinput.py +0 -0
  123. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/processtextinput.py +0 -0
  124. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/processvideourlinput.py +0 -0
  125. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/querysettings.py +0 -0
  126. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/rerankingoptions.py +0 -0
  127. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/search_assets_assets_search_postop.py +0 -0
  128. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/search_features_features_search_postop.py +0 -0
  129. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/search_model_searchquery_input.py +0 -0
  130. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/searchassetsrequest.py +0 -0
  131. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/searchinteraction.py +0 -0
  132. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/searchquery_output.py +0 -0
  133. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/searchrequestfeatures_input.py +0 -0
  134. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/searchrequestfeatures_output.py +0 -0
  135. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/sortoption.py +0 -0
  136. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/sparseembedding.py +0 -0
  137. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/tasks_model_taskresponse.py +0 -0
  138. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/taskstatus.py +0 -0
  139. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/textindexparams.py +0 -0
  140. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/textsettings.py +0 -0
  141. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/tokenizertype.py +0 -0
  142. {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
  143. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/update_collection_collections_collection_putop.py +0 -0
  144. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/update_namespace_namespaces_namespace_putop.py +0 -0
  145. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/updateassetrequest.py +0 -0
  146. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/updatenamespacerequest.py +0 -0
  147. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/usage.py +0 -0
  148. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/usermodel_input.py +0 -0
  149. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/usermodel_output.py +0 -0
  150. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/uuidindexparams.py +0 -0
  151. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/validationerror.py +0 -0
  152. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/vectormodel.py +0 -0
  153. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/vectortype.py +0 -0
  154. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/videodescribesettings.py +0 -0
  155. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/videodetectsettings.py +0 -0
  156. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/videoreadsettings.py +0 -0
  157. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/videosettings.py +0 -0
  158. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/models/videotranscriptionsettings.py +0 -0
  159. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/namespaces.py +0 -0
  160. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/organizations.py +0 -0
  161. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/py.typed +0 -0
  162. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/searchinteractions.py +0 -0
  163. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/tasks.py +0 -0
  164. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/types/__init__.py +0 -0
  165. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/types/basemodel.py +0 -0
  166. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/__init__.py +0 -0
  167. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/annotations.py +0 -0
  168. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/enums.py +0 -0
  169. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/eventstreaming.py +0 -0
  170. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/forms.py +0 -0
  171. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/headers.py +0 -0
  172. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/logger.py +0 -0
  173. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/metadata.py +0 -0
  174. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/queryparams.py +0 -0
  175. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/requestbodies.py +0 -0
  176. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/retries.py +0 -0
  177. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/serializers.py +0 -0
  178. {mixpeek-0.14.0 → mixpeek-0.15.0}/src/mixpeek/utils/url.py +0 -0
  179. {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.14.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
- bearer_auth=os.getenv("MIXPEEK_BEARER_AUTH", ""),
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
- bearer_auth=os.getenv("MIXPEEK_BEARER_AUTH", ""),
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 | Type | Scheme | Environment Variable |
137
- | ------------- | ---- | ----------- | --------------------- |
138
- | `bearer_auth` | http | HTTP Bearer | `MIXPEEK_BEARER_AUTH` |
136
+ | Name | Type | Scheme | Environment Variable |
137
+ | ------- | ---- | ----------- | -------------------- |
138
+ | `token` | http | HTTP Bearer | `MIXPEEK_TOKEN` |
139
139
 
140
- To authenticate with the API the `bearer_auth` parameter must be set when initializing the SDK client instance. For example:
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
- bearer_auth=os.getenv("MIXPEEK_BEARER_AUTH", ""),
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
- bearer_auth=os.getenv("MIXPEEK_BEARER_AUTH", ""),
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
- bearer_auth=os.getenv("MIXPEEK_BEARER_AUTH", ""),
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
- bearer_auth=os.getenv("MIXPEEK_BEARER_AUTH", ""),
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
- bearer_auth=os.getenv("MIXPEEK_BEARER_AUTH", ""),
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
- bearer_auth=os.getenv("MIXPEEK_BEARER_AUTH", ""),
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
- bearer_auth=os.getenv("MIXPEEK_BEARER_AUTH", ""),
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 | Type | Scheme | Environment Variable |
114
- | ------------- | ---- | ----------- | --------------------- |
115
- | `bearer_auth` | http | HTTP Bearer | `MIXPEEK_BEARER_AUTH` |
113
+ | Name | Type | Scheme | Environment Variable |
114
+ | ------- | ---- | ----------- | -------------------- |
115
+ | `token` | http | HTTP Bearer | `MIXPEEK_TOKEN` |
116
116
 
117
- To authenticate with the API the `bearer_auth` parameter must be set when initializing the SDK client instance. For example:
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
- bearer_auth=os.getenv("MIXPEEK_BEARER_AUTH", ""),
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
- bearer_auth=os.getenv("MIXPEEK_BEARER_AUTH", ""),
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
- bearer_auth=os.getenv("MIXPEEK_BEARER_AUTH", ""),
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
- bearer_auth=os.getenv("MIXPEEK_BEARER_AUTH", ""),
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
- bearer_auth=os.getenv("MIXPEEK_BEARER_AUTH", ""),
324
+ token=os.getenv("MIXPEEK_TOKEN", ""),
325
325
  ) as mixpeek:
326
326
 
327
327
  res = mixpeek.organizations.get()
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "mixpeek"
3
- version = "0.14.0"
3
+ version = "0.15.0"
4
4
  description = "Python Client SDK Generated by Speakeasy."
5
5
  authors = ["Speakeasy",]
6
6
  readme = "README-PYPI.md"
@@ -3,7 +3,7 @@
3
3
  import importlib.metadata
4
4
 
5
5
  __title__: str = "mixpeek"
6
- __version__: str = "0.14.0"
6
+ __version__: str = "0.15.0"
7
7
 
8
8
  try:
9
9
  if __package__ is not None:
@@ -0,0 +1,5 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from .globals import Globals, GlobalsTypedDict
4
+
5
+ __all__ = ["Globals", "GlobalsTypedDict"]
@@ -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
- bearer_auth: NotRequired[str]
11
+ token: NotRequired[str]
12
12
 
13
13
 
14
14
  class Security(BaseModel):
15
- bearer_auth: Annotated[
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
- bearer_auth: Optional[Union[Optional[str], Callable[[], Optional[str]]]] = None,
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 bearer_auth: The bearer_auth required for authentication
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(bearer_auth):
83
- security = lambda: models.Security(bearer_auth=bearer_auth()) # pylint: disable=unnecessary-lambda-assignment
85
+ if callable(token):
86
+ security = lambda: models.Security(token=token()) # pylint: disable=unnecessary-lambda-assignment
84
87
  else:
85
- security = models.Security(bearer_auth=bearer_auth)
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.14.0"
31
+ sdk_version: str = "0.15.0"
30
32
  gen_version: str = "2.484.0"
31
- user_agent: str = "speakeasy-sdk/python 0.14.0 2.484.0 0.81 mixpeek"
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("MIXPEEK_BEARER_AUTH"):
68
- security_dict["bearer_auth"] = os.getenv("MIXPEEK_BEARER_AUTH")
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