mixpeek 0.12.0__tar.gz → 0.13.1__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 (324) hide show
  1. mixpeek-0.13.1/PKG-INFO +427 -0
  2. mixpeek-0.13.1/README-PYPI.md +403 -0
  3. mixpeek-0.13.1/py.typed +1 -0
  4. mixpeek-0.13.1/pyproject.toml +55 -0
  5. mixpeek-0.13.1/src/mixpeek/__init__.py +9 -0
  6. mixpeek-0.13.1/src/mixpeek/_hooks/__init__.py +5 -0
  7. mixpeek-0.13.1/src/mixpeek/_hooks/registration.py +13 -0
  8. mixpeek-0.13.1/src/mixpeek/_hooks/sdkhooks.py +76 -0
  9. mixpeek-0.13.1/src/mixpeek/_hooks/types.py +94 -0
  10. mixpeek-0.13.1/src/mixpeek/_version.py +12 -0
  11. mixpeek-0.13.1/src/mixpeek/assets.py +1561 -0
  12. mixpeek-0.13.1/src/mixpeek/basesdk.py +350 -0
  13. mixpeek-0.13.1/src/mixpeek/collections.py +1029 -0
  14. mixpeek-0.13.1/src/mixpeek/featureextractors.py +205 -0
  15. mixpeek-0.13.1/src/mixpeek/features.py +1181 -0
  16. mixpeek-0.13.1/src/mixpeek/health.py +167 -0
  17. mixpeek-0.13.1/src/mixpeek/httpclient.py +84 -0
  18. mixpeek-0.13.1/src/mixpeek/ingest.py +831 -0
  19. mixpeek-0.13.1/src/mixpeek/interactions.py +221 -0
  20. mixpeek-0.13.1/src/mixpeek/models/__init__.py +751 -0
  21. mixpeek-0.13.1/src/mixpeek/models/actionusage.py +16 -0
  22. mixpeek-0.13.1/src/mixpeek/models/apierror.py +22 -0
  23. mixpeek-0.13.1/src/mixpeek/models/apikey.py +25 -0
  24. mixpeek-0.13.1/src/mixpeek/models/apikeyupdate.py +49 -0
  25. mixpeek-0.13.1/src/mixpeek/models/assetfeatures.py +55 -0
  26. mixpeek-0.13.1/src/mixpeek/models/assetresponse.py +166 -0
  27. mixpeek-0.13.1/src/mixpeek/models/assets_model_searchquery.py +21 -0
  28. mixpeek-0.13.1/src/mixpeek/models/assetupdate.py +28 -0
  29. mixpeek-0.13.1/src/mixpeek/models/availableindexesresponse.py +23 -0
  30. mixpeek-0.13.1/src/mixpeek/models/availablemodels.py +12 -0
  31. mixpeek-0.13.1/src/mixpeek/models/boolindexparams.py +18 -0
  32. mixpeek-0.13.1/src/mixpeek/models/collectionmodel.py +70 -0
  33. mixpeek-0.13.1/src/mixpeek/models/collectionresult.py +73 -0
  34. mixpeek-0.13.1/src/mixpeek/models/create_api_key_organizations_users_user_email_api_keys_postop.py +23 -0
  35. mixpeek-0.13.1/src/mixpeek/models/create_collection_collections_postop.py +62 -0
  36. mixpeek-0.13.1/src/mixpeek/models/create_interaction_features_search_interactions_postop.py +59 -0
  37. mixpeek-0.13.1/src/mixpeek/models/createcollectionrequest.py +59 -0
  38. mixpeek-0.13.1/src/mixpeek/models/createnamespacerequest.py +62 -0
  39. mixpeek-0.13.1/src/mixpeek/models/datetimeindexparams.py +18 -0
  40. mixpeek-0.13.1/src/mixpeek/models/dateusage.py +22 -0
  41. mixpeek-0.13.1/src/mixpeek/models/db_model_paginationresponse.py +59 -0
  42. mixpeek-0.13.1/src/mixpeek/models/db_model_taskresponse.py +20 -0
  43. mixpeek-0.13.1/src/mixpeek/models/delete_api_key_organizations_users_user_email_api_keys_key_name_deleteop.py +23 -0
  44. mixpeek-0.13.1/src/mixpeek/models/delete_asset_assets_asset_id_deleteop.py +57 -0
  45. mixpeek-0.13.1/src/mixpeek/models/delete_collection_collections_collection_deleteop.py +59 -0
  46. mixpeek-0.13.1/src/mixpeek/models/delete_feature_features_feature_id_deleteop.py +57 -0
  47. mixpeek-0.13.1/src/mixpeek/models/delete_interaction_features_search_interactions_interaction_id_deleteop.py +59 -0
  48. mixpeek-0.13.1/src/mixpeek/models/delete_namespace_namespaces_namespace_deleteop.py +18 -0
  49. mixpeek-0.13.1/src/mixpeek/models/delete_user_organizations_users_user_email_deleteop.py +16 -0
  50. mixpeek-0.13.1/src/mixpeek/models/denseembedding.py +16 -0
  51. mixpeek-0.13.1/src/mixpeek/models/embeddingrequest.py +59 -0
  52. mixpeek-0.13.1/src/mixpeek/models/embeddingresponse.py +64 -0
  53. mixpeek-0.13.1/src/mixpeek/models/errormessage.py +13 -0
  54. mixpeek-0.13.1/src/mixpeek/models/errorresponse.py +21 -0
  55. mixpeek-0.13.1/src/mixpeek/models/facedetectsettings.py +52 -0
  56. mixpeek-0.13.1/src/mixpeek/models/featureextractionembeddingrequest.py +54 -0
  57. mixpeek-0.13.1/src/mixpeek/models/featureresponse.py +74 -0
  58. mixpeek-0.13.1/src/mixpeek/models/features_model_paginationresponse.py +59 -0
  59. mixpeek-0.13.1/src/mixpeek/models/featureupdaterequest.py +21 -0
  60. mixpeek-0.13.1/src/mixpeek/models/filtercondition.py +74 -0
  61. mixpeek-0.13.1/src/mixpeek/models/floatindexparams.py +18 -0
  62. mixpeek-0.13.1/src/mixpeek/models/full_asset_update_assets_asset_id_putop.py +69 -0
  63. mixpeek-0.13.1/src/mixpeek/models/full_feature_update_features_feature_id_putop.py +69 -0
  64. mixpeek-0.13.1/src/mixpeek/models/geoindexparams.py +18 -0
  65. mixpeek-0.13.1/src/mixpeek/models/get_asset_assets_asset_id_getop.py +73 -0
  66. mixpeek-0.13.1/src/mixpeek/models/get_asset_with_features_assets_asset_id_features_getop.py +73 -0
  67. mixpeek-0.13.1/src/mixpeek/models/get_collection_collections_collection_getop.py +59 -0
  68. mixpeek-0.13.1/src/mixpeek/models/get_feature_features_feature_id_getop.py +70 -0
  69. mixpeek-0.13.1/src/mixpeek/models/get_interaction_features_search_interactions_interaction_id_getop.py +59 -0
  70. mixpeek-0.13.1/src/mixpeek/models/get_namespace_namespaces_namespace_getop.py +18 -0
  71. mixpeek-0.13.1/src/mixpeek/models/get_task_tasks_task_id_getop.py +57 -0
  72. mixpeek-0.13.1/src/mixpeek/models/get_user_organizations_users_user_email_getop.py +16 -0
  73. mixpeek-0.13.1/src/mixpeek/models/groupbyoptions.py +71 -0
  74. mixpeek-0.13.1/src/mixpeek/models/groupbyoptionsasset.py +71 -0
  75. mixpeek-0.13.1/src/mixpeek/models/groupedassetdata.py +18 -0
  76. mixpeek-0.13.1/src/mixpeek/models/healthcheckresponse.py +13 -0
  77. mixpeek-0.13.1/src/mixpeek/models/httpvalidationerror.py +21 -0
  78. mixpeek-0.13.1/src/mixpeek/models/imagedescribesettings.py +82 -0
  79. mixpeek-0.13.1/src/mixpeek/models/imagedetectsettings.py +53 -0
  80. mixpeek-0.13.1/src/mixpeek/models/imagereadsettings.py +71 -0
  81. mixpeek-0.13.1/src/mixpeek/models/imagesettings.py +79 -0
  82. mixpeek-0.13.1/src/mixpeek/models/ingest_image_url_ingest_images_url_postop.py +59 -0
  83. mixpeek-0.13.1/src/mixpeek/models/ingest_text_ingest_text_postop.py +59 -0
  84. mixpeek-0.13.1/src/mixpeek/models/ingest_video_url_ingest_videos_url_postop.py +59 -0
  85. mixpeek-0.13.1/src/mixpeek/models/inputtype.py +11 -0
  86. mixpeek-0.13.1/src/mixpeek/models/integerindexparams.py +24 -0
  87. mixpeek-0.13.1/src/mixpeek/models/interactionresponse.py +87 -0
  88. mixpeek-0.13.1/src/mixpeek/models/interactiontype.py +11 -0
  89. mixpeek-0.13.1/src/mixpeek/models/jsonimageoutputsettings.py +55 -0
  90. mixpeek-0.13.1/src/mixpeek/models/jsontextoutputsettings.py +55 -0
  91. mixpeek-0.13.1/src/mixpeek/models/jsonvideooutputsettings.py +55 -0
  92. mixpeek-0.13.1/src/mixpeek/models/keywordindexparams.py +21 -0
  93. mixpeek-0.13.1/src/mixpeek/models/kill_task_tasks_task_id_deleteop.py +57 -0
  94. mixpeek-0.13.1/src/mixpeek/models/list_assets_assets_postop.py +77 -0
  95. mixpeek-0.13.1/src/mixpeek/models/list_collections_collections_getop.py +65 -0
  96. mixpeek-0.13.1/src/mixpeek/models/list_features_features_postop.py +79 -0
  97. mixpeek-0.13.1/src/mixpeek/models/list_interactions_features_search_interactions_getop.py +96 -0
  98. mixpeek-0.13.1/src/mixpeek/models/listassetsrequest.py +75 -0
  99. mixpeek-0.13.1/src/mixpeek/models/listassetsresponse.py +22 -0
  100. mixpeek-0.13.1/src/mixpeek/models/listcollectionsresponse.py +22 -0
  101. mixpeek-0.13.1/src/mixpeek/models/listfeaturesrequest.py +77 -0
  102. mixpeek-0.13.1/src/mixpeek/models/listfeaturesresponse.py +22 -0
  103. mixpeek-0.13.1/src/mixpeek/models/logicaloperator_input.py +88 -0
  104. mixpeek-0.13.1/src/mixpeek/models/logicaloperator_output.py +103 -0
  105. mixpeek-0.13.1/src/mixpeek/models/logodetectsettings.py +52 -0
  106. mixpeek-0.13.1/src/mixpeek/models/modality.py +13 -0
  107. mixpeek-0.13.1/src/mixpeek/models/modeldetails.py +57 -0
  108. mixpeek-0.13.1/src/mixpeek/models/namespaceresponse.py +54 -0
  109. mixpeek-0.13.1/src/mixpeek/models/organizationmodel.py +45 -0
  110. mixpeek-0.13.1/src/mixpeek/models/partial_asset_update_assets_asset_id_patchop.py +69 -0
  111. mixpeek-0.13.1/src/mixpeek/models/payloadindexconfig.py +94 -0
  112. mixpeek-0.13.1/src/mixpeek/models/payloadindextype.py +17 -0
  113. mixpeek-0.13.1/src/mixpeek/models/payloadschematype.py +15 -0
  114. mixpeek-0.13.1/src/mixpeek/models/percolaterequest.py +57 -0
  115. mixpeek-0.13.1/src/mixpeek/models/permission.py +10 -0
  116. mixpeek-0.13.1/src/mixpeek/models/processimageurlinput.py +99 -0
  117. mixpeek-0.13.1/src/mixpeek/models/processtextinput.py +94 -0
  118. mixpeek-0.13.1/src/mixpeek/models/processvideourlinput.py +99 -0
  119. mixpeek-0.13.1/src/mixpeek/models/querysettings.py +56 -0
  120. mixpeek-0.13.1/src/mixpeek/models/rerankingoptions.py +47 -0
  121. mixpeek-0.13.1/src/mixpeek/models/search_assets_assets_search_postop.py +59 -0
  122. mixpeek-0.13.1/src/mixpeek/models/search_features_features_search_postop.py +96 -0
  123. mixpeek-0.13.1/src/mixpeek/models/search_model_searchquery_input.py +76 -0
  124. mixpeek-0.13.1/src/mixpeek/models/searchassetsrequest.py +78 -0
  125. mixpeek-0.13.1/src/mixpeek/models/searchinteraction.py +82 -0
  126. mixpeek-0.13.1/src/mixpeek/models/searchquery_output.py +79 -0
  127. mixpeek-0.13.1/src/mixpeek/models/searchrequestfeatures_input.py +151 -0
  128. mixpeek-0.13.1/src/mixpeek/models/searchrequestfeatures_output.py +151 -0
  129. mixpeek-0.13.1/src/mixpeek/models/sortoption.py +28 -0
  130. mixpeek-0.13.1/src/mixpeek/models/sparseembedding.py +21 -0
  131. mixpeek-0.13.1/src/mixpeek/models/tasks_model_taskresponse.py +24 -0
  132. mixpeek-0.13.1/src/mixpeek/models/taskstatus.py +16 -0
  133. mixpeek-0.13.1/src/mixpeek/models/textindexparams.py +31 -0
  134. mixpeek-0.13.1/src/mixpeek/models/textsettings.py +61 -0
  135. mixpeek-0.13.1/src/mixpeek/models/tokenizertype.py +11 -0
  136. mixpeek-0.13.1/src/mixpeek/models/update_api_key_organizations_users_user_email_api_keys_key_name_patchop.py +30 -0
  137. mixpeek-0.13.1/src/mixpeek/models/update_collection_collections_collection_putop.py +74 -0
  138. mixpeek-0.13.1/src/mixpeek/models/update_namespace_namespaces_namespace_putop.py +28 -0
  139. mixpeek-0.13.1/src/mixpeek/models/updateassetrequest.py +60 -0
  140. mixpeek-0.13.1/src/mixpeek/models/updatenamespacerequest.py +26 -0
  141. mixpeek-0.13.1/src/mixpeek/models/usage.py +18 -0
  142. mixpeek-0.13.1/src/mixpeek/models/usermodel_input.py +36 -0
  143. mixpeek-0.13.1/src/mixpeek/models/usermodel_output.py +36 -0
  144. mixpeek-0.13.1/src/mixpeek/models/uuidindexparams.py +21 -0
  145. mixpeek-0.13.1/src/mixpeek/models/validationerror.py +26 -0
  146. mixpeek-0.13.1/src/mixpeek/models/vectormodel.py +11 -0
  147. mixpeek-0.13.1/src/mixpeek/models/vectortype.py +9 -0
  148. mixpeek-0.13.1/src/mixpeek/models/videodescribesettings.py +82 -0
  149. mixpeek-0.13.1/src/mixpeek/models/videodetectsettings.py +53 -0
  150. mixpeek-0.13.1/src/mixpeek/models/videoreadsettings.py +71 -0
  151. mixpeek-0.13.1/src/mixpeek/models/videosettings.py +101 -0
  152. mixpeek-0.13.1/src/mixpeek/models/videotranscriptionsettings.py +69 -0
  153. mixpeek-0.13.1/src/mixpeek/namespaces.py +1143 -0
  154. mixpeek-0.13.1/src/mixpeek/organizations.py +1508 -0
  155. mixpeek-0.13.1/src/mixpeek/py.typed +1 -0
  156. mixpeek-0.13.1/src/mixpeek/sdk.py +135 -0
  157. mixpeek-0.13.1/src/mixpeek/sdkconfiguration.py +45 -0
  158. mixpeek-0.13.1/src/mixpeek/searchinteractions.py +647 -0
  159. mixpeek-0.13.1/src/mixpeek/tasks.py +387 -0
  160. mixpeek-0.13.1/src/mixpeek/types/__init__.py +21 -0
  161. mixpeek-0.13.1/src/mixpeek/types/basemodel.py +39 -0
  162. mixpeek-0.13.1/src/mixpeek/utils/__init__.py +97 -0
  163. mixpeek-0.13.1/src/mixpeek/utils/annotations.py +55 -0
  164. mixpeek-0.13.1/src/mixpeek/utils/enums.py +34 -0
  165. mixpeek-0.13.1/src/mixpeek/utils/eventstreaming.py +238 -0
  166. mixpeek-0.13.1/src/mixpeek/utils/forms.py +202 -0
  167. mixpeek-0.13.1/src/mixpeek/utils/headers.py +136 -0
  168. mixpeek-0.13.1/src/mixpeek/utils/logger.py +27 -0
  169. mixpeek-0.13.1/src/mixpeek/utils/metadata.py +118 -0
  170. mixpeek-0.13.1/src/mixpeek/utils/queryparams.py +205 -0
  171. mixpeek-0.13.1/src/mixpeek/utils/requestbodies.py +66 -0
  172. mixpeek-0.13.1/src/mixpeek/utils/retries.py +217 -0
  173. mixpeek-0.13.1/src/mixpeek/utils/security.py +174 -0
  174. mixpeek-0.13.1/src/mixpeek/utils/serializers.py +215 -0
  175. mixpeek-0.13.1/src/mixpeek/utils/url.py +155 -0
  176. mixpeek-0.13.1/src/mixpeek/utils/values.py +134 -0
  177. mixpeek-0.12.0/.gitignore +0 -16
  178. mixpeek-0.12.0/.release-please-manifest.json +0 -3
  179. mixpeek-0.12.0/CHANGELOG.md +0 -72
  180. mixpeek-0.12.0/CONTRIBUTING.md +0 -129
  181. mixpeek-0.12.0/LICENSE +0 -201
  182. mixpeek-0.12.0/PKG-INFO +0 -345
  183. mixpeek-0.12.0/README.md +0 -312
  184. mixpeek-0.12.0/SECURITY.md +0 -27
  185. mixpeek-0.12.0/api.md +0 -193
  186. mixpeek-0.12.0/bin/check-release-environment +0 -21
  187. mixpeek-0.12.0/bin/publish-pypi +0 -9
  188. mixpeek-0.12.0/examples/.keep +0 -4
  189. mixpeek-0.12.0/mypy.ini +0 -47
  190. mixpeek-0.12.0/noxfile.py +0 -9
  191. mixpeek-0.12.0/pyproject.toml +0 -207
  192. mixpeek-0.12.0/release-please-config.json +0 -66
  193. mixpeek-0.12.0/requirements-dev.lock +0 -102
  194. mixpeek-0.12.0/requirements.lock +0 -45
  195. mixpeek-0.12.0/src/mixpeek/__init__.py +0 -83
  196. mixpeek-0.12.0/src/mixpeek/_base_client.py +0 -2041
  197. mixpeek-0.12.0/src/mixpeek/_client.py +0 -444
  198. mixpeek-0.12.0/src/mixpeek/_compat.py +0 -221
  199. mixpeek-0.12.0/src/mixpeek/_constants.py +0 -14
  200. mixpeek-0.12.0/src/mixpeek/_exceptions.py +0 -108
  201. mixpeek-0.12.0/src/mixpeek/_files.py +0 -123
  202. mixpeek-0.12.0/src/mixpeek/_models.py +0 -788
  203. mixpeek-0.12.0/src/mixpeek/_qs.py +0 -150
  204. mixpeek-0.12.0/src/mixpeek/_resource.py +0 -43
  205. mixpeek-0.12.0/src/mixpeek/_response.py +0 -824
  206. mixpeek-0.12.0/src/mixpeek/_streaming.py +0 -333
  207. mixpeek-0.12.0/src/mixpeek/_types.py +0 -219
  208. mixpeek-0.12.0/src/mixpeek/_utils/__init__.py +0 -56
  209. mixpeek-0.12.0/src/mixpeek/_utils/_logs.py +0 -25
  210. mixpeek-0.12.0/src/mixpeek/_utils/_proxy.py +0 -62
  211. mixpeek-0.12.0/src/mixpeek/_utils/_reflection.py +0 -42
  212. mixpeek-0.12.0/src/mixpeek/_utils/_streams.py +0 -12
  213. mixpeek-0.12.0/src/mixpeek/_utils/_sync.py +0 -81
  214. mixpeek-0.12.0/src/mixpeek/_utils/_transform.py +0 -387
  215. mixpeek-0.12.0/src/mixpeek/_utils/_typing.py +0 -120
  216. mixpeek-0.12.0/src/mixpeek/_utils/_utils.py +0 -414
  217. mixpeek-0.12.0/src/mixpeek/_version.py +0 -4
  218. mixpeek-0.12.0/src/mixpeek/lib/.keep +0 -4
  219. mixpeek-0.12.0/src/mixpeek/py.typed +0 -0
  220. mixpeek-0.12.0/src/mixpeek/resources/__init__.py +0 -117
  221. mixpeek-0.12.0/src/mixpeek/resources/accounts.py +0 -271
  222. mixpeek-0.12.0/src/mixpeek/resources/assets/__init__.py +0 -33
  223. mixpeek-0.12.0/src/mixpeek/resources/assets/assets.py +0 -708
  224. mixpeek-0.12.0/src/mixpeek/resources/assets/features.py +0 -172
  225. mixpeek-0.12.0/src/mixpeek/resources/collections.py +0 -283
  226. mixpeek-0.12.0/src/mixpeek/resources/entities/__init__.py +0 -47
  227. mixpeek-0.12.0/src/mixpeek/resources/entities/entities.py +0 -134
  228. mixpeek-0.12.0/src/mixpeek/resources/entities/faces.py +0 -514
  229. mixpeek-0.12.0/src/mixpeek/resources/entities/labels.py +0 -388
  230. mixpeek-0.12.0/src/mixpeek/resources/features/__init__.py +0 -33
  231. mixpeek-0.12.0/src/mixpeek/resources/features/features.py +0 -562
  232. mixpeek-0.12.0/src/mixpeek/resources/features/search.py +0 -731
  233. mixpeek-0.12.0/src/mixpeek/resources/healthcheck.py +0 -135
  234. mixpeek-0.12.0/src/mixpeek/resources/index/__init__.py +0 -47
  235. mixpeek-0.12.0/src/mixpeek/resources/index/images.py +0 -249
  236. mixpeek-0.12.0/src/mixpeek/resources/index/index.py +0 -289
  237. mixpeek-0.12.0/src/mixpeek/resources/index/videos.py +0 -249
  238. mixpeek-0.12.0/src/mixpeek/resources/tasks.py +0 -258
  239. mixpeek-0.12.0/src/mixpeek/types/__init__.py +0 -31
  240. mixpeek-0.12.0/src/mixpeek/types/account_update_params.py +0 -28
  241. mixpeek-0.12.0/src/mixpeek/types/asset_create_params.py +0 -36
  242. mixpeek-0.12.0/src/mixpeek/types/asset_create_response.py +0 -15
  243. mixpeek-0.12.0/src/mixpeek/types/asset_response.py +0 -46
  244. mixpeek-0.12.0/src/mixpeek/types/asset_search_params.py +0 -43
  245. mixpeek-0.12.0/src/mixpeek/types/asset_search_response.py +0 -15
  246. mixpeek-0.12.0/src/mixpeek/types/asset_update_params.py +0 -25
  247. mixpeek-0.12.0/src/mixpeek/types/asset_update_response.py +0 -11
  248. mixpeek-0.12.0/src/mixpeek/types/assets/__init__.py +0 -3
  249. mixpeek-0.12.0/src/mixpeek/types/collection_list_params.py +0 -19
  250. mixpeek-0.12.0/src/mixpeek/types/collection_list_response.py +0 -14
  251. mixpeek-0.12.0/src/mixpeek/types/entities/__init__.py +0 -13
  252. mixpeek-0.12.0/src/mixpeek/types/entities/face_create_params.py +0 -21
  253. mixpeek-0.12.0/src/mixpeek/types/entities/face_list_params.py +0 -18
  254. mixpeek-0.12.0/src/mixpeek/types/entities/face_list_response.py +0 -15
  255. mixpeek-0.12.0/src/mixpeek/types/entities/face_response.py +0 -17
  256. mixpeek-0.12.0/src/mixpeek/types/entities/face_update_params.py +0 -22
  257. mixpeek-0.12.0/src/mixpeek/types/entities/label_list_params.py +0 -18
  258. mixpeek-0.12.0/src/mixpeek/types/entities/label_list_response.py +0 -30
  259. mixpeek-0.12.0/src/mixpeek/types/entities/label_response.py +0 -30
  260. mixpeek-0.12.0/src/mixpeek/types/entities/label_update_params.py +0 -21
  261. mixpeek-0.12.0/src/mixpeek/types/feature.py +0 -32
  262. mixpeek-0.12.0/src/mixpeek/types/feature_list_params.py +0 -37
  263. mixpeek-0.12.0/src/mixpeek/types/feature_list_response.py +0 -28
  264. mixpeek-0.12.0/src/mixpeek/types/feature_retrieve_params.py +0 -18
  265. mixpeek-0.12.0/src/mixpeek/types/feature_update_params.py +0 -16
  266. mixpeek-0.12.0/src/mixpeek/types/features/__init__.py +0 -8
  267. mixpeek-0.12.0/src/mixpeek/types/features/search_feedback_params.py +0 -23
  268. mixpeek-0.12.0/src/mixpeek/types/features/search_file_params.py +0 -29
  269. mixpeek-0.12.0/src/mixpeek/types/features/search_text_params.py +0 -72
  270. mixpeek-0.12.0/src/mixpeek/types/features/search_url_params.py +0 -72
  271. mixpeek-0.12.0/src/mixpeek/types/grouped_asset_data.py +0 -24
  272. mixpeek-0.12.0/src/mixpeek/types/health_check_response.py +0 -10
  273. mixpeek-0.12.0/src/mixpeek/types/index/__init__.py +0 -8
  274. mixpeek-0.12.0/src/mixpeek/types/index/image_url_params.py +0 -135
  275. mixpeek-0.12.0/src/mixpeek/types/index/image_url_response.py +0 -20
  276. mixpeek-0.12.0/src/mixpeek/types/index/video_url_params.py +0 -154
  277. mixpeek-0.12.0/src/mixpeek/types/index/video_url_response.py +0 -20
  278. mixpeek-0.12.0/src/mixpeek/types/index_text_params.py +0 -77
  279. mixpeek-0.12.0/src/mixpeek/types/index_text_response.py +0 -14
  280. mixpeek-0.12.0/src/mixpeek/types/shared/__init__.py +0 -7
  281. mixpeek-0.12.0/src/mixpeek/types/shared/filter_condition.py +0 -19
  282. mixpeek-0.12.0/src/mixpeek/types/shared/logical_operator.py +0 -12
  283. mixpeek-0.12.0/src/mixpeek/types/shared/model_pagination_response.py +0 -21
  284. mixpeek-0.12.0/src/mixpeek/types/shared/sort_option.py +0 -15
  285. mixpeek-0.12.0/src/mixpeek/types/shared/task_response.py +0 -15
  286. mixpeek-0.12.0/src/mixpeek/types/shared_params/__init__.py +0 -4
  287. mixpeek-0.12.0/src/mixpeek/types/shared_params/logical_operator.py +0 -13
  288. mixpeek-0.12.0/src/mixpeek/types/shared_params/sort_option.py +0 -15
  289. mixpeek-0.12.0/src/mixpeek/types/user.py +0 -34
  290. mixpeek-0.12.0/src/mixpeek_sdk/lib/.keep +0 -4
  291. mixpeek-0.12.0/tests/__init__.py +0 -1
  292. mixpeek-0.12.0/tests/api_resources/__init__.py +0 -1
  293. mixpeek-0.12.0/tests/api_resources/assets/__init__.py +0 -1
  294. mixpeek-0.12.0/tests/api_resources/assets/test_features.py +0 -114
  295. mixpeek-0.12.0/tests/api_resources/entities/__init__.py +0 -1
  296. mixpeek-0.12.0/tests/api_resources/entities/test_faces.py +0 -423
  297. mixpeek-0.12.0/tests/api_resources/entities/test_labels.py +0 -294
  298. mixpeek-0.12.0/tests/api_resources/features/__init__.py +0 -1
  299. mixpeek-0.12.0/tests/api_resources/features/test_search.py +0 -439
  300. mixpeek-0.12.0/tests/api_resources/index/__init__.py +0 -1
  301. mixpeek-0.12.0/tests/api_resources/index/test_images.py +0 -192
  302. mixpeek-0.12.0/tests/api_resources/index/test_videos.py +0 -356
  303. mixpeek-0.12.0/tests/api_resources/test_accounts.py +0 -187
  304. mixpeek-0.12.0/tests/api_resources/test_assets.py +0 -499
  305. mixpeek-0.12.0/tests/api_resources/test_collections.py +0 -182
  306. mixpeek-0.12.0/tests/api_resources/test_features.py +0 -407
  307. mixpeek-0.12.0/tests/api_resources/test_healthcheck.py +0 -72
  308. mixpeek-0.12.0/tests/api_resources/test_index.py +0 -148
  309. mixpeek-0.12.0/tests/api_resources/test_tasks.py +0 -206
  310. mixpeek-0.12.0/tests/conftest.py +0 -51
  311. mixpeek-0.12.0/tests/sample_file.txt +0 -1
  312. mixpeek-0.12.0/tests/test_client.py +0 -1580
  313. mixpeek-0.12.0/tests/test_deepcopy.py +0 -58
  314. mixpeek-0.12.0/tests/test_extract_files.py +0 -64
  315. mixpeek-0.12.0/tests/test_files.py +0 -51
  316. mixpeek-0.12.0/tests/test_models.py +0 -822
  317. mixpeek-0.12.0/tests/test_qs.py +0 -78
  318. mixpeek-0.12.0/tests/test_required_args.py +0 -111
  319. mixpeek-0.12.0/tests/test_response.py +0 -277
  320. mixpeek-0.12.0/tests/test_streaming.py +0 -248
  321. mixpeek-0.12.0/tests/test_transform.py +0 -425
  322. mixpeek-0.12.0/tests/test_utils/test_proxy.py +0 -23
  323. mixpeek-0.12.0/tests/test_utils/test_typing.py +0 -73
  324. mixpeek-0.12.0/tests/utils.py +0 -155
@@ -0,0 +1,427 @@
1
+ Metadata-Version: 2.1
2
+ Name: mixpeek
3
+ Version: 0.13.1
4
+ Summary: Python Client SDK Generated by Speakeasy.
5
+ Home-page: https://github.com/mixpeek/python-sdk.git
6
+ Author: Speakeasy
7
+ Requires-Python: >=3.8,<4.0
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3.8
10
+ Classifier: Programming Language :: Python :: 3.9
11
+ Classifier: Programming Language :: Python :: 3.10
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Programming Language :: Python :: 3.13
15
+ Requires-Dist: eval-type-backport (>=0.2.0,<0.3.0)
16
+ Requires-Dist: httpx (>=0.28.1,<0.29.0)
17
+ Requires-Dist: jsonpath-python (>=1.0.6,<2.0.0)
18
+ Requires-Dist: pydantic (>=2.10.3,<2.11.0)
19
+ Requires-Dist: python-dateutil (>=2.8.2,<3.0.0)
20
+ Requires-Dist: typing-inspect (>=0.9.0,<0.10.0)
21
+ Project-URL: Repository, https://github.com/mixpeek/python-sdk.git
22
+ Description-Content-Type: text/markdown
23
+
24
+ # mixpeek
25
+
26
+ Developer-friendly & type-safe Python SDK specifically catered to leverage *mixpeek* API.
27
+
28
+ <!-- Start Summary [summary] -->
29
+ ## Summary
30
+
31
+ Mixpeek API: This is the Mixpeek API, providing access to various endpoints for data processing and retrieval.
32
+ <!-- End Summary [summary] -->
33
+
34
+ <!-- Start Table of Contents [toc] -->
35
+ ## Table of Contents
36
+ <!-- $toc-max-depth=2 -->
37
+ * [mixpeek](https://github.com/mixpeek/python-sdk/blob/master/#mixpeek)
38
+ * [SDK Installation](https://github.com/mixpeek/python-sdk/blob/master/#sdk-installation)
39
+ * [IDE Support](https://github.com/mixpeek/python-sdk/blob/master/#ide-support)
40
+ * [SDK Example Usage](https://github.com/mixpeek/python-sdk/blob/master/#sdk-example-usage)
41
+ * [Available Resources and Operations](https://github.com/mixpeek/python-sdk/blob/master/#available-resources-and-operations)
42
+ * [Retries](https://github.com/mixpeek/python-sdk/blob/master/#retries)
43
+ * [Error Handling](https://github.com/mixpeek/python-sdk/blob/master/#error-handling)
44
+ * [Server Selection](https://github.com/mixpeek/python-sdk/blob/master/#server-selection)
45
+ * [Custom HTTP Client](https://github.com/mixpeek/python-sdk/blob/master/#custom-http-client)
46
+ * [Debugging](https://github.com/mixpeek/python-sdk/blob/master/#debugging)
47
+ * [Development](https://github.com/mixpeek/python-sdk/blob/master/#development)
48
+ * [Maturity](https://github.com/mixpeek/python-sdk/blob/master/#maturity)
49
+ * [Contributions](https://github.com/mixpeek/python-sdk/blob/master/#contributions)
50
+
51
+ <!-- End Table of Contents [toc] -->
52
+
53
+ <!-- Start SDK Installation [installation] -->
54
+ ## SDK Installation
55
+
56
+ The SDK can be installed with either *pip* or *poetry* package managers.
57
+
58
+ ### PIP
59
+
60
+ *PIP* is the default package installer for Python, enabling easy installation and management of packages from PyPI via the command line.
61
+
62
+ ```bash
63
+ pip install mixpeek
64
+ ```
65
+
66
+ ### Poetry
67
+
68
+ *Poetry* is a modern tool that simplifies dependency management and package publishing by using a single `pyproject.toml` file to handle project metadata and dependencies.
69
+
70
+ ```bash
71
+ poetry add mixpeek
72
+ ```
73
+ <!-- End SDK Installation [installation] -->
74
+
75
+ <!-- Start IDE Support [idesupport] -->
76
+ ## IDE Support
77
+
78
+ ### PyCharm
79
+
80
+ Generally, the SDK will work well with most IDEs out of the box. However, when using PyCharm, you can enjoy much better integration with Pydantic by installing an additional plugin.
81
+
82
+ - [PyCharm Pydantic Plugin](https://docs.pydantic.dev/latest/integrations/pycharm/)
83
+ <!-- End IDE Support [idesupport] -->
84
+
85
+ <!-- Start SDK Example Usage [usage] -->
86
+ ## SDK Example Usage
87
+
88
+ ### Example
89
+
90
+ ```python
91
+ # Synchronous Example
92
+ from mixpeek import Mixpeek
93
+
94
+ with Mixpeek() as mixpeek:
95
+
96
+ res = mixpeek.organizations.get()
97
+
98
+ # Handle response
99
+ print(res)
100
+ ```
101
+
102
+ </br>
103
+
104
+ The same SDK client can also be used to make asychronous requests by importing asyncio.
105
+ ```python
106
+ # Asynchronous Example
107
+ import asyncio
108
+ from mixpeek import Mixpeek
109
+
110
+ async def main():
111
+ async with Mixpeek() as mixpeek:
112
+
113
+ res = await mixpeek.organizations.get_async()
114
+
115
+ # Handle response
116
+ print(res)
117
+
118
+ asyncio.run(main())
119
+ ```
120
+ <!-- End SDK Example Usage [usage] -->
121
+
122
+ <!-- Start Available Resources and Operations [operations] -->
123
+ ## Available Resources and Operations
124
+
125
+ <details open>
126
+ <summary>Available methods</summary>
127
+
128
+ ### [assets](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/assets/README.md)
129
+
130
+ * [get](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/assets/README.md#get) - Get Asset
131
+ * [delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/assets/README.md#delete) - Delete Asset
132
+ * [update](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/assets/README.md#update) - Full Asset Update
133
+ * [partial_update](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/assets/README.md#partial_update) - Partial Asset Update
134
+ * [get_features](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/assets/README.md#get_features) - Get Asset With Features
135
+ * [list](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/assets/README.md#list) - List Assets
136
+ * [search](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/assets/README.md#search) - Search Assets
137
+
138
+ ### [collections](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collections/README.md)
139
+
140
+ * [list](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collections/README.md#list) - List Collections
141
+ * [create](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collections/README.md#create) - Create Collection
142
+ * [delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collections/README.md#delete) - Delete Collection
143
+ * [update](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collections/README.md#update) - Update Collection
144
+ * [get](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collections/README.md#get) - Get Collection
145
+
146
+ ### [feature_extractors](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/featureextractors/README.md)
147
+
148
+ * [extract_embeddings](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/featureextractors/README.md#extract_embeddings) - Extract Embeddings
149
+
150
+ ### [features](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/features/README.md)
151
+
152
+ * [get](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/features/README.md#get) - Get Feature
153
+ * [delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/features/README.md#delete) - Delete Feature
154
+ * [update](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/features/README.md#update) - Full Feature Update
155
+ * [list](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/features/README.md#list) - List Features
156
+ * [search](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/features/README.md#search) - Search Features
157
+
158
+ ### [health](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/health/README.md)
159
+
160
+ * [check](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/health/README.md#check) - Healthcheck
161
+
162
+ ### [ingest](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/ingest/README.md)
163
+
164
+ * [text](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/ingest/README.md#text) - Ingest Text
165
+ * [video_from_url](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/ingest/README.md#video_from_url) - Ingest Video Url
166
+ * [image_url](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/ingest/README.md#image_url) - Ingest Image Url
167
+
168
+ ### [interactions](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/interactions/README.md)
169
+
170
+ * [list](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/interactions/README.md#list) - List Interactions
171
+
172
+
173
+ ### [namespaces](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/namespaces/README.md)
174
+
175
+ * [create](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/namespaces/README.md#create) - Create Namespace
176
+ * [list](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/namespaces/README.md#list) - List Namespaces
177
+ * [delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/namespaces/README.md#delete) - Delete Namespace
178
+ * [update](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/namespaces/README.md#update) - Update Namespace
179
+ * [get](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/namespaces/README.md#get) - Get Namespace
180
+ * [list_indexes](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/namespaces/README.md#list_indexes) - List Available Indexes
181
+
182
+ ### [organizations](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md)
183
+
184
+ * [get](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md#get) - Get Organization
185
+ * [get_usage](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md#get_usage) - Get Usage
186
+ * [get_user](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md#get_user) - Get User
187
+ * [delete_user](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md#delete_user) - Delete User
188
+ * [add_user](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md#add_user) - Add User
189
+ * [create_api_key](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md#create_api_key) - Create Api Key
190
+ * [delete_api_key](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md#delete_api_key) - Delete Api Key
191
+ * [update_api_key](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md#update_api_key) - Update Api Key
192
+
193
+ ### [search_interactions](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/searchinteractions/README.md)
194
+
195
+ * [create](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/searchinteractions/README.md#create) - Create Interaction
196
+ * [get_interaction](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/searchinteractions/README.md#get_interaction) - Get Interaction
197
+ * [delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/searchinteractions/README.md#delete) - Delete Interaction
198
+
199
+ ### [tasks](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/tasks/README.md)
200
+
201
+ * [delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/tasks/README.md#delete) - Kill Task
202
+ * [get](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/tasks/README.md#get) - Get Task Information
203
+
204
+ </details>
205
+ <!-- End Available Resources and Operations [operations] -->
206
+
207
+ <!-- Start Retries [retries] -->
208
+ ## Retries
209
+
210
+ Some of the endpoints in this SDK support retries. If you use the SDK without any configuration, it will fall back to the default retry strategy provided by the API. However, the default retry strategy can be overridden on a per-operation basis, or across the entire SDK.
211
+
212
+ To change the default retry strategy for a single API call, simply provide a `RetryConfig` object to the call:
213
+ ```python
214
+ from mixpeek import Mixpeek
215
+ from mixpeek.utils import BackoffStrategy, RetryConfig
216
+
217
+ with Mixpeek() as mixpeek:
218
+
219
+ res = mixpeek.organizations.get(,
220
+ RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))
221
+
222
+ # Handle response
223
+ print(res)
224
+
225
+ ```
226
+
227
+ If you'd like to override the default retry strategy for all operations that support retries, you can use the `retry_config` optional parameter when initializing the SDK:
228
+ ```python
229
+ from mixpeek import Mixpeek
230
+ from mixpeek.utils import BackoffStrategy, RetryConfig
231
+
232
+ with Mixpeek(
233
+ retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
234
+ ) as mixpeek:
235
+
236
+ res = mixpeek.organizations.get()
237
+
238
+ # Handle response
239
+ print(res)
240
+
241
+ ```
242
+ <!-- End Retries [retries] -->
243
+
244
+ <!-- Start Error Handling [errors] -->
245
+ ## Error Handling
246
+
247
+ Handling errors in this SDK should largely match your expectations. All operations return a response object or raise an exception.
248
+
249
+ By default, an API error will raise a models.APIError exception, which has the following properties:
250
+
251
+ | Property | Type | Description |
252
+ |-----------------|------------------|-----------------------|
253
+ | `.status_code` | *int* | The HTTP status code |
254
+ | `.message` | *str* | The error message |
255
+ | `.raw_response` | *httpx.Response* | The raw HTTP response |
256
+ | `.body` | *str* | The response content |
257
+
258
+ When custom error responses are specified for an operation, the SDK may also raise their associated exceptions. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `get_async` method may raise the following exceptions:
259
+
260
+ | Error Type | Status Code | Content Type |
261
+ | -------------------------- | ----------------------- | ---------------- |
262
+ | models.ErrorResponse | 400, 401, 403, 404, 500 | application/json |
263
+ | models.HTTPValidationError | 422 | application/json |
264
+ | models.APIError | 4XX, 5XX | \*/\* |
265
+
266
+ ### Example
267
+
268
+ ```python
269
+ from mixpeek import Mixpeek, models
270
+
271
+ with Mixpeek() as mixpeek:
272
+ res = None
273
+ try:
274
+
275
+ res = mixpeek.organizations.get()
276
+
277
+ # Handle response
278
+ print(res)
279
+
280
+ except models.ErrorResponse as e:
281
+ # handle e.data: models.ErrorResponseData
282
+ raise(e)
283
+ except models.HTTPValidationError as e:
284
+ # handle e.data: models.HTTPValidationErrorData
285
+ raise(e)
286
+ except models.APIError as e:
287
+ # handle exception
288
+ raise(e)
289
+ ```
290
+ <!-- End Error Handling [errors] -->
291
+
292
+ <!-- Start Server Selection [server] -->
293
+ ## Server Selection
294
+
295
+ ### Override Server URL Per-Client
296
+
297
+ The default server can also be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example:
298
+ ```python
299
+ from mixpeek import Mixpeek
300
+
301
+ with Mixpeek(
302
+ server_url="https://api.mixpeek.com/",
303
+ ) as mixpeek:
304
+
305
+ res = mixpeek.organizations.get()
306
+
307
+ # Handle response
308
+ print(res)
309
+
310
+ ```
311
+ <!-- End Server Selection [server] -->
312
+
313
+ <!-- Start Custom HTTP Client [http-client] -->
314
+ ## Custom HTTP Client
315
+
316
+ The Python SDK makes API calls using the [httpx](https://www.python-httpx.org/) HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with your own HTTP client instance.
317
+ Depending on whether you are using the sync or async version of the SDK, you can pass an instance of `HttpClient` or `AsyncHttpClient` respectively, which are Protocol's ensuring that the client has the necessary methods to make API calls.
318
+ This allows you to wrap the client with your own custom logic, such as adding custom headers, logging, or error handling, or you can just pass an instance of `httpx.Client` or `httpx.AsyncClient` directly.
319
+
320
+ For example, you could specify a header for every request that this sdk makes as follows:
321
+ ```python
322
+ from mixpeek import Mixpeek
323
+ import httpx
324
+
325
+ http_client = httpx.Client(headers={"x-custom-header": "someValue"})
326
+ s = Mixpeek(client=http_client)
327
+ ```
328
+
329
+ or you could wrap the client with your own custom logic:
330
+ ```python
331
+ from mixpeek import Mixpeek
332
+ from mixpeek.httpclient import AsyncHttpClient
333
+ import httpx
334
+
335
+ class CustomClient(AsyncHttpClient):
336
+ client: AsyncHttpClient
337
+
338
+ def __init__(self, client: AsyncHttpClient):
339
+ self.client = client
340
+
341
+ async def send(
342
+ self,
343
+ request: httpx.Request,
344
+ *,
345
+ stream: bool = False,
346
+ auth: Union[
347
+ httpx._types.AuthTypes, httpx._client.UseClientDefault, None
348
+ ] = httpx.USE_CLIENT_DEFAULT,
349
+ follow_redirects: Union[
350
+ bool, httpx._client.UseClientDefault
351
+ ] = httpx.USE_CLIENT_DEFAULT,
352
+ ) -> httpx.Response:
353
+ request.headers["Client-Level-Header"] = "added by client"
354
+
355
+ return await self.client.send(
356
+ request, stream=stream, auth=auth, follow_redirects=follow_redirects
357
+ )
358
+
359
+ def build_request(
360
+ self,
361
+ method: str,
362
+ url: httpx._types.URLTypes,
363
+ *,
364
+ content: Optional[httpx._types.RequestContent] = None,
365
+ data: Optional[httpx._types.RequestData] = None,
366
+ files: Optional[httpx._types.RequestFiles] = None,
367
+ json: Optional[Any] = None,
368
+ params: Optional[httpx._types.QueryParamTypes] = None,
369
+ headers: Optional[httpx._types.HeaderTypes] = None,
370
+ cookies: Optional[httpx._types.CookieTypes] = None,
371
+ timeout: Union[
372
+ httpx._types.TimeoutTypes, httpx._client.UseClientDefault
373
+ ] = httpx.USE_CLIENT_DEFAULT,
374
+ extensions: Optional[httpx._types.RequestExtensions] = None,
375
+ ) -> httpx.Request:
376
+ return self.client.build_request(
377
+ method,
378
+ url,
379
+ content=content,
380
+ data=data,
381
+ files=files,
382
+ json=json,
383
+ params=params,
384
+ headers=headers,
385
+ cookies=cookies,
386
+ timeout=timeout,
387
+ extensions=extensions,
388
+ )
389
+
390
+ s = Mixpeek(async_client=CustomClient(httpx.AsyncClient()))
391
+ ```
392
+ <!-- End Custom HTTP Client [http-client] -->
393
+
394
+ <!-- Start Debugging [debug] -->
395
+ ## Debugging
396
+
397
+ You can setup your SDK to emit debug logs for SDK requests and responses.
398
+
399
+ You can pass your own logger class directly into your SDK.
400
+ ```python
401
+ from mixpeek import Mixpeek
402
+ import logging
403
+
404
+ logging.basicConfig(level=logging.DEBUG)
405
+ s = Mixpeek(debug_logger=logging.getLogger("mixpeek"))
406
+ ```
407
+
408
+ You can also enable a default debug logger by setting an environment variable `MIXPEEK_DEBUG` to true.
409
+ <!-- End Debugging [debug] -->
410
+
411
+ <!-- Placeholder for Future Speakeasy SDK Sections -->
412
+
413
+ # Development
414
+
415
+ ## Maturity
416
+
417
+ This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage
418
+ to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally
419
+ looking for the latest version.
420
+
421
+ ## Contributions
422
+
423
+ While we value open-source contributions to this SDK, this library is generated programmatically. Any manual changes added to internal files will be overwritten on the next generation.
424
+ 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.
425
+
426
+ ### SDK Created by [Speakeasy](https://www.speakeasy.com/?utm_source=mixpeek&utm_campaign=python)
427
+