mixpeek 0.17.5__tar.gz → 0.17.7__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 (199) hide show
  1. {mixpeek-0.17.5 → mixpeek-0.17.7}/PKG-INFO +2 -1
  2. {mixpeek-0.17.5 → mixpeek-0.17.7}/README-PYPI.md +1 -0
  3. {mixpeek-0.17.5 → mixpeek-0.17.7}/pyproject.toml +1 -1
  4. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/_version.py +2 -2
  5. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/__init__.py +11 -0
  6. mixpeek-0.17.7/src/mixpeek/models/assignmentconfig.py +67 -0
  7. mixpeek-0.17.7/src/mixpeek/models/assignmentmode.py +11 -0
  8. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/discoverrequest.py +6 -16
  9. mixpeek-0.17.7/src/mixpeek/models/list_active_tasks_v1_tasks_getop.py +65 -0
  10. mixpeek-0.17.7/src/mixpeek/models/listtasksresponse.py +22 -0
  11. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/tasks.py +216 -0
  12. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/taxonomy_entities.py +6 -12
  13. mixpeek-0.17.5/src/mixpeek/models/assignmentconfig.py +0 -25
  14. {mixpeek-0.17.5 → mixpeek-0.17.7}/py.typed +0 -0
  15. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/__init__.py +0 -0
  16. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/_hooks/__init__.py +0 -0
  17. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/_hooks/registration.py +0 -0
  18. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/_hooks/sdkhooks.py +0 -0
  19. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/_hooks/types.py +0 -0
  20. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/assets.py +0 -0
  21. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/basesdk.py +0 -0
  22. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/collections.py +0 -0
  23. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/feature_extractors.py +0 -0
  24. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/feature_search.py +0 -0
  25. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/features.py +0 -0
  26. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/health.py +0 -0
  27. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/httpclient.py +0 -0
  28. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/ingest_assets.py +0 -0
  29. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/actionusage.py +0 -0
  30. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/apierror.py +0 -0
  31. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/apikey.py +0 -0
  32. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/apikeyupdate.py +0 -0
  33. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/assetfeatures.py +0 -0
  34. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/assetresponse.py +0 -0
  35. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/assets_model_searchquery.py +0 -0
  36. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/assetupdate.py +0 -0
  37. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/availablemodels.py +0 -0
  38. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/availablemodelsresponse.py +0 -0
  39. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/boolindexparams.py +0 -0
  40. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/classificationmatch.py +0 -0
  41. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/classificationwithfeature.py +0 -0
  42. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/classify_features_v1_entities_taxonomies_taxonomy_classify_postop.py +0 -0
  43. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/collectionmodel.py +0 -0
  44. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/collectionresult.py +0 -0
  45. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/create_api_key_v1_organizations_users_user_email_api_keys_postop.py +0 -0
  46. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/create_collection_v1_collections_postop.py +0 -0
  47. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/create_taxonomy_v1_entities_taxonomies_postop.py +0 -0
  48. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/createcollectionrequest.py +0 -0
  49. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/createnamespacerequest.py +0 -0
  50. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/datetimeindexparams.py +0 -0
  51. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/dateusage.py +0 -0
  52. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/db_model_paginationresponse.py +0 -0
  53. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/delete_api_key_v1_organizations_users_user_email_api_keys_key_name_deleteop.py +0 -0
  54. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/delete_asset_v1_assets_asset_id_deleteop.py +0 -0
  55. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/delete_classifications_v1_entities_taxonomies_taxonomy_classifications_classification_id_deleteop.py +0 -0
  56. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/delete_collection_v1_collections_collection_deleteop.py +0 -0
  57. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/delete_feature_v1_features_feature_id_deleteop.py +0 -0
  58. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/delete_namespace_v1_namespaces_namespace_deleteop.py +0 -0
  59. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/delete_taxonomy_v1_entities_taxonomies_taxonomy_deleteop.py +0 -0
  60. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/delete_user_v1_organizations_users_user_email_deleteop.py +0 -0
  61. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/denseembedding.py +0 -0
  62. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/embeddingconfig.py +0 -0
  63. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/embeddingrequest.py +0 -0
  64. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/embeddingresponse.py +0 -0
  65. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/entitysettings.py +0 -0
  66. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/errordetail.py +0 -0
  67. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/errorresponse.py +0 -0
  68. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/featureextractionembeddingrequest.py +0 -0
  69. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/featureoptions.py +0 -0
  70. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/featureresponse.py +0 -0
  71. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/features_model_paginationresponse.py +0 -0
  72. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/featureupdaterequest.py +0 -0
  73. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/filtercondition.py +0 -0
  74. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/floatindexparams.py +0 -0
  75. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/full_asset_update_v1_assets_asset_id_putop.py +0 -0
  76. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/full_feature_update_v1_features_feature_id_putop.py +0 -0
  77. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/genericsuccessresponse.py +0 -0
  78. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/geoindexparams.py +0 -0
  79. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/get_asset_v1_assets_asset_id_getop.py +0 -0
  80. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/get_asset_with_features_v1_assets_asset_id_features_getop.py +0 -0
  81. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/get_collection_v1_collections_collection_getop.py +0 -0
  82. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/get_feature_v1_features_feature_id_getop.py +0 -0
  83. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/get_namespace_v1_namespaces_namespace_getop.py +0 -0
  84. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/get_task_v1_tasks_task_id_getop.py +0 -0
  85. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/get_taxonomy_node_v1_entities_taxonomies_nodes_node_getop.py +0 -0
  86. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/get_taxonomy_v1_entities_taxonomies_taxonomy_getop.py +0 -0
  87. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/get_user_v1_organizations_users_user_email_getop.py +0 -0
  88. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/groupbyoptions.py +0 -0
  89. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/groupbyoptionsasset.py +0 -0
  90. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/groupedassetdata.py +0 -0
  91. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/healthcheckresponse.py +0 -0
  92. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/httpvalidationerror.py +0 -0
  93. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/imagedescribesettings.py +0 -0
  94. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/imagedetectsettings.py +0 -0
  95. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/imagereadsettings.py +0 -0
  96. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/imagesettings.py +0 -0
  97. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/ingest_image_url_v1_ingest_images_url_postop.py +0 -0
  98. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/ingest_text_v1_ingest_text_postop.py +0 -0
  99. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/ingest_video_url_v1_ingest_videos_url_postop.py +0 -0
  100. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/inputtype.py +0 -0
  101. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/integerindexparams.py +0 -0
  102. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/internal/__init__.py +0 -0
  103. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/internal/globals.py +0 -0
  104. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/jsonimageoutputsettings.py +0 -0
  105. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/jsontextoutputsettings.py +0 -0
  106. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/jsonvideooutputsettings.py +0 -0
  107. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/keywordindexparams.py +0 -0
  108. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/kill_task_v1_tasks_task_id_deleteop.py +0 -0
  109. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/list_assets_v1_assets_postop.py +0 -0
  110. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/list_classifications_v1_entities_taxonomies_taxonomy_classifications_postop.py +0 -0
  111. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/list_collections_v1_collections_getop.py +0 -0
  112. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/list_features_v1_features_postop.py +0 -0
  113. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/list_taxonomies_v1_entities_taxonomies_getop.py +0 -0
  114. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/listassetsrequest.py +0 -0
  115. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/listassetsresponse.py +0 -0
  116. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/listclassificationsrequest.py +0 -0
  117. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/listclassificationsresponse.py +0 -0
  118. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/listcollectionsresponse.py +0 -0
  119. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/listfeaturesrequest.py +0 -0
  120. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/listfeaturesresponse.py +0 -0
  121. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/listtaxonomiesresponse.py +0 -0
  122. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/logicaloperator.py +0 -0
  123. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/logodetectsettings.py +0 -0
  124. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/modality.py +0 -0
  125. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/modeldetails.py +0 -0
  126. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/namespaceresponse.py +0 -0
  127. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/nodeoptions.py +0 -0
  128. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/nodeupdate.py +0 -0
  129. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/organizationmodel.py +0 -0
  130. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/partial_asset_update_v1_assets_asset_id_patchop.py +0 -0
  131. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/payloadindexconfig.py +0 -0
  132. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/payloadindextype.py +0 -0
  133. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/payloadschematype.py +0 -0
  134. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/permission.py +0 -0
  135. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/processimageurlinput.py +0 -0
  136. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/processtextinput.py +0 -0
  137. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/processvideourlinput.py +0 -0
  138. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/querysettings.py +0 -0
  139. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/rerankingoptions.py +0 -0
  140. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/search_assets_v1_assets_search_postop.py +0 -0
  141. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/search_features_v1_features_search_postop.py +0 -0
  142. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/search_model_searchquery.py +0 -0
  143. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/searchassetsrequest.py +0 -0
  144. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/searchrequestfeatures.py +0 -0
  145. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/security.py +0 -0
  146. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/sortoption.py +0 -0
  147. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/sparseembedding.py +0 -0
  148. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/taskresponse.py +0 -0
  149. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/taskstatus.py +0 -0
  150. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/taxonomycreate.py +0 -0
  151. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/taxonomyextractionconfig.py +0 -0
  152. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/taxonomymodel.py +0 -0
  153. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/taxonomynode.py +0 -0
  154. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/taxonomynodecreate.py +0 -0
  155. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/taxonomyupdate.py +0 -0
  156. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/textindexparams.py +0 -0
  157. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/textsettings.py +0 -0
  158. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/tokenizertype.py +0 -0
  159. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/update_api_key_v1_organizations_users_user_email_api_keys_key_name_patchop.py +0 -0
  160. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/update_collection_v1_collections_collection_putop.py +0 -0
  161. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/update_namespace_v1_namespaces_namespace_putop.py +0 -0
  162. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/update_node_v1_entities_taxonomies_nodes_node_patchop.py +0 -0
  163. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/update_taxonomy_v1_entities_taxonomies_taxonomy_patchop.py +0 -0
  164. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/updateassetrequest.py +0 -0
  165. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/updatenamespacerequest.py +0 -0
  166. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/usage.py +0 -0
  167. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/usermodel_input.py +0 -0
  168. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/usermodel_output.py +0 -0
  169. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/uuidindexparams.py +0 -0
  170. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/validationerror.py +0 -0
  171. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/vectormodel.py +0 -0
  172. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/vectortype.py +0 -0
  173. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/videodescribesettings.py +0 -0
  174. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/videodetectsettings.py +0 -0
  175. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/videoreadsettings.py +0 -0
  176. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/videosettings.py +0 -0
  177. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/models/videotranscriptionsettings.py +0 -0
  178. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/namespaces.py +0 -0
  179. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/organizations.py +0 -0
  180. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/py.typed +0 -0
  181. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/sdk.py +0 -0
  182. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/sdkconfiguration.py +0 -0
  183. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/types/__init__.py +0 -0
  184. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/types/basemodel.py +0 -0
  185. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/utils/__init__.py +0 -0
  186. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/utils/annotations.py +0 -0
  187. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/utils/enums.py +0 -0
  188. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/utils/eventstreaming.py +0 -0
  189. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/utils/forms.py +0 -0
  190. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/utils/headers.py +0 -0
  191. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/utils/logger.py +0 -0
  192. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/utils/metadata.py +0 -0
  193. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/utils/queryparams.py +0 -0
  194. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/utils/requestbodies.py +0 -0
  195. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/utils/retries.py +0 -0
  196. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/utils/security.py +0 -0
  197. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/utils/serializers.py +0 -0
  198. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/utils/url.py +0 -0
  199. {mixpeek-0.17.5 → mixpeek-0.17.7}/src/mixpeek/utils/values.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: mixpeek
3
- Version: 0.17.5
3
+ Version: 0.17.7
4
4
  Summary: Python Client SDK Generated by Speakeasy.
5
5
  Author: Speakeasy
6
6
  Requires-Python: >=3.9
@@ -226,6 +226,7 @@ with Mixpeek(
226
226
 
227
227
  * [kill_task_v1_tasks_task_id_delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/tasks/README.md#kill_task_v1_tasks_task_id_delete) - Kill Task
228
228
  * [get_task_v1_tasks_task_id_get](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/tasks/README.md#get_task_v1_tasks_task_id_get) - Get Task Information
229
+ * [list_active_tasks_v1_tasks_get](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/tasks/README.md#list_active_tasks_v1_tasks_get) - List Active Tasks
229
230
 
230
231
  ### [taxonomy_entities](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/taxonomyentities/README.md)
231
232
 
@@ -205,6 +205,7 @@ with Mixpeek(
205
205
 
206
206
  * [kill_task_v1_tasks_task_id_delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/tasks/README.md#kill_task_v1_tasks_task_id_delete) - Kill Task
207
207
  * [get_task_v1_tasks_task_id_get](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/tasks/README.md#get_task_v1_tasks_task_id_get) - Get Task Information
208
+ * [list_active_tasks_v1_tasks_get](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/tasks/README.md#list_active_tasks_v1_tasks_get) - List Active Tasks
208
209
 
209
210
  ### [taxonomy_entities](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/taxonomyentities/README.md)
210
211
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "mixpeek"
3
- version = "0.17.5"
3
+ version = "0.17.7"
4
4
  description = "Python Client SDK Generated by Speakeasy."
5
5
  authors = [{ name = "Speakeasy" },]
6
6
  readme = "README-PYPI.md"
@@ -3,10 +3,10 @@
3
3
  import importlib.metadata
4
4
 
5
5
  __title__: str = "mixpeek"
6
- __version__: str = "0.17.5"
6
+ __version__: str = "0.17.7"
7
7
  __openapi_doc_version__: str = "0.81"
8
8
  __gen_version__: str = "2.493.21"
9
- __user_agent__: str = "speakeasy-sdk/python 0.17.5 2.493.21 0.81 mixpeek"
9
+ __user_agent__: str = "speakeasy-sdk/python 0.17.7 2.493.21 0.81 mixpeek"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -19,6 +19,7 @@ from .assets_model_searchquery import (
19
19
  )
20
20
  from .assetupdate import AssetUpdate, AssetUpdateTypedDict, Mode
21
21
  from .assignmentconfig import AssignmentConfig, AssignmentConfigTypedDict
22
+ from .assignmentmode import AssignmentMode
22
23
  from .availablemodels import AvailableModels
23
24
  from .availablemodelsresponse import (
24
25
  AvailableModelsResponse,
@@ -246,6 +247,10 @@ from .kill_task_v1_tasks_task_id_deleteop import (
246
247
  KillTaskV1TasksTaskIDDeleteRequest,
247
248
  KillTaskV1TasksTaskIDDeleteRequestTypedDict,
248
249
  )
250
+ from .list_active_tasks_v1_tasks_getop import (
251
+ ListActiveTasksV1TasksGetRequest,
252
+ ListActiveTasksV1TasksGetRequestTypedDict,
253
+ )
249
254
  from .list_assets_v1_assets_postop import (
250
255
  ListAssetsV1AssetsPostRequest,
251
256
  ListAssetsV1AssetsPostRequestTypedDict,
@@ -282,6 +287,7 @@ from .listcollectionsresponse import (
282
287
  )
283
288
  from .listfeaturesrequest import ListFeaturesRequest, ListFeaturesRequestTypedDict
284
289
  from .listfeaturesresponse import ListFeaturesResponse, ListFeaturesResponseTypedDict
290
+ from .listtasksresponse import ListTasksResponse, ListTasksResponseTypedDict
285
291
  from .listtaxonomiesresponse import (
286
292
  ListTaxonomiesResponse,
287
293
  ListTaxonomiesResponseTypedDict,
@@ -469,6 +475,7 @@ __all__ = [
469
475
  "AssetsModelSearchQueryTypedDict",
470
476
  "AssignmentConfig",
471
477
  "AssignmentConfigTypedDict",
478
+ "AssignmentMode",
472
479
  "AvailableModels",
473
480
  "AvailableModelsResponse",
474
481
  "AvailableModelsResponseTypedDict",
@@ -637,6 +644,8 @@ __all__ = [
637
644
  "KeywordIndexParamsTypedDict",
638
645
  "KillTaskV1TasksTaskIDDeleteRequest",
639
646
  "KillTaskV1TasksTaskIDDeleteRequestTypedDict",
647
+ "ListActiveTasksV1TasksGetRequest",
648
+ "ListActiveTasksV1TasksGetRequestTypedDict",
640
649
  "ListAssetsRequest",
641
650
  "ListAssetsRequestTypedDict",
642
651
  "ListAssetsResponse",
@@ -659,6 +668,8 @@ __all__ = [
659
668
  "ListFeaturesResponseTypedDict",
660
669
  "ListFeaturesV1FeaturesPostRequest",
661
670
  "ListFeaturesV1FeaturesPostRequestTypedDict",
671
+ "ListTasksResponse",
672
+ "ListTasksResponseTypedDict",
662
673
  "ListTaxonomiesResponse",
663
674
  "ListTaxonomiesResponseTypedDict",
664
675
  "ListTaxonomiesV1EntitiesTaxonomiesGetRequest",
@@ -0,0 +1,67 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .assignmentmode import AssignmentMode
5
+ from mixpeek.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL
6
+ from pydantic import model_serializer
7
+ from typing import Optional
8
+ from typing_extensions import NotRequired, TypedDict
9
+
10
+
11
+ class AssignmentConfigTypedDict(TypedDict):
12
+ r"""Configuration for how classifications should be assigned to features"""
13
+
14
+ enabled: NotRequired[bool]
15
+ r"""Whether to assign the taxonomy to the feature"""
16
+ mode: NotRequired[AssignmentMode]
17
+ r"""Mode for how classifications should be assigned"""
18
+ append: NotRequired[bool]
19
+ r"""Whether to append the classification to the feature, if false, replaces any existing classification"""
20
+ confidence_threshold: NotRequired[Nullable[float]]
21
+ r"""Minimum confidence score required for classification (only used in threshold mode)"""
22
+
23
+
24
+ class AssignmentConfig(BaseModel):
25
+ r"""Configuration for how classifications should be assigned to features"""
26
+
27
+ enabled: Optional[bool] = False
28
+ r"""Whether to assign the taxonomy to the feature"""
29
+
30
+ mode: Optional[AssignmentMode] = None
31
+ r"""Mode for how classifications should be assigned"""
32
+
33
+ append: Optional[bool] = False
34
+ r"""Whether to append the classification to the feature, if false, replaces any existing classification"""
35
+
36
+ confidence_threshold: OptionalNullable[float] = UNSET
37
+ r"""Minimum confidence score required for classification (only used in threshold mode)"""
38
+
39
+ @model_serializer(mode="wrap")
40
+ def serialize_model(self, handler):
41
+ optional_fields = ["enabled", "mode", "append", "confidence_threshold"]
42
+ nullable_fields = ["confidence_threshold"]
43
+ null_default_fields = []
44
+
45
+ serialized = handler(self)
46
+
47
+ m = {}
48
+
49
+ for n, f in self.model_fields.items():
50
+ k = f.alias or n
51
+ val = serialized.get(k)
52
+ serialized.pop(k, None)
53
+
54
+ optional_nullable = k in optional_fields and k in nullable_fields
55
+ is_set = (
56
+ self.__pydantic_fields_set__.intersection({n})
57
+ or k in null_default_fields
58
+ ) # pylint: disable=no-member
59
+
60
+ if val is not None and val != UNSET_SENTINEL:
61
+ m[k] = val
62
+ elif val != UNSET_SENTINEL and (
63
+ not k in optional_fields or (optional_nullable and is_set)
64
+ ):
65
+ m[k] = val
66
+
67
+ return m
@@ -0,0 +1,11 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from enum import Enum
5
+
6
+
7
+ class AssignmentMode(str, Enum):
8
+ r"""Mode for how classifications should be assigned"""
9
+
10
+ THRESHOLD = "threshold"
11
+ NEAREST = "nearest"
@@ -14,12 +14,10 @@ class DiscoverRequestTypedDict(TypedDict):
14
14
  r"""List of collection names or ids to search for features"""
15
15
  filters: NotRequired[Nullable[LogicalOperatorTypedDict]]
16
16
  r"""Filters to apply to the discovery task"""
17
- confidence_threshold: NotRequired[float]
18
- r"""Minimum confidence score required for classification"""
19
17
  assignment: NotRequired[AssignmentConfigTypedDict]
20
18
  r"""Configuration for how classifications should be assigned to features"""
21
- sample_size: NotRequired[Nullable[int]]
22
- r"""Number of feature samples to process"""
19
+ limit: NotRequired[Nullable[int]]
20
+ r"""Number of feature samples to process, if None, all features that match the filters are processed"""
23
21
 
24
22
 
25
23
  class DiscoverRequest(BaseModel):
@@ -29,24 +27,16 @@ class DiscoverRequest(BaseModel):
29
27
  filters: OptionalNullable[LogicalOperator] = UNSET
30
28
  r"""Filters to apply to the discovery task"""
31
29
 
32
- confidence_threshold: Optional[float] = 0.8
33
- r"""Minimum confidence score required for classification"""
34
-
35
30
  assignment: Optional[AssignmentConfig] = None
36
31
  r"""Configuration for how classifications should be assigned to features"""
37
32
 
38
- sample_size: OptionalNullable[int] = UNSET
39
- r"""Number of feature samples to process"""
33
+ limit: OptionalNullable[int] = UNSET
34
+ r"""Number of feature samples to process, if None, all features that match the filters are processed"""
40
35
 
41
36
  @model_serializer(mode="wrap")
42
37
  def serialize_model(self, handler):
43
- optional_fields = [
44
- "filters",
45
- "confidence_threshold",
46
- "assignment",
47
- "sample_size",
48
- ]
49
- nullable_fields = ["filters", "sample_size"]
38
+ optional_fields = ["filters", "assignment", "limit"]
39
+ nullable_fields = ["filters", "limit"]
50
40
  null_default_fields = []
51
41
 
52
42
  serialized = handler(self)
@@ -0,0 +1,65 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from mixpeek.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL
5
+ from mixpeek.utils import FieldMetadata, HeaderMetadata, QueryParamMetadata
6
+ import pydantic
7
+ from pydantic import model_serializer
8
+ from typing import Optional
9
+ from typing_extensions import Annotated, NotRequired, TypedDict
10
+
11
+
12
+ class ListActiveTasksV1TasksGetRequestTypedDict(TypedDict):
13
+ page: NotRequired[Nullable[int]]
14
+ page_size: NotRequired[int]
15
+ x_namespace: NotRequired[Nullable[str]]
16
+ 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."""
17
+
18
+
19
+ class ListActiveTasksV1TasksGetRequest(BaseModel):
20
+ page: Annotated[
21
+ OptionalNullable[int],
22
+ FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
23
+ ] = UNSET
24
+
25
+ page_size: Annotated[
26
+ Optional[int],
27
+ FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
28
+ ] = 10
29
+
30
+ x_namespace: Annotated[
31
+ OptionalNullable[str],
32
+ pydantic.Field(alias="X-Namespace"),
33
+ FieldMetadata(header=HeaderMetadata(style="simple", explode=False)),
34
+ ] = UNSET
35
+ 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."""
36
+
37
+ @model_serializer(mode="wrap")
38
+ def serialize_model(self, handler):
39
+ optional_fields = ["page", "page_size", "X-Namespace"]
40
+ nullable_fields = ["page", "X-Namespace"]
41
+ null_default_fields = []
42
+
43
+ serialized = handler(self)
44
+
45
+ m = {}
46
+
47
+ for n, f in self.model_fields.items():
48
+ k = f.alias or n
49
+ val = serialized.get(k)
50
+ serialized.pop(k, None)
51
+
52
+ optional_nullable = k in optional_fields and k in nullable_fields
53
+ is_set = (
54
+ self.__pydantic_fields_set__.intersection({n})
55
+ or k in null_default_fields
56
+ ) # pylint: disable=no-member
57
+
58
+ if val is not None and val != UNSET_SENTINEL:
59
+ m[k] = val
60
+ elif val != UNSET_SENTINEL and (
61
+ not k in optional_fields or (optional_nullable and is_set)
62
+ ):
63
+ m[k] = val
64
+
65
+ return m
@@ -0,0 +1,22 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .db_model_paginationresponse import (
5
+ DbModelPaginationResponse,
6
+ DbModelPaginationResponseTypedDict,
7
+ )
8
+ from .taskresponse import TaskResponse, TaskResponseTypedDict
9
+ from mixpeek.types import BaseModel
10
+ from typing import List
11
+ from typing_extensions import TypedDict
12
+
13
+
14
+ class ListTasksResponseTypedDict(TypedDict):
15
+ results: List[TaskResponseTypedDict]
16
+ pagination: DbModelPaginationResponseTypedDict
17
+
18
+
19
+ class ListTasksResponse(BaseModel):
20
+ results: List[TaskResponse]
21
+
22
+ pagination: DbModelPaginationResponse
@@ -436,3 +436,219 @@ class Tasks(BaseSDK):
436
436
  http_res_text,
437
437
  http_res,
438
438
  )
439
+
440
+ def list_active_tasks_v1_tasks_get(
441
+ self,
442
+ *,
443
+ page: OptionalNullable[int] = UNSET,
444
+ page_size: Optional[int] = 10,
445
+ x_namespace: OptionalNullable[str] = UNSET,
446
+ retries: OptionalNullable[utils.RetryConfig] = UNSET,
447
+ server_url: Optional[str] = None,
448
+ timeout_ms: Optional[int] = None,
449
+ http_headers: Optional[Mapping[str, str]] = None,
450
+ ) -> models.ListTasksResponse:
451
+ r"""List Active Tasks
452
+
453
+ Retrieve all tasks that are not in a complete state (DONE, FAILED, SKIPPED, or CANCELLED)
454
+
455
+ :param page:
456
+ :param page_size:
457
+ :param x_namespace: 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.
458
+ :param retries: Override the default retry configuration for this method
459
+ :param server_url: Override the default server URL for this method
460
+ :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
461
+ :param http_headers: Additional headers to set or replace on requests.
462
+ """
463
+ base_url = None
464
+ url_variables = None
465
+ if timeout_ms is None:
466
+ timeout_ms = self.sdk_configuration.timeout_ms
467
+
468
+ if server_url is not None:
469
+ base_url = server_url
470
+
471
+ request = models.ListActiveTasksV1TasksGetRequest(
472
+ page=page,
473
+ page_size=page_size,
474
+ x_namespace=x_namespace,
475
+ )
476
+
477
+ req = self._build_request(
478
+ method="GET",
479
+ path="/v1/tasks",
480
+ base_url=base_url,
481
+ url_variables=url_variables,
482
+ request=request,
483
+ request_body_required=False,
484
+ request_has_path_params=False,
485
+ request_has_query_params=True,
486
+ user_agent_header="user-agent",
487
+ accept_header_value="application/json",
488
+ http_headers=http_headers,
489
+ security=self.sdk_configuration.security,
490
+ timeout_ms=timeout_ms,
491
+ )
492
+
493
+ if retries == UNSET:
494
+ if self.sdk_configuration.retry_config is not UNSET:
495
+ retries = self.sdk_configuration.retry_config
496
+
497
+ retry_config = None
498
+ if isinstance(retries, utils.RetryConfig):
499
+ retry_config = (retries, ["429", "500", "502", "503", "504"])
500
+
501
+ http_res = self.do_request(
502
+ hook_ctx=HookContext(
503
+ operation_id="list_active_tasks_v1_tasks_get",
504
+ oauth2_scopes=[],
505
+ security_source=get_security_from_env(
506
+ self.sdk_configuration.security, models.Security
507
+ ),
508
+ ),
509
+ request=req,
510
+ error_status_codes=["400", "401", "403", "404", "422", "4XX", "500", "5XX"],
511
+ retry_config=retry_config,
512
+ )
513
+
514
+ data: Any = None
515
+ if utils.match_response(http_res, "200", "application/json"):
516
+ return utils.unmarshal_json(http_res.text, models.ListTasksResponse)
517
+ if utils.match_response(
518
+ http_res, ["400", "401", "403", "404"], "application/json"
519
+ ):
520
+ data = utils.unmarshal_json(http_res.text, models.ErrorResponseData)
521
+ raise models.ErrorResponse(data=data)
522
+ if utils.match_response(http_res, "422", "application/json"):
523
+ data = utils.unmarshal_json(http_res.text, models.HTTPValidationErrorData)
524
+ raise models.HTTPValidationError(data=data)
525
+ if utils.match_response(http_res, "500", "application/json"):
526
+ data = utils.unmarshal_json(http_res.text, models.ErrorResponseData)
527
+ raise models.ErrorResponse(data=data)
528
+ if utils.match_response(http_res, "4XX", "*"):
529
+ http_res_text = utils.stream_to_text(http_res)
530
+ raise models.APIError(
531
+ "API error occurred", http_res.status_code, http_res_text, http_res
532
+ )
533
+ if utils.match_response(http_res, "5XX", "*"):
534
+ http_res_text = utils.stream_to_text(http_res)
535
+ raise models.APIError(
536
+ "API error occurred", http_res.status_code, http_res_text, http_res
537
+ )
538
+
539
+ content_type = http_res.headers.get("Content-Type")
540
+ http_res_text = utils.stream_to_text(http_res)
541
+ raise models.APIError(
542
+ f"Unexpected response received (code: {http_res.status_code}, type: {content_type})",
543
+ http_res.status_code,
544
+ http_res_text,
545
+ http_res,
546
+ )
547
+
548
+ async def list_active_tasks_v1_tasks_get_async(
549
+ self,
550
+ *,
551
+ page: OptionalNullable[int] = UNSET,
552
+ page_size: Optional[int] = 10,
553
+ x_namespace: OptionalNullable[str] = UNSET,
554
+ retries: OptionalNullable[utils.RetryConfig] = UNSET,
555
+ server_url: Optional[str] = None,
556
+ timeout_ms: Optional[int] = None,
557
+ http_headers: Optional[Mapping[str, str]] = None,
558
+ ) -> models.ListTasksResponse:
559
+ r"""List Active Tasks
560
+
561
+ Retrieve all tasks that are not in a complete state (DONE, FAILED, SKIPPED, or CANCELLED)
562
+
563
+ :param page:
564
+ :param page_size:
565
+ :param x_namespace: 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.
566
+ :param retries: Override the default retry configuration for this method
567
+ :param server_url: Override the default server URL for this method
568
+ :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
569
+ :param http_headers: Additional headers to set or replace on requests.
570
+ """
571
+ base_url = None
572
+ url_variables = None
573
+ if timeout_ms is None:
574
+ timeout_ms = self.sdk_configuration.timeout_ms
575
+
576
+ if server_url is not None:
577
+ base_url = server_url
578
+
579
+ request = models.ListActiveTasksV1TasksGetRequest(
580
+ page=page,
581
+ page_size=page_size,
582
+ x_namespace=x_namespace,
583
+ )
584
+
585
+ req = self._build_request_async(
586
+ method="GET",
587
+ path="/v1/tasks",
588
+ base_url=base_url,
589
+ url_variables=url_variables,
590
+ request=request,
591
+ request_body_required=False,
592
+ request_has_path_params=False,
593
+ request_has_query_params=True,
594
+ user_agent_header="user-agent",
595
+ accept_header_value="application/json",
596
+ http_headers=http_headers,
597
+ security=self.sdk_configuration.security,
598
+ timeout_ms=timeout_ms,
599
+ )
600
+
601
+ if retries == UNSET:
602
+ if self.sdk_configuration.retry_config is not UNSET:
603
+ retries = self.sdk_configuration.retry_config
604
+
605
+ retry_config = None
606
+ if isinstance(retries, utils.RetryConfig):
607
+ retry_config = (retries, ["429", "500", "502", "503", "504"])
608
+
609
+ http_res = await self.do_request_async(
610
+ hook_ctx=HookContext(
611
+ operation_id="list_active_tasks_v1_tasks_get",
612
+ oauth2_scopes=[],
613
+ security_source=get_security_from_env(
614
+ self.sdk_configuration.security, models.Security
615
+ ),
616
+ ),
617
+ request=req,
618
+ error_status_codes=["400", "401", "403", "404", "422", "4XX", "500", "5XX"],
619
+ retry_config=retry_config,
620
+ )
621
+
622
+ data: Any = None
623
+ if utils.match_response(http_res, "200", "application/json"):
624
+ return utils.unmarshal_json(http_res.text, models.ListTasksResponse)
625
+ if utils.match_response(
626
+ http_res, ["400", "401", "403", "404"], "application/json"
627
+ ):
628
+ data = utils.unmarshal_json(http_res.text, models.ErrorResponseData)
629
+ raise models.ErrorResponse(data=data)
630
+ if utils.match_response(http_res, "422", "application/json"):
631
+ data = utils.unmarshal_json(http_res.text, models.HTTPValidationErrorData)
632
+ raise models.HTTPValidationError(data=data)
633
+ if utils.match_response(http_res, "500", "application/json"):
634
+ data = utils.unmarshal_json(http_res.text, models.ErrorResponseData)
635
+ raise models.ErrorResponse(data=data)
636
+ if utils.match_response(http_res, "4XX", "*"):
637
+ http_res_text = await utils.stream_to_text_async(http_res)
638
+ raise models.APIError(
639
+ "API error occurred", http_res.status_code, http_res_text, http_res
640
+ )
641
+ if utils.match_response(http_res, "5XX", "*"):
642
+ http_res_text = await utils.stream_to_text_async(http_res)
643
+ raise models.APIError(
644
+ "API error occurred", http_res.status_code, http_res_text, http_res
645
+ )
646
+
647
+ content_type = http_res.headers.get("Content-Type")
648
+ http_res_text = await utils.stream_to_text_async(http_res)
649
+ raise models.APIError(
650
+ f"Unexpected response received (code: {http_res.status_code}, type: {content_type})",
651
+ http_res.status_code,
652
+ http_res_text,
653
+ http_res,
654
+ )
@@ -1594,11 +1594,10 @@ class TaxonomyEntities(BaseSDK):
1594
1594
  filters: OptionalNullable[
1595
1595
  Union[models.LogicalOperator, models.LogicalOperatorTypedDict]
1596
1596
  ] = UNSET,
1597
- confidence_threshold: Optional[float] = 0.8,
1598
1597
  assignment: Optional[
1599
1598
  Union[models.AssignmentConfig, models.AssignmentConfigTypedDict]
1600
1599
  ] = None,
1601
- sample_size: OptionalNullable[int] = UNSET,
1600
+ limit: OptionalNullable[int] = UNSET,
1602
1601
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1603
1602
  server_url: Optional[str] = None,
1604
1603
  timeout_ms: Optional[int] = None,
@@ -1612,9 +1611,8 @@ class TaxonomyEntities(BaseSDK):
1612
1611
  :param collections: List of collection names or ids to search for features
1613
1612
  :param x_namespace: 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.
1614
1613
  :param filters: Filters to apply to the discovery task
1615
- :param confidence_threshold: Minimum confidence score required for classification
1616
1614
  :param assignment: Configuration for how classifications should be assigned to features
1617
- :param sample_size: Number of feature samples to process
1615
+ :param limit: Number of feature samples to process, if None, all features that match the filters are processed
1618
1616
  :param retries: Override the default retry configuration for this method
1619
1617
  :param server_url: Override the default server URL for this method
1620
1618
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1637,11 +1635,10 @@ class TaxonomyEntities(BaseSDK):
1637
1635
  filters=utils.get_pydantic_model(
1638
1636
  filters, OptionalNullable[models.LogicalOperator]
1639
1637
  ),
1640
- confidence_threshold=confidence_threshold,
1641
1638
  assignment=utils.get_pydantic_model(
1642
1639
  assignment, Optional[models.AssignmentConfig]
1643
1640
  ),
1644
- sample_size=sample_size,
1641
+ limit=limit,
1645
1642
  ),
1646
1643
  )
1647
1644
  )
@@ -1729,11 +1726,10 @@ class TaxonomyEntities(BaseSDK):
1729
1726
  filters: OptionalNullable[
1730
1727
  Union[models.LogicalOperator, models.LogicalOperatorTypedDict]
1731
1728
  ] = UNSET,
1732
- confidence_threshold: Optional[float] = 0.8,
1733
1729
  assignment: Optional[
1734
1730
  Union[models.AssignmentConfig, models.AssignmentConfigTypedDict]
1735
1731
  ] = None,
1736
- sample_size: OptionalNullable[int] = UNSET,
1732
+ limit: OptionalNullable[int] = UNSET,
1737
1733
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1738
1734
  server_url: Optional[str] = None,
1739
1735
  timeout_ms: Optional[int] = None,
@@ -1747,9 +1743,8 @@ class TaxonomyEntities(BaseSDK):
1747
1743
  :param collections: List of collection names or ids to search for features
1748
1744
  :param x_namespace: 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.
1749
1745
  :param filters: Filters to apply to the discovery task
1750
- :param confidence_threshold: Minimum confidence score required for classification
1751
1746
  :param assignment: Configuration for how classifications should be assigned to features
1752
- :param sample_size: Number of feature samples to process
1747
+ :param limit: Number of feature samples to process, if None, all features that match the filters are processed
1753
1748
  :param retries: Override the default retry configuration for this method
1754
1749
  :param server_url: Override the default server URL for this method
1755
1750
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1772,11 +1767,10 @@ class TaxonomyEntities(BaseSDK):
1772
1767
  filters=utils.get_pydantic_model(
1773
1768
  filters, OptionalNullable[models.LogicalOperator]
1774
1769
  ),
1775
- confidence_threshold=confidence_threshold,
1776
1770
  assignment=utils.get_pydantic_model(
1777
1771
  assignment, Optional[models.AssignmentConfig]
1778
1772
  ),
1779
- sample_size=sample_size,
1773
+ limit=limit,
1780
1774
  ),
1781
1775
  )
1782
1776
  )
@@ -1,25 +0,0 @@
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 typing import Optional
6
- from typing_extensions import NotRequired, TypedDict
7
-
8
-
9
- class AssignmentConfigTypedDict(TypedDict):
10
- r"""Configuration for how classifications should be assigned to features"""
11
-
12
- enabled: NotRequired[bool]
13
- r"""Whether to assign the taxonomy to the feature"""
14
- append: NotRequired[bool]
15
- r"""Whether to append the classification to the feature, if false, replaces any existing classification"""
16
-
17
-
18
- class AssignmentConfig(BaseModel):
19
- r"""Configuration for how classifications should be assigned to features"""
20
-
21
- enabled: Optional[bool] = False
22
- r"""Whether to assign the taxonomy to the feature"""
23
-
24
- append: Optional[bool] = False
25
- r"""Whether to append the classification to the feature, if false, replaces any existing classification"""
File without changes
File without changes