mixpeek 0.17.9__py3-none-any.whl → 0.18.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
mixpeek/sdk.py CHANGED
@@ -10,17 +10,18 @@ from mixpeek import models, utils
10
10
  from mixpeek._hooks import SDKHooks
11
11
  from mixpeek.assets import Assets
12
12
  from mixpeek.collections import Collections
13
- from mixpeek.feature_extractors import FeatureExtractors
14
- from mixpeek.feature_search import FeatureSearch
13
+ from mixpeek.featureextractors import FeatureExtractors
15
14
  from mixpeek.features import Features
16
15
  from mixpeek.health import Health
17
- from mixpeek.ingest_assets import IngestAssets
16
+ from mixpeek.ingestassets import IngestAssets
18
17
  from mixpeek.models import internal
19
18
  from mixpeek.namespaces import Namespaces
20
19
  from mixpeek.organizations import Organizations
21
20
  from mixpeek.tasks import Tasks
22
- from mixpeek.taxonomy_entities import TaxonomyEntities
21
+ from mixpeek.taxonomies import Taxonomies
22
+ from mixpeek.taxonomyentities import TaxonomyEntities
23
23
  from mixpeek.types import OptionalNullable, UNSET
24
+ from mixpeek.users import Users
24
25
  from typing import Any, Callable, Dict, Optional, Union
25
26
 
26
27
 
@@ -29,12 +30,13 @@ class Mixpeek(BaseSDK):
29
30
 
30
31
  health: Health
31
32
  organizations: Organizations
33
+ users: Users
32
34
  namespaces: Namespaces
33
35
  features: Features
34
- feature_search: FeatureSearch
35
36
  feature_extractors: FeatureExtractors
36
37
  ingest_assets: IngestAssets
37
38
  taxonomy_entities: TaxonomyEntities
39
+ taxonomies: Taxonomies
38
40
  assets: Assets
39
41
  collections: Collections
40
42
  tasks: Tasks
@@ -130,12 +132,13 @@ class Mixpeek(BaseSDK):
130
132
  def _init_sdks(self):
131
133
  self.health = Health(self.sdk_configuration)
132
134
  self.organizations = Organizations(self.sdk_configuration)
135
+ self.users = Users(self.sdk_configuration)
133
136
  self.namespaces = Namespaces(self.sdk_configuration)
134
137
  self.features = Features(self.sdk_configuration)
135
- self.feature_search = FeatureSearch(self.sdk_configuration)
136
138
  self.feature_extractors = FeatureExtractors(self.sdk_configuration)
137
139
  self.ingest_assets = IngestAssets(self.sdk_configuration)
138
140
  self.taxonomy_entities = TaxonomyEntities(self.sdk_configuration)
141
+ self.taxonomies = Taxonomies(self.sdk_configuration)
139
142
  self.assets = Assets(self.sdk_configuration)
140
143
  self.collections = Collections(self.sdk_configuration)
141
144
  self.tasks = Tasks(self.sdk_configuration)
mixpeek/tasks.py CHANGED
@@ -9,7 +9,7 @@ from typing import Any, Mapping, Optional
9
9
 
10
10
 
11
11
  class Tasks(BaseSDK):
12
- def kill_task_v1_tasks_task_id_delete(
12
+ def delete(
13
13
  self,
14
14
  *,
15
15
  task_id: str,
@@ -115,7 +115,7 @@ class Tasks(BaseSDK):
115
115
  http_res,
116
116
  )
117
117
 
118
- async def kill_task_v1_tasks_task_id_delete_async(
118
+ async def delete_async(
119
119
  self,
120
120
  *,
121
121
  task_id: str,
@@ -221,7 +221,7 @@ class Tasks(BaseSDK):
221
221
  http_res,
222
222
  )
223
223
 
224
- def get_task_v1_tasks_task_id_get(
224
+ def get(
225
225
  self,
226
226
  *,
227
227
  task_id: str,
@@ -329,7 +329,7 @@ class Tasks(BaseSDK):
329
329
  http_res,
330
330
  )
331
331
 
332
- async def get_task_v1_tasks_task_id_get_async(
332
+ async def get_async(
333
333
  self,
334
334
  *,
335
335
  task_id: str,
@@ -437,7 +437,7 @@ class Tasks(BaseSDK):
437
437
  http_res,
438
438
  )
439
439
 
440
- def list_active_tasks_v1_tasks_get(
440
+ def list_active(
441
441
  self,
442
442
  *,
443
443
  page: OptionalNullable[int] = UNSET,
@@ -545,7 +545,7 @@ class Tasks(BaseSDK):
545
545
  http_res,
546
546
  )
547
547
 
548
- async def list_active_tasks_v1_tasks_get_async(
548
+ async def list_active_async(
549
549
  self,
550
550
  *,
551
551
  page: OptionalNullable[int] = UNSET,