mixpeek 0.18.8__py3-none-any.whl → 0.18.10__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/_version.py +2 -2
- mixpeek/models/classificationmatch.py +5 -0
- mixpeek/models/taxonomyextractionconfig.py +10 -15
- mixpeek/sdk.py +334 -3
- {mixpeek-0.18.8.dist-info → mixpeek-0.18.10.dist-info}/METADATA +15 -7
- {mixpeek-0.18.8.dist-info → mixpeek-0.18.10.dist-info}/RECORD +7 -7
- {mixpeek-0.18.8.dist-info → mixpeek-0.18.10.dist-info}/WHEEL +0 -0
mixpeek/_version.py
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
import importlib.metadata
|
4
4
|
|
5
5
|
__title__: str = "mixpeek"
|
6
|
-
__version__: str = "0.18.
|
6
|
+
__version__: str = "0.18.10"
|
7
7
|
__openapi_doc_version__: str = "0.81"
|
8
8
|
__gen_version__: str = "2.495.1"
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.18.
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.18.10 2.495.1 0.81 mixpeek"
|
10
10
|
|
11
11
|
try:
|
12
12
|
if __package__ is not None:
|
@@ -11,6 +11,8 @@ from typing_extensions import NotRequired, TypedDict
|
|
11
11
|
class ClassificationMatchTypedDict(TypedDict):
|
12
12
|
r"""Individual node match with score"""
|
13
13
|
|
14
|
+
taxonomy_id: str
|
15
|
+
r"""ID of the matched taxonomy"""
|
14
16
|
node_id: str
|
15
17
|
r"""ID of the matched taxonomy node"""
|
16
18
|
score: float
|
@@ -26,6 +28,9 @@ class ClassificationMatchTypedDict(TypedDict):
|
|
26
28
|
class ClassificationMatch(BaseModel):
|
27
29
|
r"""Individual node match with score"""
|
28
30
|
|
31
|
+
taxonomy_id: str
|
32
|
+
r"""ID of the matched taxonomy"""
|
33
|
+
|
29
34
|
node_id: str
|
30
35
|
r"""ID of the matched taxonomy node"""
|
31
36
|
|
@@ -1,31 +1,26 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
-
from .
|
4
|
+
from .assignmentconfig import AssignmentConfig, AssignmentConfigTypedDict
|
5
5
|
from mixpeek.types import BaseModel
|
6
|
-
from typing import
|
6
|
+
from typing import Optional
|
7
7
|
from typing_extensions import NotRequired, TypedDict
|
8
8
|
|
9
9
|
|
10
10
|
class TaxonomyExtractionConfigTypedDict(TypedDict):
|
11
11
|
r"""Configuration for taxonomy-based entity extraction during ingestion"""
|
12
12
|
|
13
|
-
|
14
|
-
r"""
|
15
|
-
|
16
|
-
r"""
|
17
|
-
confidence_threshold: NotRequired[float]
|
18
|
-
r"""Minimum confidence score required for classification"""
|
13
|
+
taxonomy: str
|
14
|
+
r"""Taxonomy name or ID to use for classification"""
|
15
|
+
assignment: NotRequired[AssignmentConfigTypedDict]
|
16
|
+
r"""Configuration for how classifications should be assigned to features"""
|
19
17
|
|
20
18
|
|
21
19
|
class TaxonomyExtractionConfig(BaseModel):
|
22
20
|
r"""Configuration for taxonomy-based entity extraction during ingestion"""
|
23
21
|
|
24
|
-
|
25
|
-
r"""
|
22
|
+
taxonomy: str
|
23
|
+
r"""Taxonomy name or ID to use for classification"""
|
26
24
|
|
27
|
-
|
28
|
-
r"""
|
29
|
-
|
30
|
-
confidence_threshold: Optional[float] = 0.8
|
31
|
-
r"""Minimum confidence score required for classification"""
|
25
|
+
assignment: Optional[AssignmentConfig] = None
|
26
|
+
r"""Configuration for how classifications should be assigned to features"""
|
mixpeek/sdk.py
CHANGED
@@ -7,7 +7,7 @@ from .utils.logger import Logger, get_default_logger
|
|
7
7
|
from .utils.retries import RetryConfig
|
8
8
|
import httpx
|
9
9
|
from mixpeek import models, utils
|
10
|
-
from mixpeek._hooks import SDKHooks
|
10
|
+
from mixpeek._hooks import HookContext, SDKHooks
|
11
11
|
from mixpeek.assets import Assets
|
12
12
|
from mixpeek.collections import Collections
|
13
13
|
from mixpeek.featureextractors import FeatureExtractors
|
@@ -22,12 +22,19 @@ from mixpeek.taxonomies import Taxonomies
|
|
22
22
|
from mixpeek.taxonomyentities import TaxonomyEntities
|
23
23
|
from mixpeek.types import OptionalNullable, UNSET
|
24
24
|
from mixpeek.users import Users
|
25
|
-
from
|
25
|
+
from mixpeek.utils import get_security_from_env
|
26
|
+
from typing import Any, Callable, Dict, Mapping, Optional, Union, cast
|
26
27
|
import weakref
|
27
28
|
|
28
29
|
|
29
30
|
class Mixpeek(BaseSDK):
|
30
|
-
r"""Mixpeek API: This is the Mixpeek API, providing access to various endpoints for data processing and retrieval.
|
31
|
+
r"""Mixpeek API: This is the Mixpeek API, providing access to various endpoints for data processing and retrieval.
|
32
|
+
|
33
|
+
Download OpenAPI Specification:
|
34
|
+
- [OpenAPI JSON](/openapi.json)
|
35
|
+
- [OpenAPI YAML](/openapi.yaml)
|
36
|
+
|
37
|
+
"""
|
31
38
|
|
32
39
|
health: Health
|
33
40
|
organizations: Organizations
|
@@ -165,3 +172,327 @@ class Mixpeek(BaseSDK):
|
|
165
172
|
async def __aexit__(self, exc_type, exc_val, exc_tb):
|
166
173
|
if self.sdk_configuration.async_client is not None:
|
167
174
|
await self.sdk_configuration.async_client.aclose()
|
175
|
+
|
176
|
+
def get_openapi_json_openapi_json_get(
|
177
|
+
self,
|
178
|
+
*,
|
179
|
+
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
180
|
+
server_url: Optional[str] = None,
|
181
|
+
timeout_ms: Optional[int] = None,
|
182
|
+
http_headers: Optional[Mapping[str, str]] = None,
|
183
|
+
) -> Any:
|
184
|
+
r"""Get Openapi Json
|
185
|
+
|
186
|
+
:param retries: Override the default retry configuration for this method
|
187
|
+
:param server_url: Override the default server URL for this method
|
188
|
+
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
189
|
+
:param http_headers: Additional headers to set or replace on requests.
|
190
|
+
"""
|
191
|
+
base_url = None
|
192
|
+
url_variables = None
|
193
|
+
if timeout_ms is None:
|
194
|
+
timeout_ms = self.sdk_configuration.timeout_ms
|
195
|
+
|
196
|
+
if server_url is not None:
|
197
|
+
base_url = server_url
|
198
|
+
req = self._build_request(
|
199
|
+
method="GET",
|
200
|
+
path="/openapi.json",
|
201
|
+
base_url=base_url,
|
202
|
+
url_variables=url_variables,
|
203
|
+
request=None,
|
204
|
+
request_body_required=False,
|
205
|
+
request_has_path_params=False,
|
206
|
+
request_has_query_params=True,
|
207
|
+
user_agent_header="user-agent",
|
208
|
+
accept_header_value="application/json",
|
209
|
+
http_headers=http_headers,
|
210
|
+
security=self.sdk_configuration.security,
|
211
|
+
timeout_ms=timeout_ms,
|
212
|
+
)
|
213
|
+
|
214
|
+
if retries == UNSET:
|
215
|
+
if self.sdk_configuration.retry_config is not UNSET:
|
216
|
+
retries = self.sdk_configuration.retry_config
|
217
|
+
|
218
|
+
retry_config = None
|
219
|
+
if isinstance(retries, utils.RetryConfig):
|
220
|
+
retry_config = (retries, ["429", "500", "502", "503", "504"])
|
221
|
+
|
222
|
+
http_res = self.do_request(
|
223
|
+
hook_ctx=HookContext(
|
224
|
+
operation_id="get_openapi_json_openapi_json_get",
|
225
|
+
oauth2_scopes=[],
|
226
|
+
security_source=get_security_from_env(
|
227
|
+
self.sdk_configuration.security, models.Security
|
228
|
+
),
|
229
|
+
),
|
230
|
+
request=req,
|
231
|
+
error_status_codes=["4XX", "5XX"],
|
232
|
+
retry_config=retry_config,
|
233
|
+
)
|
234
|
+
|
235
|
+
if utils.match_response(http_res, "200", "application/json"):
|
236
|
+
return utils.unmarshal_json(http_res.text, Any)
|
237
|
+
if utils.match_response(http_res, "4XX", "*"):
|
238
|
+
http_res_text = utils.stream_to_text(http_res)
|
239
|
+
raise models.APIError(
|
240
|
+
"API error occurred", http_res.status_code, http_res_text, http_res
|
241
|
+
)
|
242
|
+
if utils.match_response(http_res, "5XX", "*"):
|
243
|
+
http_res_text = utils.stream_to_text(http_res)
|
244
|
+
raise models.APIError(
|
245
|
+
"API error occurred", http_res.status_code, http_res_text, http_res
|
246
|
+
)
|
247
|
+
|
248
|
+
content_type = http_res.headers.get("Content-Type")
|
249
|
+
http_res_text = utils.stream_to_text(http_res)
|
250
|
+
raise models.APIError(
|
251
|
+
f"Unexpected response received (code: {http_res.status_code}, type: {content_type})",
|
252
|
+
http_res.status_code,
|
253
|
+
http_res_text,
|
254
|
+
http_res,
|
255
|
+
)
|
256
|
+
|
257
|
+
async def get_openapi_json_openapi_json_get_async(
|
258
|
+
self,
|
259
|
+
*,
|
260
|
+
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
261
|
+
server_url: Optional[str] = None,
|
262
|
+
timeout_ms: Optional[int] = None,
|
263
|
+
http_headers: Optional[Mapping[str, str]] = None,
|
264
|
+
) -> Any:
|
265
|
+
r"""Get Openapi Json
|
266
|
+
|
267
|
+
:param retries: Override the default retry configuration for this method
|
268
|
+
:param server_url: Override the default server URL for this method
|
269
|
+
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
270
|
+
:param http_headers: Additional headers to set or replace on requests.
|
271
|
+
"""
|
272
|
+
base_url = None
|
273
|
+
url_variables = None
|
274
|
+
if timeout_ms is None:
|
275
|
+
timeout_ms = self.sdk_configuration.timeout_ms
|
276
|
+
|
277
|
+
if server_url is not None:
|
278
|
+
base_url = server_url
|
279
|
+
req = self._build_request_async(
|
280
|
+
method="GET",
|
281
|
+
path="/openapi.json",
|
282
|
+
base_url=base_url,
|
283
|
+
url_variables=url_variables,
|
284
|
+
request=None,
|
285
|
+
request_body_required=False,
|
286
|
+
request_has_path_params=False,
|
287
|
+
request_has_query_params=True,
|
288
|
+
user_agent_header="user-agent",
|
289
|
+
accept_header_value="application/json",
|
290
|
+
http_headers=http_headers,
|
291
|
+
security=self.sdk_configuration.security,
|
292
|
+
timeout_ms=timeout_ms,
|
293
|
+
)
|
294
|
+
|
295
|
+
if retries == UNSET:
|
296
|
+
if self.sdk_configuration.retry_config is not UNSET:
|
297
|
+
retries = self.sdk_configuration.retry_config
|
298
|
+
|
299
|
+
retry_config = None
|
300
|
+
if isinstance(retries, utils.RetryConfig):
|
301
|
+
retry_config = (retries, ["429", "500", "502", "503", "504"])
|
302
|
+
|
303
|
+
http_res = await self.do_request_async(
|
304
|
+
hook_ctx=HookContext(
|
305
|
+
operation_id="get_openapi_json_openapi_json_get",
|
306
|
+
oauth2_scopes=[],
|
307
|
+
security_source=get_security_from_env(
|
308
|
+
self.sdk_configuration.security, models.Security
|
309
|
+
),
|
310
|
+
),
|
311
|
+
request=req,
|
312
|
+
error_status_codes=["4XX", "5XX"],
|
313
|
+
retry_config=retry_config,
|
314
|
+
)
|
315
|
+
|
316
|
+
if utils.match_response(http_res, "200", "application/json"):
|
317
|
+
return utils.unmarshal_json(http_res.text, Any)
|
318
|
+
if utils.match_response(http_res, "4XX", "*"):
|
319
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
320
|
+
raise models.APIError(
|
321
|
+
"API error occurred", http_res.status_code, http_res_text, http_res
|
322
|
+
)
|
323
|
+
if utils.match_response(http_res, "5XX", "*"):
|
324
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
325
|
+
raise models.APIError(
|
326
|
+
"API error occurred", http_res.status_code, http_res_text, http_res
|
327
|
+
)
|
328
|
+
|
329
|
+
content_type = http_res.headers.get("Content-Type")
|
330
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
331
|
+
raise models.APIError(
|
332
|
+
f"Unexpected response received (code: {http_res.status_code}, type: {content_type})",
|
333
|
+
http_res.status_code,
|
334
|
+
http_res_text,
|
335
|
+
http_res,
|
336
|
+
)
|
337
|
+
|
338
|
+
def get_openapi_yaml_openapi_yaml_get(
|
339
|
+
self,
|
340
|
+
*,
|
341
|
+
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
342
|
+
server_url: Optional[str] = None,
|
343
|
+
timeout_ms: Optional[int] = None,
|
344
|
+
http_headers: Optional[Mapping[str, str]] = None,
|
345
|
+
) -> Any:
|
346
|
+
r"""Get Openapi Yaml
|
347
|
+
|
348
|
+
:param retries: Override the default retry configuration for this method
|
349
|
+
:param server_url: Override the default server URL for this method
|
350
|
+
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
351
|
+
:param http_headers: Additional headers to set or replace on requests.
|
352
|
+
"""
|
353
|
+
base_url = None
|
354
|
+
url_variables = None
|
355
|
+
if timeout_ms is None:
|
356
|
+
timeout_ms = self.sdk_configuration.timeout_ms
|
357
|
+
|
358
|
+
if server_url is not None:
|
359
|
+
base_url = server_url
|
360
|
+
req = self._build_request(
|
361
|
+
method="GET",
|
362
|
+
path="/openapi.yaml",
|
363
|
+
base_url=base_url,
|
364
|
+
url_variables=url_variables,
|
365
|
+
request=None,
|
366
|
+
request_body_required=False,
|
367
|
+
request_has_path_params=False,
|
368
|
+
request_has_query_params=True,
|
369
|
+
user_agent_header="user-agent",
|
370
|
+
accept_header_value="application/json",
|
371
|
+
http_headers=http_headers,
|
372
|
+
security=self.sdk_configuration.security,
|
373
|
+
timeout_ms=timeout_ms,
|
374
|
+
)
|
375
|
+
|
376
|
+
if retries == UNSET:
|
377
|
+
if self.sdk_configuration.retry_config is not UNSET:
|
378
|
+
retries = self.sdk_configuration.retry_config
|
379
|
+
|
380
|
+
retry_config = None
|
381
|
+
if isinstance(retries, utils.RetryConfig):
|
382
|
+
retry_config = (retries, ["429", "500", "502", "503", "504"])
|
383
|
+
|
384
|
+
http_res = self.do_request(
|
385
|
+
hook_ctx=HookContext(
|
386
|
+
operation_id="get_openapi_yaml_openapi_yaml_get",
|
387
|
+
oauth2_scopes=[],
|
388
|
+
security_source=get_security_from_env(
|
389
|
+
self.sdk_configuration.security, models.Security
|
390
|
+
),
|
391
|
+
),
|
392
|
+
request=req,
|
393
|
+
error_status_codes=["4XX", "5XX"],
|
394
|
+
retry_config=retry_config,
|
395
|
+
)
|
396
|
+
|
397
|
+
if utils.match_response(http_res, "200", "application/json"):
|
398
|
+
return utils.unmarshal_json(http_res.text, Any)
|
399
|
+
if utils.match_response(http_res, "4XX", "*"):
|
400
|
+
http_res_text = utils.stream_to_text(http_res)
|
401
|
+
raise models.APIError(
|
402
|
+
"API error occurred", http_res.status_code, http_res_text, http_res
|
403
|
+
)
|
404
|
+
if utils.match_response(http_res, "5XX", "*"):
|
405
|
+
http_res_text = utils.stream_to_text(http_res)
|
406
|
+
raise models.APIError(
|
407
|
+
"API error occurred", http_res.status_code, http_res_text, http_res
|
408
|
+
)
|
409
|
+
|
410
|
+
content_type = http_res.headers.get("Content-Type")
|
411
|
+
http_res_text = utils.stream_to_text(http_res)
|
412
|
+
raise models.APIError(
|
413
|
+
f"Unexpected response received (code: {http_res.status_code}, type: {content_type})",
|
414
|
+
http_res.status_code,
|
415
|
+
http_res_text,
|
416
|
+
http_res,
|
417
|
+
)
|
418
|
+
|
419
|
+
async def get_openapi_yaml_openapi_yaml_get_async(
|
420
|
+
self,
|
421
|
+
*,
|
422
|
+
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
423
|
+
server_url: Optional[str] = None,
|
424
|
+
timeout_ms: Optional[int] = None,
|
425
|
+
http_headers: Optional[Mapping[str, str]] = None,
|
426
|
+
) -> Any:
|
427
|
+
r"""Get Openapi Yaml
|
428
|
+
|
429
|
+
:param retries: Override the default retry configuration for this method
|
430
|
+
:param server_url: Override the default server URL for this method
|
431
|
+
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
432
|
+
:param http_headers: Additional headers to set or replace on requests.
|
433
|
+
"""
|
434
|
+
base_url = None
|
435
|
+
url_variables = None
|
436
|
+
if timeout_ms is None:
|
437
|
+
timeout_ms = self.sdk_configuration.timeout_ms
|
438
|
+
|
439
|
+
if server_url is not None:
|
440
|
+
base_url = server_url
|
441
|
+
req = self._build_request_async(
|
442
|
+
method="GET",
|
443
|
+
path="/openapi.yaml",
|
444
|
+
base_url=base_url,
|
445
|
+
url_variables=url_variables,
|
446
|
+
request=None,
|
447
|
+
request_body_required=False,
|
448
|
+
request_has_path_params=False,
|
449
|
+
request_has_query_params=True,
|
450
|
+
user_agent_header="user-agent",
|
451
|
+
accept_header_value="application/json",
|
452
|
+
http_headers=http_headers,
|
453
|
+
security=self.sdk_configuration.security,
|
454
|
+
timeout_ms=timeout_ms,
|
455
|
+
)
|
456
|
+
|
457
|
+
if retries == UNSET:
|
458
|
+
if self.sdk_configuration.retry_config is not UNSET:
|
459
|
+
retries = self.sdk_configuration.retry_config
|
460
|
+
|
461
|
+
retry_config = None
|
462
|
+
if isinstance(retries, utils.RetryConfig):
|
463
|
+
retry_config = (retries, ["429", "500", "502", "503", "504"])
|
464
|
+
|
465
|
+
http_res = await self.do_request_async(
|
466
|
+
hook_ctx=HookContext(
|
467
|
+
operation_id="get_openapi_yaml_openapi_yaml_get",
|
468
|
+
oauth2_scopes=[],
|
469
|
+
security_source=get_security_from_env(
|
470
|
+
self.sdk_configuration.security, models.Security
|
471
|
+
),
|
472
|
+
),
|
473
|
+
request=req,
|
474
|
+
error_status_codes=["4XX", "5XX"],
|
475
|
+
retry_config=retry_config,
|
476
|
+
)
|
477
|
+
|
478
|
+
if utils.match_response(http_res, "200", "application/json"):
|
479
|
+
return utils.unmarshal_json(http_res.text, Any)
|
480
|
+
if utils.match_response(http_res, "4XX", "*"):
|
481
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
482
|
+
raise models.APIError(
|
483
|
+
"API error occurred", http_res.status_code, http_res_text, http_res
|
484
|
+
)
|
485
|
+
if utils.match_response(http_res, "5XX", "*"):
|
486
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
487
|
+
raise models.APIError(
|
488
|
+
"API error occurred", http_res.status_code, http_res_text, http_res
|
489
|
+
)
|
490
|
+
|
491
|
+
content_type = http_res.headers.get("Content-Type")
|
492
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
493
|
+
raise models.APIError(
|
494
|
+
f"Unexpected response received (code: {http_res.status_code}, type: {content_type})",
|
495
|
+
http_res.status_code,
|
496
|
+
http_res_text,
|
497
|
+
http_res,
|
498
|
+
)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: mixpeek
|
3
|
-
Version: 0.18.
|
3
|
+
Version: 0.18.10
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy.
|
5
5
|
Author: Speakeasy
|
6
6
|
Requires-Python: >=3.9
|
@@ -27,6 +27,10 @@ Developer-friendly & type-safe Python SDK specifically catered to leverage *mixp
|
|
27
27
|
## Summary
|
28
28
|
|
29
29
|
Mixpeek API: This is the Mixpeek API, providing access to various endpoints for data processing and retrieval.
|
30
|
+
|
31
|
+
Download OpenAPI Specification:
|
32
|
+
- [OpenAPI JSON](https://github.com/mixpeek/python-sdk/blob/master//openapi.json)
|
33
|
+
- [OpenAPI YAML](https://github.com/mixpeek/python-sdk/blob/master//openapi.yaml)
|
30
34
|
<!-- End Summary [summary] -->
|
31
35
|
|
32
36
|
<!-- Start Table of Contents [toc] -->
|
@@ -101,7 +105,7 @@ with Mixpeek(
|
|
101
105
|
token=os.getenv("MIXPEEK_TOKEN", ""),
|
102
106
|
) as mixpeek:
|
103
107
|
|
104
|
-
res = mixpeek.
|
108
|
+
res = mixpeek.get_openapi_json_openapi_json_get()
|
105
109
|
|
106
110
|
# Handle response
|
107
111
|
print(res)
|
@@ -121,7 +125,7 @@ async def main():
|
|
121
125
|
token=os.getenv("MIXPEEK_TOKEN", ""),
|
122
126
|
) as mixpeek:
|
123
127
|
|
124
|
-
res = await mixpeek.
|
128
|
+
res = await mixpeek.get_openapi_json_openapi_json_get_async()
|
125
129
|
|
126
130
|
# Handle response
|
127
131
|
print(res)
|
@@ -150,7 +154,7 @@ with Mixpeek(
|
|
150
154
|
token=os.getenv("MIXPEEK_TOKEN", ""),
|
151
155
|
) as mixpeek:
|
152
156
|
|
153
|
-
res = mixpeek.
|
157
|
+
res = mixpeek.get_openapi_json_openapi_json_get()
|
154
158
|
|
155
159
|
# Handle response
|
156
160
|
print(res)
|
@@ -204,6 +208,10 @@ with Mixpeek(
|
|
204
208
|
* [ingest_video_url](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/ingestassets/README.md#ingest_video_url) - Ingest Video Url
|
205
209
|
* [ingest_image_url](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/ingestassets/README.md#ingest_image_url) - Ingest Image Url
|
206
210
|
|
211
|
+
### [Mixpeek SDK](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/mixpeek/README.md)
|
212
|
+
|
213
|
+
* [get_openapi_json_openapi_json_get](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/mixpeek/README.md#get_openapi_json_openapi_json_get) - Get Openapi Json
|
214
|
+
* [get_openapi_yaml_openapi_yaml_get](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/mixpeek/README.md#get_openapi_yaml_openapi_yaml_get) - Get Openapi Yaml
|
207
215
|
|
208
216
|
### [namespaces](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/namespaces/README.md)
|
209
217
|
|
@@ -268,7 +276,7 @@ with Mixpeek(
|
|
268
276
|
token=os.getenv("MIXPEEK_TOKEN", ""),
|
269
277
|
) as mixpeek:
|
270
278
|
|
271
|
-
res = mixpeek.
|
279
|
+
res = mixpeek.get_openapi_json_openapi_json_get(,
|
272
280
|
RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))
|
273
281
|
|
274
282
|
# Handle response
|
@@ -287,7 +295,7 @@ with Mixpeek(
|
|
287
295
|
token=os.getenv("MIXPEEK_TOKEN", ""),
|
288
296
|
) as mixpeek:
|
289
297
|
|
290
|
-
res = mixpeek.
|
298
|
+
res = mixpeek.get_openapi_json_openapi_json_get()
|
291
299
|
|
292
300
|
# Handle response
|
293
301
|
print(res)
|
@@ -365,7 +373,7 @@ with Mixpeek(
|
|
365
373
|
token=os.getenv("MIXPEEK_TOKEN", ""),
|
366
374
|
) as mixpeek:
|
367
375
|
|
368
|
-
res = mixpeek.
|
376
|
+
res = mixpeek.get_openapi_json_openapi_json_get()
|
369
377
|
|
370
378
|
# Handle response
|
371
379
|
print(res)
|
@@ -3,7 +3,7 @@ mixpeek/_hooks/__init__.py,sha256=p5J13DeYuISQyQWirjJAObHIf2VtIlOtFqnIpvjjVwk,11
|
|
3
3
|
mixpeek/_hooks/registration.py,sha256=1QZB41w6If7I9dXiOSQx6dhSc6BPWrnI5Q5bMOr4iVA,624
|
4
4
|
mixpeek/_hooks/sdkhooks.py,sha256=T0xbVPw8mvvFszHZlrZdtFrJBovAqE-JQfw4dS9Xi7Y,2495
|
5
5
|
mixpeek/_hooks/types.py,sha256=Qh9pO5ndynMrWpMLPkJUsOmAJ1AJHntJAXb5Yxe_a4o,2568
|
6
|
-
mixpeek/_version.py,sha256=
|
6
|
+
mixpeek/_version.py,sha256=EvZ_htcX86wqxqcNOgAQd61Sn3lM_4c5GzLVu32wNWs,458
|
7
7
|
mixpeek/assets.py,sha256=-jYhngwslhsoc-Ni8MKxyk9pJl44uu2U0DRISErGt1Y,75518
|
8
8
|
mixpeek/basesdk.py,sha256=j_PZqE6WgIfx1cPCK5gAVn-rgPy9iLhUN5ELtefoEU0,11976
|
9
9
|
mixpeek/collections.py,sha256=mh0ypu89kY78Lnfal7OdBrHsCpJ3O54DVR3ejhD5oSo,49021
|
@@ -26,7 +26,7 @@ mixpeek/models/assignmentmode.py,sha256=iGnIbBsf-L3OGIQeFLl9INPu61N0dEMeRUnhxyxR
|
|
26
26
|
mixpeek/models/availablemodels.py,sha256=raBZi6xCmWbYNgvX-N5LzWLwEfbEskcJ_nJfTst9u5U,460
|
27
27
|
mixpeek/models/availablemodelsresponse.py,sha256=DDo0FaQx38Dls2A-4K4pTdpFydzXS533WkJQz9zBADE,1072
|
28
28
|
mixpeek/models/boolindexparams.py,sha256=bg7Hy6y9acpu7AxMpHTsYjEphDd0HnrqFPSgIDpgdZc,454
|
29
|
-
mixpeek/models/classificationmatch.py,sha256=
|
29
|
+
mixpeek/models/classificationmatch.py,sha256=v-GrwYCivo8JhbFC-yoB87a_4ahbMJeI2F0XGfq914k,2246
|
30
30
|
mixpeek/models/classificationwithfeature.py,sha256=LVxK0arDuqBTc7QDAgdOOx0-H1RvKdTGWhjT_67z_-o,2366
|
31
31
|
mixpeek/models/classify_features_v1_entities_taxonomies_taxonomy_classify_postop.py,sha256=wKLV5ZC-0EwlH_2rKWukmvUGpI_E-hzeveMO4mpb1lA,2666
|
32
32
|
mixpeek/models/collectionmodel.py,sha256=iCh87KQXyc2QPD12Dzr8OhhsqkflyLSAKrYSm00STEc,2163
|
@@ -140,7 +140,7 @@ mixpeek/models/sparseembedding.py,sha256=-nXJSRELVSQqTyXAPYA4swPKBscLdljq9vH4N91
|
|
140
140
|
mixpeek/models/taskresponse.py,sha256=_m1dqkl9TqL3DDw8OaFxO-iae8FRbGUrjF3Ed87OdBE,1670
|
141
141
|
mixpeek/models/taskstatus.py,sha256=QdRjtkiWROdM9GmWNs0U1rGbX2Nvek3OG-_Ay5D9cSI,423
|
142
142
|
mixpeek/models/taxonomycreate.py,sha256=FpkWIC3pncddWn2A5S3vspJBi1zG2OATsM5i_JFxsBI,641
|
143
|
-
mixpeek/models/taxonomyextractionconfig.py,sha256=
|
143
|
+
mixpeek/models/taxonomyextractionconfig.py,sha256=ecwADFbjrxeadFBP_7WLpA9YpBnQ_G-WNHSXwnuqdHU,974
|
144
144
|
mixpeek/models/taxonomymodel.py,sha256=FXmWJ1Cg1JN3RtBG6fkHI06j-RRwUGRhaWoPW1VemWw,753
|
145
145
|
mixpeek/models/taxonomynode.py,sha256=uq9qjkmEcHhi9J2FQmXr99SOTRhgJmXm7DJpMBJJqlI,3550
|
146
146
|
mixpeek/models/taxonomynodecreate.py,sha256=l_rwD9nbxD28PPUIlGGW5JOY8cpxVa_D7hLo-hRFtrM,2327
|
@@ -170,7 +170,7 @@ mixpeek/models/videotranscriptionsettings.py,sha256=70EN-PX2QiQAQjDLYaV2coUCnVjR
|
|
170
170
|
mixpeek/namespaces.py,sha256=ED42wsbEksGpW61sUvtnjJPl8O6ktVE7R7K5ZTHiZko,53848
|
171
171
|
mixpeek/organizations.py,sha256=Q0Nu_eg7bXCZniB0a8Gj7Kt8kRkVLzs5h_-T5w4c1Ic,44795
|
172
172
|
mixpeek/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
173
|
-
mixpeek/sdk.py,sha256=
|
173
|
+
mixpeek/sdk.py,sha256=yeMQ0X8hj39JTdI2csl4s9Y52H0W-IzB7mDwvXtnclM,19326
|
174
174
|
mixpeek/sdkconfiguration.py,sha256=WDFDVblhsi547ZxDPEPR243zKLM1shTDSt9w3nporHc,1703
|
175
175
|
mixpeek/tasks.py,sha256=tQMg5XUINdXAjbTVbJP63zLfRs5eNl5Fk46onDo5yFo,27602
|
176
176
|
mixpeek/taxonomies.py,sha256=M3q8g39M6VK3saT0sIgjsV5vs-4NO7iKdCJ894VxnLk,29553
|
@@ -193,6 +193,6 @@ mixpeek/utils/security.py,sha256=XoK-R2YMyZtVWQte7FoezfGJS-dea9jz4qQ7w5dwNWc,600
|
|
193
193
|
mixpeek/utils/serializers.py,sha256=BSJT7kBOkNBFyP7KREyMoe14JGbgijD1M6AXFMbdmco,4924
|
194
194
|
mixpeek/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
195
195
|
mixpeek/utils/values.py,sha256=_89YXPTI_BU6SXJBzFR4pIzTCBPQW9tsOTN1jeBBIDs,3428
|
196
|
-
mixpeek-0.18.
|
197
|
-
mixpeek-0.18.
|
198
|
-
mixpeek-0.18.
|
196
|
+
mixpeek-0.18.10.dist-info/METADATA,sha256=kulp3LfUClD0_0Q3396nJuW15UahGZ538gg_2PEwhGE,22952
|
197
|
+
mixpeek-0.18.10.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
198
|
+
mixpeek-0.18.10.dist-info/RECORD,,
|
File without changes
|