mixpeek 0.15.0__py3-none-any.whl → 0.15.1__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 +1 -1
- mixpeek/assets.py +8 -8
- mixpeek/collections.py +4 -4
- mixpeek/featureextractors.py +6 -6
- mixpeek/features.py +20 -20
- mixpeek/ingest.py +12 -54
- mixpeek/models/__init__.py +27 -108
- mixpeek/models/assetresponse.py +4 -4
- mixpeek/models/availableindexesresponse.py +2 -2
- mixpeek/models/availablemodels.py +4 -0
- mixpeek/models/createnamespacerequest.py +4 -4
- mixpeek/models/embeddingrequest.py +2 -2
- mixpeek/models/entitysettings.py +50 -0
- mixpeek/models/featureextractionembeddingrequest.py +2 -2
- mixpeek/models/imagedescribesettings.py +6 -6
- mixpeek/models/imagereadsettings.py +6 -6
- mixpeek/models/imagesettings.py +17 -4
- mixpeek/models/listassetsrequest.py +3 -3
- mixpeek/models/listfeaturesrequest.py +3 -3
- mixpeek/models/{logicaloperator_input.py → logicaloperator.py} +8 -8
- mixpeek/models/namespaceresponse.py +2 -2
- mixpeek/models/processimageurlinput.py +1 -13
- mixpeek/models/processtextinput.py +1 -13
- mixpeek/models/processvideourlinput.py +1 -13
- mixpeek/models/search_features_features_search_postop.py +4 -7
- mixpeek/models/{search_model_searchquery_input.py → search_model_searchquery.py} +7 -7
- mixpeek/models/searchassetsrequest.py +3 -3
- mixpeek/models/{searchrequestfeatures_output.py → searchrequestfeatures.py} +11 -11
- mixpeek/models/{percolaterequest.py → taskresponse.py} +15 -17
- mixpeek/models/taskstatus.py +1 -0
- mixpeek/models/taxonomyextractionconfig.py +31 -0
- mixpeek/models/textsettings.py +10 -4
- mixpeek/models/vectormodel.py +4 -0
- mixpeek/models/videodescribesettings.py +6 -6
- mixpeek/models/videoreadsettings.py +6 -6
- mixpeek/models/videosettings.py +17 -3
- mixpeek/models/videotranscriptionsettings.py +6 -6
- mixpeek/namespaces.py +6 -6
- mixpeek/sdk.py +0 -6
- mixpeek/sdkconfiguration.py +2 -2
- mixpeek/tasks.py +4 -4
- {mixpeek-0.15.0.dist-info → mixpeek-0.15.1.dist-info}/METADATA +1 -11
- {mixpeek-0.15.0.dist-info → mixpeek-0.15.1.dist-info}/RECORD +44 -56
- mixpeek/interactions.py +0 -228
- mixpeek/models/create_interaction_features_search_interactions_postop.py +0 -59
- mixpeek/models/db_model_taskresponse.py +0 -20
- mixpeek/models/delete_interaction_features_search_interactions_interaction_id_deleteop.py +0 -59
- mixpeek/models/get_interaction_features_search_interactions_interaction_id_getop.py +0 -59
- mixpeek/models/interactionresponse.py +0 -87
- mixpeek/models/interactiontype.py +0 -11
- mixpeek/models/list_interactions_features_search_interactions_getop.py +0 -96
- mixpeek/models/logicaloperator_output.py +0 -103
- mixpeek/models/searchinteraction.py +0 -82
- mixpeek/models/searchquery_output.py +0 -79
- mixpeek/models/searchrequestfeatures_input.py +0 -151
- mixpeek/models/tasks_model_taskresponse.py +0 -24
- mixpeek/searchinteractions.py +0 -666
- {mixpeek-0.15.0.dist-info → mixpeek-0.15.1.dist-info}/WHEEL +0 -0
@@ -22,8 +22,8 @@ class VideoTranscriptionSettingsTypedDict(TypedDict):
|
|
22
22
|
prompt: NotRequired[Nullable[str]]
|
23
23
|
json_output: NotRequired[VideoTranscriptionSettingsJSONOutputTypedDict]
|
24
24
|
r"""JSON format for the response"""
|
25
|
-
|
26
|
-
r"""Name of the vector model to use for embedding the text output. If
|
25
|
+
embedding_model: NotRequired[Nullable[VectorModel]]
|
26
|
+
r"""Name of the vector model to use for embedding the text output. If embedding_model is duplicated, the vector will be overwritten."""
|
27
27
|
|
28
28
|
|
29
29
|
class VideoTranscriptionSettings(BaseModel):
|
@@ -35,13 +35,13 @@ class VideoTranscriptionSettings(BaseModel):
|
|
35
35
|
json_output: Optional[VideoTranscriptionSettingsJSONOutput] = None
|
36
36
|
r"""JSON format for the response"""
|
37
37
|
|
38
|
-
|
39
|
-
r"""Name of the vector model to use for embedding the text output. If
|
38
|
+
embedding_model: OptionalNullable[VectorModel] = UNSET
|
39
|
+
r"""Name of the vector model to use for embedding the text output. If embedding_model is duplicated, the vector will be overwritten."""
|
40
40
|
|
41
41
|
@model_serializer(mode="wrap")
|
42
42
|
def serialize_model(self, handler):
|
43
|
-
optional_fields = ["enabled", "prompt", "json_output", "
|
44
|
-
nullable_fields = ["prompt", "
|
43
|
+
optional_fields = ["enabled", "prompt", "json_output", "embedding_model"]
|
44
|
+
nullable_fields = ["prompt", "embedding_model"]
|
45
45
|
null_default_fields = []
|
46
46
|
|
47
47
|
serialized = handler(self)
|
mixpeek/namespaces.py
CHANGED
@@ -13,7 +13,7 @@ class Namespaces(BaseSDK):
|
|
13
13
|
self,
|
14
14
|
*,
|
15
15
|
namespace_name: str,
|
16
|
-
|
16
|
+
embedding_models: List[str],
|
17
17
|
payload_indexes: OptionalNullable[
|
18
18
|
Union[
|
19
19
|
List[models.PayloadIndexConfig],
|
@@ -30,7 +30,7 @@ class Namespaces(BaseSDK):
|
|
30
30
|
Creates a new namespace with the specified configuration
|
31
31
|
|
32
32
|
:param namespace_name: Name of the namespace to create
|
33
|
-
:param
|
33
|
+
:param embedding_models: List of vector indexes to be used within this namespace. Must be one of: 'image', 'openai-clip-vit-base-patch32', 'multimodal', 'vertex-multimodal', 'text', 'baai-bge-m3', 'keyword', 'naver-splade-v3'
|
34
34
|
:param payload_indexes: List of payload index configurations
|
35
35
|
:param retries: Override the default retry configuration for this method
|
36
36
|
:param server_url: Override the default server URL for this method
|
@@ -47,7 +47,7 @@ class Namespaces(BaseSDK):
|
|
47
47
|
|
48
48
|
request = models.CreateNamespaceRequest(
|
49
49
|
namespace_name=namespace_name,
|
50
|
-
|
50
|
+
embedding_models=embedding_models,
|
51
51
|
payload_indexes=utils.get_pydantic_model(
|
52
52
|
payload_indexes, OptionalNullable[List[models.PayloadIndexConfig]]
|
53
53
|
),
|
@@ -123,7 +123,7 @@ class Namespaces(BaseSDK):
|
|
123
123
|
self,
|
124
124
|
*,
|
125
125
|
namespace_name: str,
|
126
|
-
|
126
|
+
embedding_models: List[str],
|
127
127
|
payload_indexes: OptionalNullable[
|
128
128
|
Union[
|
129
129
|
List[models.PayloadIndexConfig],
|
@@ -140,7 +140,7 @@ class Namespaces(BaseSDK):
|
|
140
140
|
Creates a new namespace with the specified configuration
|
141
141
|
|
142
142
|
:param namespace_name: Name of the namespace to create
|
143
|
-
:param
|
143
|
+
:param embedding_models: List of vector indexes to be used within this namespace. Must be one of: 'image', 'openai-clip-vit-base-patch32', 'multimodal', 'vertex-multimodal', 'text', 'baai-bge-m3', 'keyword', 'naver-splade-v3'
|
144
144
|
:param payload_indexes: List of payload index configurations
|
145
145
|
:param retries: Override the default retry configuration for this method
|
146
146
|
:param server_url: Override the default server URL for this method
|
@@ -157,7 +157,7 @@ class Namespaces(BaseSDK):
|
|
157
157
|
|
158
158
|
request = models.CreateNamespaceRequest(
|
159
159
|
namespace_name=namespace_name,
|
160
|
-
|
160
|
+
embedding_models=embedding_models,
|
161
161
|
payload_indexes=utils.get_pydantic_model(
|
162
162
|
payload_indexes, OptionalNullable[List[models.PayloadIndexConfig]]
|
163
163
|
),
|
mixpeek/sdk.py
CHANGED
@@ -14,11 +14,9 @@ from mixpeek.featureextractors import FeatureExtractors
|
|
14
14
|
from mixpeek.features import Features
|
15
15
|
from mixpeek.health import Health
|
16
16
|
from mixpeek.ingest import Ingest
|
17
|
-
from mixpeek.interactions import Interactions
|
18
17
|
from mixpeek.models import internal
|
19
18
|
from mixpeek.namespaces import Namespaces
|
20
19
|
from mixpeek.organizations import Organizations
|
21
|
-
from mixpeek.searchinteractions import SearchInteractions
|
22
20
|
from mixpeek.tasks import Tasks
|
23
21
|
from mixpeek.types import OptionalNullable, UNSET
|
24
22
|
from typing import Any, Callable, Dict, Optional, Union
|
@@ -30,8 +28,6 @@ class Mixpeek(BaseSDK):
|
|
30
28
|
organizations: Organizations
|
31
29
|
namespaces: Namespaces
|
32
30
|
features: Features
|
33
|
-
search_interactions: SearchInteractions
|
34
|
-
interactions: Interactions
|
35
31
|
feature_extractors: FeatureExtractors
|
36
32
|
ingest: Ingest
|
37
33
|
assets: Assets
|
@@ -130,8 +126,6 @@ class Mixpeek(BaseSDK):
|
|
130
126
|
self.organizations = Organizations(self.sdk_configuration)
|
131
127
|
self.namespaces = Namespaces(self.sdk_configuration)
|
132
128
|
self.features = Features(self.sdk_configuration)
|
133
|
-
self.search_interactions = SearchInteractions(self.sdk_configuration)
|
134
|
-
self.interactions = Interactions(self.sdk_configuration)
|
135
129
|
self.feature_extractors = FeatureExtractors(self.sdk_configuration)
|
136
130
|
self.ingest = Ingest(self.sdk_configuration)
|
137
131
|
self.assets = Assets(self.sdk_configuration)
|
mixpeek/sdkconfiguration.py
CHANGED
@@ -28,9 +28,9 @@ class SDKConfiguration:
|
|
28
28
|
server_idx: Optional[int] = 0
|
29
29
|
language: str = "python"
|
30
30
|
openapi_doc_version: str = "0.81"
|
31
|
-
sdk_version: str = "0.15.
|
31
|
+
sdk_version: str = "0.15.1"
|
32
32
|
gen_version: str = "2.484.0"
|
33
|
-
user_agent: str = "speakeasy-sdk/python 0.15.
|
33
|
+
user_agent: str = "speakeasy-sdk/python 0.15.1 2.484.0 0.81 mixpeek"
|
34
34
|
retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET)
|
35
35
|
timeout_ms: Optional[int] = None
|
36
36
|
|
mixpeek/tasks.py
CHANGED
@@ -208,7 +208,7 @@ class Tasks(BaseSDK):
|
|
208
208
|
server_url: Optional[str] = None,
|
209
209
|
timeout_ms: Optional[int] = None,
|
210
210
|
http_headers: Optional[Mapping[str, str]] = None,
|
211
|
-
) -> models.
|
211
|
+
) -> models.TaskResponse:
|
212
212
|
r"""Get Task Information
|
213
213
|
|
214
214
|
Retrieve a task by its ID.
|
@@ -275,7 +275,7 @@ class Tasks(BaseSDK):
|
|
275
275
|
|
276
276
|
data: Any = None
|
277
277
|
if utils.match_response(http_res, "200", "application/json"):
|
278
|
-
return utils.unmarshal_json(http_res.text, models.
|
278
|
+
return utils.unmarshal_json(http_res.text, models.TaskResponse)
|
279
279
|
if utils.match_response(
|
280
280
|
http_res, ["400", "401", "403", "404", "500"], "application/json"
|
281
281
|
):
|
@@ -308,7 +308,7 @@ class Tasks(BaseSDK):
|
|
308
308
|
server_url: Optional[str] = None,
|
309
309
|
timeout_ms: Optional[int] = None,
|
310
310
|
http_headers: Optional[Mapping[str, str]] = None,
|
311
|
-
) -> models.
|
311
|
+
) -> models.TaskResponse:
|
312
312
|
r"""Get Task Information
|
313
313
|
|
314
314
|
Retrieve a task by its ID.
|
@@ -375,7 +375,7 @@ class Tasks(BaseSDK):
|
|
375
375
|
|
376
376
|
data: Any = None
|
377
377
|
if utils.match_response(http_res, "200", "application/json"):
|
378
|
-
return utils.unmarshal_json(http_res.text, models.
|
378
|
+
return utils.unmarshal_json(http_res.text, models.TaskResponse)
|
379
379
|
if utils.match_response(
|
380
380
|
http_res, ["400", "401", "403", "404", "500"], "application/json"
|
381
381
|
):
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: mixpeek
|
3
|
-
Version: 0.15.
|
3
|
+
Version: 0.15.1
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy.
|
5
5
|
Home-page: https://github.com/mixpeek/python-sdk.git
|
6
6
|
Author: Speakeasy
|
@@ -200,10 +200,6 @@ with Mixpeek(
|
|
200
200
|
* [video_from_url](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/ingest/README.md#video_from_url) - Ingest Video Url
|
201
201
|
* [image_url](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/ingest/README.md#image_url) - Ingest Image Url
|
202
202
|
|
203
|
-
### [interactions](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/interactions/README.md)
|
204
|
-
|
205
|
-
* [list](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/interactions/README.md#list) - List Interactions
|
206
|
-
|
207
203
|
|
208
204
|
### [namespaces](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/namespaces/README.md)
|
209
205
|
|
@@ -225,12 +221,6 @@ with Mixpeek(
|
|
225
221
|
* [delete_api_key](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md#delete_api_key) - Delete Api Key
|
226
222
|
* [update_api_key](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md#update_api_key) - Update Api Key
|
227
223
|
|
228
|
-
### [search_interactions](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/searchinteractions/README.md)
|
229
|
-
|
230
|
-
* [create](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/searchinteractions/README.md#create) - Create Interaction
|
231
|
-
* [get_interaction](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/searchinteractions/README.md#get_interaction) - Get Interaction
|
232
|
-
* [delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/searchinteractions/README.md#delete) - Delete Interaction
|
233
|
-
|
234
224
|
### [tasks](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/tasks/README.md)
|
235
225
|
|
236
226
|
* [delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/tasks/README.md#delete) - Kill Task
|
@@ -4,53 +4,50 @@ mixpeek/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c,14
|
|
4
4
|
mixpeek/_hooks/registration.py,sha256=1QZB41w6If7I9dXiOSQx6dhSc6BPWrnI5Q5bMOr4iVA,624
|
5
5
|
mixpeek/_hooks/sdkhooks.py,sha256=NMqSNr_PmeJuQgXFEntPJElH9a6yfdyvwEQFH0TrunI,2557
|
6
6
|
mixpeek/_hooks/types.py,sha256=Qh9pO5ndynMrWpMLPkJUsOmAJ1AJHntJAXb5Yxe_a4o,2568
|
7
|
-
mixpeek/_version.py,sha256=
|
8
|
-
mixpeek/assets.py,sha256=
|
7
|
+
mixpeek/_version.py,sha256=1jzgduZzPr8xMg0OnthFlTlOx7gp0o7MuSjqtCjinKE,312
|
8
|
+
mixpeek/assets.py,sha256=W3rSdzE6JEk4jxzwLuPn6PykZIkZLJFc6-mjYrARFd4,68770
|
9
9
|
mixpeek/basesdk.py,sha256=j_PZqE6WgIfx1cPCK5gAVn-rgPy9iLhUN5ELtefoEU0,11976
|
10
|
-
mixpeek/collections.py,sha256=
|
11
|
-
mixpeek/featureextractors.py,sha256=
|
12
|
-
mixpeek/features.py,sha256=
|
10
|
+
mixpeek/collections.py,sha256=FfdUhYpSDMjA39AvSE-plHBUFlpGuxTzjwfa0ULhqhk,44431
|
11
|
+
mixpeek/featureextractors.py,sha256=PRZTqTv28r_VDfRQuRFvJDa9ymCmESL6ONOWTxK-Sv8,8710
|
12
|
+
mixpeek/features.py,sha256=NaxDMaUdhmmswZgeTHspTLAHNQ5nlbZ6U75TDC1n5GU,53888
|
13
13
|
mixpeek/health.py,sha256=77BbCPfMkuuLSJdIG89lual5PhnT_LqXzFVQDKemEi0,6885
|
14
14
|
mixpeek/httpclient.py,sha256=WDbLpMzo7qmWki_ryOJcCAYNI1T4uyWKV08rRuCdNII,2688
|
15
|
-
mixpeek/ingest.py,sha256=
|
16
|
-
mixpeek/
|
17
|
-
mixpeek/models/__init__.py,sha256=GZlLWl-zo4kSoV7H3pR6vXxBmNk_E_D1aJGrFuRTcrc,27780
|
15
|
+
mixpeek/ingest.py,sha256=Z_zNN82UZlcMio5vJAheijTpf0eTmiimnYLCQVkrkzs,37338
|
16
|
+
mixpeek/models/__init__.py,sha256=sPdD4gffCTv9dFt3GQM0VAAUZP09tUHng-_JbL4P_G8,24542
|
18
17
|
mixpeek/models/actionusage.py,sha256=WAnnBVTeQ9j0dtIrubfyyJQwbBamxManfS8fc2OFNyo,324
|
19
18
|
mixpeek/models/apierror.py,sha256=9mTyJSyvUAOnSfW_1HWt9dGl8IDlpQ68DebwYsDNdug,528
|
20
19
|
mixpeek/models/apikey.py,sha256=P99SWsu6wgc6HStE2MteANIGShUkM2dwQnbQvdg5AOc,654
|
21
20
|
mixpeek/models/apikeyupdate.py,sha256=mSUkPR43JjWkZeSPyXHAo0KzWS79PWDGTsdpiNRoCBQ,1543
|
22
21
|
mixpeek/models/assetfeatures.py,sha256=etqfjGnlrbI6fAp6OrM86jxP92X0MAeO3lKqUz3Pk5M,1907
|
23
|
-
mixpeek/models/assetresponse.py,sha256=
|
22
|
+
mixpeek/models/assetresponse.py,sha256=XR0gM7agzRnGIOqqPqrotZRg1hdN1o-rfW6x9-esE4g,5069
|
24
23
|
mixpeek/models/assets_model_searchquery.py,sha256=F8TTe7lCD2IF_5ik-GwlvAR2437SBsWCI7IDipft904,664
|
25
24
|
mixpeek/models/assetupdate.py,sha256=xVL49RVIsc7ytm0yVJ9xq1GcSykiswMiC8GeWnZMKB4,670
|
26
|
-
mixpeek/models/availableindexesresponse.py,sha256=
|
27
|
-
mixpeek/models/availablemodels.py,sha256=
|
25
|
+
mixpeek/models/availableindexesresponse.py,sha256=BXi-2clx-EYDooU7778sb0xA45mz8fpYetNSGTuHuog,766
|
26
|
+
mixpeek/models/availablemodels.py,sha256=0yVyFvJghvDTGgSrXRPzfkS9PQ7wO4e2cDXEBk151DA,496
|
28
27
|
mixpeek/models/boolindexparams.py,sha256=bg7Hy6y9acpu7AxMpHTsYjEphDd0HnrqFPSgIDpgdZc,454
|
29
28
|
mixpeek/models/collectionmodel.py,sha256=iCh87KQXyc2QPD12Dzr8OhhsqkflyLSAKrYSm00STEc,2163
|
30
29
|
mixpeek/models/collectionresult.py,sha256=ijKOo_rtJKQnH6_EUfTnlhqlmz-c8HP3IF8dAeAlkik,2062
|
31
30
|
mixpeek/models/create_api_key_organizations_users_user_email_api_keys_postop.py,sha256=PUV7GoERceacxhNoLVzVimM2ZyQpm1pkPUE4gSYOxI8,790
|
32
31
|
mixpeek/models/create_collection_collections_postop.py,sha256=rVbri1rgnnXHgTKc8RwWwO_4HZos8yEkK4aRPKgS0zw,2383
|
33
|
-
mixpeek/models/create_interaction_features_search_interactions_postop.py,sha256=JSSAHfS_tvTRZCNeXo2pXAKE-X-5v2-lFNDXu-EuEm8,2358
|
34
32
|
mixpeek/models/createcollectionrequest.py,sha256=SrM6TNu1qqWWPwLC91e1X1NvmVUXzE0a5e5B1LIOzRQ,1787
|
35
|
-
mixpeek/models/createnamespacerequest.py,sha256=
|
33
|
+
mixpeek/models/createnamespacerequest.py,sha256=4xHtJibncj5N_8RG2LGBHTyWcDHOzLXW6ISHo9JZlG0,2387
|
36
34
|
mixpeek/models/datetimeindexparams.py,sha256=i8SJBTEnWQEMOaOcN7Pt_Zptr6fxYJyO0Mx95-0EC68,468
|
37
35
|
mixpeek/models/dateusage.py,sha256=SjrU7Wk9CirF48u01L8UUjMs9BbkJnhozTnmxkXYupA,541
|
38
36
|
mixpeek/models/db_model_paginationresponse.py,sha256=1uY3GVZsfRXB5ZvnnwNdWnetVbmoPAgT6mYJCZs6H0c,1530
|
39
|
-
mixpeek/models/db_model_taskresponse.py,sha256=FbkMnGIVBBtIG6ZfmqCXwL6KegXanhUs8OjGZWqO8oY,566
|
40
37
|
mixpeek/models/delete_api_key_organizations_users_user_email_api_keys_key_name_deleteop.py,sha256=D1wp-HJ58CpRbPpZiD5e70TA9yC4emauYloo6RJLLlw,710
|
41
38
|
mixpeek/models/delete_asset_assets_asset_id_deleteop.py,sha256=Bl8NR7_sBqSCLzMFoC0hLHBGtDk5ZfIfLXyKMb2HEyw,2182
|
42
39
|
mixpeek/models/delete_collection_collections_collection_deleteop.py,sha256=ELWFh1EuKhetqFnRfxHEsjvqVROcWc1N1xMbFOmm-pI,2322
|
43
40
|
mixpeek/models/delete_feature_features_feature_id_deleteop.py,sha256=9iF6_3-eOMOcBs7X_CN-9sRe0BVkxsqZdvtPPdKxvm8,2198
|
44
|
-
mixpeek/models/delete_interaction_features_search_interactions_interaction_id_deleteop.py,sha256=D2mbnvW-e5peunqB2LEltxbwJu9JpfZspI65v76Zku8,2264
|
45
41
|
mixpeek/models/delete_namespace_namespaces_namespace_deleteop.py,sha256=YPv31HssXwavKxUkYqDCNnRthTTIXdCw7fgECNJCTl4,638
|
46
42
|
mixpeek/models/delete_user_organizations_users_user_email_deleteop.py,sha256=pwxa7t4vbF5ewzw346x5d0XskjAgZPOckNBM3ttpIhc,540
|
47
43
|
mixpeek/models/denseembedding.py,sha256=ECX8Nwo6tD8Qm1WxGPGOy4H8WYLQ6q6VKqbnanT3vlA,413
|
48
|
-
mixpeek/models/embeddingrequest.py,sha256=
|
44
|
+
mixpeek/models/embeddingrequest.py,sha256=Eh8YuPcdJpqqGRHBBw7COjIrxlpqfNrBqvp5HWZ-syY,2098
|
49
45
|
mixpeek/models/embeddingresponse.py,sha256=1H6OWwIIO0ktqhmK0mIGdo3Bqv8saM7jFaFlljEZL1g,2223
|
46
|
+
mixpeek/models/entitysettings.py,sha256=L3v0AttBjp5Y75wOt1tYNgT9ij4wfJpA9XV6tFCq9yg,1684
|
50
47
|
mixpeek/models/errordetail.py,sha256=j7QNqtNrAHjznF8F-eBuxwEedFhYIqP5YKOyX8dSlcg,1510
|
51
48
|
mixpeek/models/errorresponse.py,sha256=YIbCFc44szh_OIUoQ3BByHWouYwa2Tqedm9NJcrNvyQ,582
|
52
49
|
mixpeek/models/facedetectsettings.py,sha256=mU78KWd0x1Uy_8FqyWSWPPJcDbwFhxIcAc1RJeR8uL4,1710
|
53
|
-
mixpeek/models/featureextractionembeddingrequest.py,sha256=
|
50
|
+
mixpeek/models/featureextractionembeddingrequest.py,sha256=7aHPcCdd3PoYX2Ozznnf8jsvqqI5beycYgZ56djPLnE,1770
|
54
51
|
mixpeek/models/featureresponse.py,sha256=eWsnn1FSccueE9UZOSxVOH_4IimfuKbbsS1bKNPvJhs,2521
|
55
52
|
mixpeek/models/features_model_paginationresponse.py,sha256=LR3n2NawnOf5QjaWjfV_i6WDX-IxncVPA7nJxZPkySE,1558
|
56
53
|
mixpeek/models/featureupdaterequest.py,sha256=z4OJi0SyHqQED4T1uV5CbDPipZm4-W1V345M-5AZY-E,495
|
@@ -63,7 +60,6 @@ mixpeek/models/get_asset_assets_asset_id_getop.py,sha256=OdRhQqEaEqYy9z9DinL0cD3
|
|
63
60
|
mixpeek/models/get_asset_with_features_assets_asset_id_features_getop.py,sha256=C1T7fCAGLf8JX_Wl0Qt62-B3c2sWffsQ1SN9c6GUgQk,2848
|
64
61
|
mixpeek/models/get_collection_collections_collection_getop.py,sha256=ampkmJucIAom90SyywkEKDhPWiECuHCBCRZAbf4lsbU,2310
|
65
62
|
mixpeek/models/get_feature_features_feature_id_getop.py,sha256=Z8BZG9Hd41yOuHiuRIOOuPAIgG8JiD4iXLadSp7Srgc,2624
|
66
|
-
mixpeek/models/get_interaction_features_search_interactions_interaction_id_getop.py,sha256=6SGNwT_cZoqzMW_q6zYR3ybNuEwN96W3ZM9jnOc_TWM,2252
|
67
63
|
mixpeek/models/get_namespace_namespaces_namespace_getop.py,sha256=3WYuDkKMMlzpg55feRwWO1JQtPWfjFBU8Yv75pv_cXA,626
|
68
64
|
mixpeek/models/get_task_tasks_task_id_getop.py,sha256=LgF0oJbUdxlWbCGu1SJCZleoZL7lJjM-GNCVksTcLfU,2162
|
69
65
|
mixpeek/models/get_user_organizations_users_user_email_getop.py,sha256=kxtwC5C6a6ySF91ZdLtZP8V1n4RJBgIBUZMfOMfNsuM,528
|
@@ -72,17 +68,15 @@ mixpeek/models/groupbyoptionsasset.py,sha256=pTGoSfGsonefAoKO1yHcEboHdJNGTWUHqBm
|
|
72
68
|
mixpeek/models/groupedassetdata.py,sha256=jezVBoyKu3muLIyeks5M3MqvJWBisQkkPGA1Jycbsrc,522
|
73
69
|
mixpeek/models/healthcheckresponse.py,sha256=PK3C50wcUdZeLl6qfSYGBli2B3wPzCDTaLtSEtq4ZVY,305
|
74
70
|
mixpeek/models/httpvalidationerror.py,sha256=sjKOM2oJR4c4Z24vHmyhtEfqaQeUdKZUMEclKu23OLc,600
|
75
|
-
mixpeek/models/imagedescribesettings.py,sha256=
|
71
|
+
mixpeek/models/imagedescribesettings.py,sha256=ulaQrF4AgdbmkJL-TB098W8TzhS_iG7QymGA58oisyw,2796
|
76
72
|
mixpeek/models/imagedetectsettings.py,sha256=isbyJubebMoiA1K8bEBu2yQvEBDZSiM_DoNrU3MLyDY,1846
|
77
|
-
mixpeek/models/imagereadsettings.py,sha256=
|
78
|
-
mixpeek/models/imagesettings.py,sha256=
|
73
|
+
mixpeek/models/imagereadsettings.py,sha256=kGsvK00Wn6RIW7Qg2MJZ0IKYmeOVZJvyV695hBcVU6E,2495
|
74
|
+
mixpeek/models/imagesettings.py,sha256=2LSeuO-uIW82woZjXAdXRBz9KpgKVmOc6XV6YU8owZU,3706
|
79
75
|
mixpeek/models/ingest_image_url_ingest_images_url_postop.py,sha256=LK-oCjXvmg434VUVGRbvcDzrigjBWaB2nQYHJIKLySw,2355
|
80
76
|
mixpeek/models/ingest_text_ingest_text_postop.py,sha256=YFJXTmYz_XTQkjrs6Jhavjgx0XK09tg0355vM3wqUT0,2307
|
81
77
|
mixpeek/models/ingest_video_url_ingest_videos_url_postop.py,sha256=ML93MDtKefeyUpV6gEo0pj173hAfSKN1bKYvHqjOA9M,2355
|
82
78
|
mixpeek/models/inputtype.py,sha256=e71-3dFq8sWgy3Ue0P-gADus3j1MLWvdHETlwBU7HjM,234
|
83
79
|
mixpeek/models/integerindexparams.py,sha256=r6nNOjihSSptcYwOdfrZTFRX_4bKWHbasGjEjdCLqM8,591
|
84
|
-
mixpeek/models/interactionresponse.py,sha256=BC9Rj2phrop5JzVfYWZ3UgVtwzCvNifd0j2SlhdWBhc,2926
|
85
|
-
mixpeek/models/interactiontype.py,sha256=7-cshgqKl-RQacmaubjuUJ6Lhqy2SL5QIKgmQUtpKWs,292
|
86
80
|
mixpeek/models/internal/__init__.py,sha256=UeANM6ipWP5CqyMd3Yhr6UbpvAabXdSYf_GtHdZ0-BI,163
|
87
81
|
mixpeek/models/internal/globals.py,sha256=7PIqZPXMkyWKGGhRqEtmZiESK7Cbo-9dQjCjTi8yL1s,979
|
88
82
|
mixpeek/models/jsonimageoutputsettings.py,sha256=edd5mFi9AmKSpHTCNiP0huzu3_9_IVIN_3LqdXoQS94,1716
|
@@ -93,45 +87,40 @@ mixpeek/models/kill_task_tasks_task_id_deleteop.py,sha256=Tm_sGFE405_DhJmbJtzF6-
|
|
93
87
|
mixpeek/models/list_assets_assets_postop.py,sha256=h8IbWuoA7OuYEigl8hw3KQwNh2kRaslkr-cSvxL1sJ4,2755
|
94
88
|
mixpeek/models/list_collections_collections_getop.py,sha256=nAjP6zruOpMwB7E1uKqxQM-ZlBcZoA3Ku5Qb8mxNbio,2457
|
95
89
|
mixpeek/models/list_features_features_postop.py,sha256=ZwpcwTVpHeNn-W_f0fpq3F9pzLQhseDX-vjLzmm1LNc,2985
|
96
|
-
mixpeek/models/
|
97
|
-
mixpeek/models/listassetsrequest.py,sha256=LGMRSMXIv6Q0rAlQ2jCK-KvAJBT8Tvgud_w6_g_c6Lo,3184
|
90
|
+
mixpeek/models/listassetsrequest.py,sha256=Bx3cnpzpJCKcyBcrXF5jZ8lm59dTfjznq1xA_0DiaO0,3158
|
98
91
|
mixpeek/models/listassetsresponse.py,sha256=do19qdQCmrAtt5bc99J-4Hx4VzC5yb1WqgkAjvepp5E,645
|
99
92
|
mixpeek/models/listcollectionsresponse.py,sha256=QRDk1-yg21sbRFUrH9lfqvA7q8Ex517C5UbsI5w1lQY,670
|
100
|
-
mixpeek/models/listfeaturesrequest.py,sha256=
|
93
|
+
mixpeek/models/listfeaturesrequest.py,sha256=b0hUacli5s9E0W-jeboYLJrQyHMmetd7VyIZh1_gSTc,2830
|
101
94
|
mixpeek/models/listfeaturesresponse.py,sha256=5bGne8MktUoJnqyo2uWTg1nJQmFLNRTS8TX1HYcGvhQ,689
|
102
|
-
mixpeek/models/
|
103
|
-
mixpeek/models/logicaloperator_output.py,sha256=wJLJshx5N0brYqFmsHknK1pIlVkILUDZQD_J0GK_uBI,3325
|
95
|
+
mixpeek/models/logicaloperator.py,sha256=-YpC_qxzBHcjS71TsoVCEI9OvePL56Fx6Q_lpUaZipg,2824
|
104
96
|
mixpeek/models/logodetectsettings.py,sha256=f_xvsILMrlbhS4raufxc7iNaONqEvWWTj7_OOIr4BTM,1706
|
105
97
|
mixpeek/models/modality.py,sha256=qITDsYEVP7vf1PiekTD6F0cRGn8HZaoHhPmn-C8ksmQ,291
|
106
98
|
mixpeek/models/modeldetails.py,sha256=bKbvqkQPBiGqvCJFQFpozjept0gpNe-Pz0y8xjhzia8,1593
|
107
|
-
mixpeek/models/namespaceresponse.py,sha256=
|
99
|
+
mixpeek/models/namespaceresponse.py,sha256=nbUCsc-8IMnJPn5rQO1jwODMgfly_KPz6pqg8b2udnk,1506
|
108
100
|
mixpeek/models/organizationmodel.py,sha256=nkTGqZdVoNiwy-OIWbgRZpkxOnwjvtG29r8Y3NaIDco,1204
|
109
101
|
mixpeek/models/partial_asset_update_assets_asset_id_patchop.py,sha256=vx2sEynihGrgDI2iUmotaZ1Gik98LR7dOBrp6ZqEbek,2517
|
110
102
|
mixpeek/models/payloadindexconfig.py,sha256=ik0jF70xJaA4K1PcQbt9gzxPu1FW_K0OUkta4SUugK0,2932
|
111
103
|
mixpeek/models/payloadindextype.py,sha256=1Lw8LccITIMG8KVRmsXHtmTPA8hNKwY4fBtM00Nnkmg,393
|
112
104
|
mixpeek/models/payloadschematype.py,sha256=DOhqg4XSdyx5ZT-1udYBcZ6PyhG48hiQ-gOtkrdbE40,332
|
113
|
-
mixpeek/models/percolaterequest.py,sha256=cP9vngiUDgCEY3Q4ThG6ix1odl30qF71jtKZwPYC_ew,2096
|
114
105
|
mixpeek/models/permission.py,sha256=kigROL8wrQX7zMk4co15wIrRF8Xpzxjdh05LLLwqeko,219
|
115
|
-
mixpeek/models/processimageurlinput.py,sha256
|
116
|
-
mixpeek/models/processtextinput.py,sha256=
|
117
|
-
mixpeek/models/processvideourlinput.py,sha256=
|
106
|
+
mixpeek/models/processimageurlinput.py,sha256=-qVpxxIO0gLs1_po7Ngcp56a9Yegbo_OmA-vsrUJyfI,4196
|
107
|
+
mixpeek/models/processtextinput.py,sha256=2pvb9UDEPj00VVDeN-SLe-ZoKWBWv8VtHJJp9Mx4G9Q,3556
|
108
|
+
mixpeek/models/processvideourlinput.py,sha256=ITjmYETQZjVNGGMnB0eFj12qs5m6fiwm5-Wqd8XsQd8,4212
|
118
109
|
mixpeek/models/querysettings.py,sha256=uz35cHBuqmXYZbXl1Jm0vLA_-v4o2cZdy_lvX2fjnCs,2146
|
119
110
|
mixpeek/models/rerankingoptions.py,sha256=ZtaBvVODYwWjEbiosB_mNhn2HuMYF9sPrt4P-xb85wU,1560
|
120
111
|
mixpeek/models/search_assets_assets_search_postop.py,sha256=r21HsjXCdn5O2T72yuF2uPWdk6vB5S1xbvhjycnJWng,2336
|
121
|
-
mixpeek/models/search_features_features_search_postop.py,sha256=
|
122
|
-
mixpeek/models/
|
123
|
-
mixpeek/models/searchassetsrequest.py,sha256=
|
124
|
-
mixpeek/models/
|
125
|
-
mixpeek/models/searchquery_output.py,sha256=c7Ar09TanSqoLfLl-PeLcSCXpwUW9G-dm_TS8xPrhPw,2617
|
126
|
-
mixpeek/models/searchrequestfeatures_input.py,sha256=kQE7EPFU3yYXJ6kX2VB7Rz9_Y7eFzgkfooKeFxZvxmA,5769
|
127
|
-
mixpeek/models/searchrequestfeatures_output.py,sha256=s044mekxr7OF68sco7OvRALMt-w6scwbGHIm12wtVXs,5724
|
112
|
+
mixpeek/models/search_features_features_search_postop.py,sha256=XGtaq779xq3cbM506xNaOdVtPsbn-Kgzc_L2b4OPqUM,3430
|
113
|
+
mixpeek/models/search_model_searchquery.py,sha256=Pz4li1PB4GWWtwoa7IElJZQKE5v1xxjumGIES6ioVCw,2538
|
114
|
+
mixpeek/models/searchassetsrequest.py,sha256=ikLw6_K9xBF_bSuzrr6-lEIKLYlfmxC9-U_gr_xZf8A,2998
|
115
|
+
mixpeek/models/searchrequestfeatures.py,sha256=AS5GPy2I8AXiEwA-o91f_0dnMmS3XKG6Su8VmBfrBFY,5707
|
128
116
|
mixpeek/models/security.py,sha256=BmBA5yNcaMUKWsJGJtBdZvO1drfqEjAnN4nDs-IOKm4,678
|
129
117
|
mixpeek/models/sortoption.py,sha256=3_cJW0A9vt8INQowzJ_kZtmYT1mlBNy-__f-tvLiC3Q,639
|
130
118
|
mixpeek/models/sparseembedding.py,sha256=-nXJSRELVSQqTyXAPYA4swPKBscLdljq9vH4N91Yz7A,530
|
131
|
-
mixpeek/models/
|
132
|
-
mixpeek/models/taskstatus.py,sha256=
|
119
|
+
mixpeek/models/taskresponse.py,sha256=_m1dqkl9TqL3DDw8OaFxO-iae8FRbGUrjF3Ed87OdBE,1670
|
120
|
+
mixpeek/models/taskstatus.py,sha256=QdRjtkiWROdM9GmWNs0U1rGbX2Nvek3OG-_Ay5D9cSI,423
|
121
|
+
mixpeek/models/taxonomyextractionconfig.py,sha256=sTi8qWOX00XeXDIfaRyozr_Cz6rZRCT3LP_tbrMm6us,1122
|
133
122
|
mixpeek/models/textindexparams.py,sha256=_E7_Rfb9g-3w8im3DPcOJF7zWIR9g_Q57_ZtTW3Rs98,798
|
134
|
-
mixpeek/models/textsettings.py,sha256=
|
123
|
+
mixpeek/models/textsettings.py,sha256=PHj3hWRSLCOk3MomjAc_fiQ8Y9e1r_qdqYysgef1RMA,2754
|
135
124
|
mixpeek/models/tokenizertype.py,sha256=anZ-d0-akzNjteTTGJmUUlhzZOglV_h3mz8rYVfUQzk,268
|
136
125
|
mixpeek/models/update_api_key_organizations_users_user_email_api_keys_key_name_patchop.py,sha256=bX9KA7374ooaqxh26e2RyhT5xwagYg7Abuz9qcToDvs,968
|
137
126
|
mixpeek/models/update_collection_collections_collection_putop.py,sha256=vVZfd_nPXOzhEjEjN0i-Ca4N68oOegTsdztPmx5YZFI,2687
|
@@ -143,20 +132,19 @@ mixpeek/models/usermodel_input.py,sha256=MfBJ_huhtCyiRQDLOySSjUEssmgMk0wE0dVxJyv
|
|
143
132
|
mixpeek/models/usermodel_output.py,sha256=uEngREhhuEiAGq4Aid0sQUAoI_0I2Bw5AKq3Fz2IYF4,887
|
144
133
|
mixpeek/models/uuidindexparams.py,sha256=2vR4nn9tJ5UeCKlpvUraBiLKIWSzgiErcrweV2Dsnpo,520
|
145
134
|
mixpeek/models/validationerror.py,sha256=g2zeZtOeoeEIsftPV67bjp5kqiIqBmM1hu7s3psh-Mc,524
|
146
|
-
mixpeek/models/vectormodel.py,sha256=
|
135
|
+
mixpeek/models/vectormodel.py,sha256=x-nWHCbDrU20Rhd1OfddZ_3ddbI6FgyPAp3nI1thdxQ,436
|
147
136
|
mixpeek/models/vectortype.py,sha256=ZIeRoKRmNCojOWTNgco4a2ZYAmcsizA9OyRARzGhYjE,203
|
148
|
-
mixpeek/models/videodescribesettings.py,sha256=
|
137
|
+
mixpeek/models/videodescribesettings.py,sha256=_99zl9xc_c3KWU5sm61FeSq2qRpQff2a7zrpr5z5plo,2796
|
149
138
|
mixpeek/models/videodetectsettings.py,sha256=3l8pOw2USpDQIyPX27yStSPkrgLADPY9wHdsgtCYBMw,1846
|
150
|
-
mixpeek/models/videoreadsettings.py,sha256=
|
151
|
-
mixpeek/models/videosettings.py,sha256=
|
152
|
-
mixpeek/models/videotranscriptionsettings.py,sha256=
|
153
|
-
mixpeek/namespaces.py,sha256=
|
139
|
+
mixpeek/models/videoreadsettings.py,sha256=qFtWMM2XXZwlPgB4L-a3fQ3koxDLNtWOcGSkp7FPNdw,2427
|
140
|
+
mixpeek/models/videosettings.py,sha256=sNww8ZgmL4O4pp3wTgp76ZNzA6mC9NtOD2p-sC72pbM,4530
|
141
|
+
mixpeek/models/videotranscriptionsettings.py,sha256=70EN-PX2QiQAQjDLYaV2coUCnVjRJI2Y1pXNQYUBH2g,2471
|
142
|
+
mixpeek/namespaces.py,sha256=yKQe07-fByLg7wAu7Wx6EslvewruqJOEQg7H95MRGjg,48404
|
154
143
|
mixpeek/organizations.py,sha256=JcnABmWBzvQn8uto9XlNg_NsbzKkFUr3RJoloTY_aXQ,62467
|
155
144
|
mixpeek/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
156
|
-
mixpeek/sdk.py,sha256=
|
157
|
-
mixpeek/sdkconfiguration.py,sha256=
|
158
|
-
mixpeek/
|
159
|
-
mixpeek/tasks.py,sha256=lvDpvaP_vIpYltWWuXxeAZtOJXC68Sroh9OgYIT6u5A,16532
|
145
|
+
mixpeek/sdk.py,sha256=O3k3PgMVrIbHxRPtRPa_LQG7Y724JbXNiNJfxXdXBoM,5624
|
146
|
+
mixpeek/sdkconfiguration.py,sha256=Hd3YfyUsjWtlFzF1k7z-Wh9dvIafSz-r39w2VRqEOEw,1601
|
147
|
+
mixpeek/tasks.py,sha256=y6g77Qzp0FpPeEFGoLGo7apfxFdyQIEJR5b0WzFMM5M,16492
|
160
148
|
mixpeek/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
161
149
|
mixpeek/types/basemodel.py,sha256=PexI39iKiOkIlobB8Ueo0yn8PLHp6_wb-WO-zelNDZY,1170
|
162
150
|
mixpeek/utils/__init__.py,sha256=8npwwHS-7zjVrbkzBGO-Uk4GkjC240PCleMbgPK1Axs,2418
|
@@ -174,6 +162,6 @@ mixpeek/utils/security.py,sha256=XoK-R2YMyZtVWQte7FoezfGJS-dea9jz4qQ7w5dwNWc,600
|
|
174
162
|
mixpeek/utils/serializers.py,sha256=BSJT7kBOkNBFyP7KREyMoe14JGbgijD1M6AXFMbdmco,4924
|
175
163
|
mixpeek/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
176
164
|
mixpeek/utils/values.py,sha256=_89YXPTI_BU6SXJBzFR4pIzTCBPQW9tsOTN1jeBBIDs,3428
|
177
|
-
mixpeek-0.15.
|
178
|
-
mixpeek-0.15.
|
179
|
-
mixpeek-0.15.
|
165
|
+
mixpeek-0.15.1.dist-info/METADATA,sha256=bHyGarhkqnYEAcp77lfC-P__NRivgMFaJqeeFOeWN9c,18890
|
166
|
+
mixpeek-0.15.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
167
|
+
mixpeek-0.15.1.dist-info/RECORD,,
|
mixpeek/interactions.py
DELETED
@@ -1,228 +0,0 @@
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
-
|
3
|
-
from .basesdk import BaseSDK
|
4
|
-
from mixpeek import models, utils
|
5
|
-
from mixpeek._hooks import HookContext
|
6
|
-
from mixpeek.types import OptionalNullable, UNSET
|
7
|
-
from mixpeek.utils import get_security_from_env
|
8
|
-
from typing import Any, List, Mapping, Optional
|
9
|
-
|
10
|
-
|
11
|
-
class Interactions(BaseSDK):
|
12
|
-
def list(
|
13
|
-
self,
|
14
|
-
*,
|
15
|
-
feature_id: OptionalNullable[str] = UNSET,
|
16
|
-
interaction_type: OptionalNullable[str] = UNSET,
|
17
|
-
session_id: OptionalNullable[str] = UNSET,
|
18
|
-
page: OptionalNullable[int] = UNSET,
|
19
|
-
page_size: Optional[int] = 10,
|
20
|
-
x_namespace: OptionalNullable[str] = UNSET,
|
21
|
-
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
22
|
-
server_url: Optional[str] = None,
|
23
|
-
timeout_ms: Optional[int] = None,
|
24
|
-
http_headers: Optional[Mapping[str, str]] = None,
|
25
|
-
) -> List[models.InteractionResponse]:
|
26
|
-
r"""List Interactions
|
27
|
-
|
28
|
-
List interactions with optional filters and pagination
|
29
|
-
|
30
|
-
:param feature_id:
|
31
|
-
:param interaction_type:
|
32
|
-
:param session_id:
|
33
|
-
:param page:
|
34
|
-
:param page_size:
|
35
|
-
: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.
|
36
|
-
:param retries: Override the default retry configuration for this method
|
37
|
-
:param server_url: Override the default server URL for this method
|
38
|
-
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
39
|
-
:param http_headers: Additional headers to set or replace on requests.
|
40
|
-
"""
|
41
|
-
base_url = None
|
42
|
-
url_variables = None
|
43
|
-
if timeout_ms is None:
|
44
|
-
timeout_ms = self.sdk_configuration.timeout_ms
|
45
|
-
|
46
|
-
if server_url is not None:
|
47
|
-
base_url = server_url
|
48
|
-
|
49
|
-
request = models.ListInteractionsFeaturesSearchInteractionsGetRequest(
|
50
|
-
feature_id=feature_id,
|
51
|
-
interaction_type=interaction_type,
|
52
|
-
session_id=session_id,
|
53
|
-
page=page,
|
54
|
-
page_size=page_size,
|
55
|
-
x_namespace=x_namespace,
|
56
|
-
)
|
57
|
-
|
58
|
-
req = self._build_request(
|
59
|
-
method="GET",
|
60
|
-
path="/features/search/interactions",
|
61
|
-
base_url=base_url,
|
62
|
-
url_variables=url_variables,
|
63
|
-
request=request,
|
64
|
-
request_body_required=False,
|
65
|
-
request_has_path_params=False,
|
66
|
-
request_has_query_params=True,
|
67
|
-
user_agent_header="user-agent",
|
68
|
-
accept_header_value="application/json",
|
69
|
-
http_headers=http_headers,
|
70
|
-
security=self.sdk_configuration.security,
|
71
|
-
timeout_ms=timeout_ms,
|
72
|
-
)
|
73
|
-
|
74
|
-
if retries == UNSET:
|
75
|
-
if self.sdk_configuration.retry_config is not UNSET:
|
76
|
-
retries = self.sdk_configuration.retry_config
|
77
|
-
|
78
|
-
retry_config = None
|
79
|
-
if isinstance(retries, utils.RetryConfig):
|
80
|
-
retry_config = (retries, ["429", "500", "502", "503", "504"])
|
81
|
-
|
82
|
-
http_res = self.do_request(
|
83
|
-
hook_ctx=HookContext(
|
84
|
-
operation_id="list_interactions_features_search_interactions_get",
|
85
|
-
oauth2_scopes=[],
|
86
|
-
security_source=get_security_from_env(
|
87
|
-
self.sdk_configuration.security, models.Security
|
88
|
-
),
|
89
|
-
),
|
90
|
-
request=req,
|
91
|
-
error_status_codes=["400", "401", "403", "404", "422", "4XX", "500", "5XX"],
|
92
|
-
retry_config=retry_config,
|
93
|
-
)
|
94
|
-
|
95
|
-
data: Any = None
|
96
|
-
if utils.match_response(http_res, "200", "application/json"):
|
97
|
-
return utils.unmarshal_json(http_res.text, List[models.InteractionResponse])
|
98
|
-
if utils.match_response(
|
99
|
-
http_res, ["400", "401", "403", "404", "500"], "application/json"
|
100
|
-
):
|
101
|
-
data = utils.unmarshal_json(http_res.text, models.ErrorResponseData)
|
102
|
-
raise models.ErrorResponse(data=data)
|
103
|
-
if utils.match_response(http_res, "422", "application/json"):
|
104
|
-
data = utils.unmarshal_json(http_res.text, models.HTTPValidationErrorData)
|
105
|
-
raise models.HTTPValidationError(data=data)
|
106
|
-
if utils.match_response(http_res, ["4XX", "5XX"], "*"):
|
107
|
-
http_res_text = utils.stream_to_text(http_res)
|
108
|
-
raise models.APIError(
|
109
|
-
"API error occurred", http_res.status_code, http_res_text, http_res
|
110
|
-
)
|
111
|
-
|
112
|
-
content_type = http_res.headers.get("Content-Type")
|
113
|
-
http_res_text = utils.stream_to_text(http_res)
|
114
|
-
raise models.APIError(
|
115
|
-
f"Unexpected response received (code: {http_res.status_code}, type: {content_type})",
|
116
|
-
http_res.status_code,
|
117
|
-
http_res_text,
|
118
|
-
http_res,
|
119
|
-
)
|
120
|
-
|
121
|
-
async def list_async(
|
122
|
-
self,
|
123
|
-
*,
|
124
|
-
feature_id: OptionalNullable[str] = UNSET,
|
125
|
-
interaction_type: OptionalNullable[str] = UNSET,
|
126
|
-
session_id: OptionalNullable[str] = UNSET,
|
127
|
-
page: OptionalNullable[int] = UNSET,
|
128
|
-
page_size: Optional[int] = 10,
|
129
|
-
x_namespace: OptionalNullable[str] = UNSET,
|
130
|
-
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
131
|
-
server_url: Optional[str] = None,
|
132
|
-
timeout_ms: Optional[int] = None,
|
133
|
-
http_headers: Optional[Mapping[str, str]] = None,
|
134
|
-
) -> List[models.InteractionResponse]:
|
135
|
-
r"""List Interactions
|
136
|
-
|
137
|
-
List interactions with optional filters and pagination
|
138
|
-
|
139
|
-
:param feature_id:
|
140
|
-
:param interaction_type:
|
141
|
-
:param session_id:
|
142
|
-
:param page:
|
143
|
-
:param page_size:
|
144
|
-
: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.
|
145
|
-
:param retries: Override the default retry configuration for this method
|
146
|
-
:param server_url: Override the default server URL for this method
|
147
|
-
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
148
|
-
:param http_headers: Additional headers to set or replace on requests.
|
149
|
-
"""
|
150
|
-
base_url = None
|
151
|
-
url_variables = None
|
152
|
-
if timeout_ms is None:
|
153
|
-
timeout_ms = self.sdk_configuration.timeout_ms
|
154
|
-
|
155
|
-
if server_url is not None:
|
156
|
-
base_url = server_url
|
157
|
-
|
158
|
-
request = models.ListInteractionsFeaturesSearchInteractionsGetRequest(
|
159
|
-
feature_id=feature_id,
|
160
|
-
interaction_type=interaction_type,
|
161
|
-
session_id=session_id,
|
162
|
-
page=page,
|
163
|
-
page_size=page_size,
|
164
|
-
x_namespace=x_namespace,
|
165
|
-
)
|
166
|
-
|
167
|
-
req = self._build_request_async(
|
168
|
-
method="GET",
|
169
|
-
path="/features/search/interactions",
|
170
|
-
base_url=base_url,
|
171
|
-
url_variables=url_variables,
|
172
|
-
request=request,
|
173
|
-
request_body_required=False,
|
174
|
-
request_has_path_params=False,
|
175
|
-
request_has_query_params=True,
|
176
|
-
user_agent_header="user-agent",
|
177
|
-
accept_header_value="application/json",
|
178
|
-
http_headers=http_headers,
|
179
|
-
security=self.sdk_configuration.security,
|
180
|
-
timeout_ms=timeout_ms,
|
181
|
-
)
|
182
|
-
|
183
|
-
if retries == UNSET:
|
184
|
-
if self.sdk_configuration.retry_config is not UNSET:
|
185
|
-
retries = self.sdk_configuration.retry_config
|
186
|
-
|
187
|
-
retry_config = None
|
188
|
-
if isinstance(retries, utils.RetryConfig):
|
189
|
-
retry_config = (retries, ["429", "500", "502", "503", "504"])
|
190
|
-
|
191
|
-
http_res = await self.do_request_async(
|
192
|
-
hook_ctx=HookContext(
|
193
|
-
operation_id="list_interactions_features_search_interactions_get",
|
194
|
-
oauth2_scopes=[],
|
195
|
-
security_source=get_security_from_env(
|
196
|
-
self.sdk_configuration.security, models.Security
|
197
|
-
),
|
198
|
-
),
|
199
|
-
request=req,
|
200
|
-
error_status_codes=["400", "401", "403", "404", "422", "4XX", "500", "5XX"],
|
201
|
-
retry_config=retry_config,
|
202
|
-
)
|
203
|
-
|
204
|
-
data: Any = None
|
205
|
-
if utils.match_response(http_res, "200", "application/json"):
|
206
|
-
return utils.unmarshal_json(http_res.text, List[models.InteractionResponse])
|
207
|
-
if utils.match_response(
|
208
|
-
http_res, ["400", "401", "403", "404", "500"], "application/json"
|
209
|
-
):
|
210
|
-
data = utils.unmarshal_json(http_res.text, models.ErrorResponseData)
|
211
|
-
raise models.ErrorResponse(data=data)
|
212
|
-
if utils.match_response(http_res, "422", "application/json"):
|
213
|
-
data = utils.unmarshal_json(http_res.text, models.HTTPValidationErrorData)
|
214
|
-
raise models.HTTPValidationError(data=data)
|
215
|
-
if utils.match_response(http_res, ["4XX", "5XX"], "*"):
|
216
|
-
http_res_text = await utils.stream_to_text_async(http_res)
|
217
|
-
raise models.APIError(
|
218
|
-
"API error occurred", http_res.status_code, http_res_text, http_res
|
219
|
-
)
|
220
|
-
|
221
|
-
content_type = http_res.headers.get("Content-Type")
|
222
|
-
http_res_text = await utils.stream_to_text_async(http_res)
|
223
|
-
raise models.APIError(
|
224
|
-
f"Unexpected response received (code: {http_res.status_code}, type: {content_type})",
|
225
|
-
http_res.status_code,
|
226
|
-
http_res_text,
|
227
|
-
http_res,
|
228
|
-
)
|