letta-client 1.0.0a3__py3-none-any.whl → 1.0.0a5__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.
Potentially problematic release.
This version of letta-client might be problematic. Click here for more details.
- letta_client/__init__.py +10 -0
- letta_client/agents/blocks/client.py +28 -14
- letta_client/agents/blocks/raw_client.py +14 -0
- letta_client/agents/client.py +36 -8
- letta_client/agents/context/client.py +4 -2
- letta_client/agents/context/raw_client.py +2 -0
- letta_client/agents/core_memory/client.py +4 -2
- letta_client/agents/core_memory/raw_client.py +2 -0
- letta_client/agents/files/client.py +24 -12
- letta_client/agents/files/raw_client.py +12 -0
- letta_client/agents/folders/client.py +20 -10
- letta_client/agents/folders/raw_client.py +10 -0
- letta_client/agents/groups/client.py +4 -2
- letta_client/agents/groups/raw_client.py +2 -0
- letta_client/agents/messages/client.py +40 -20
- letta_client/agents/messages/raw_client.py +20 -0
- letta_client/agents/passages/client.py +16 -8
- letta_client/agents/passages/raw_client.py +8 -0
- letta_client/agents/raw_client.py +28 -0
- letta_client/agents/sources/client.py +20 -10
- letta_client/agents/sources/raw_client.py +10 -0
- letta_client/agents/tools/client.py +24 -12
- letta_client/agents/tools/raw_client.py +12 -0
- letta_client/archives/client.py +4 -2
- letta_client/archives/raw_client.py +2 -0
- letta_client/blocks/agents/client.py +4 -2
- letta_client/blocks/agents/raw_client.py +2 -0
- letta_client/blocks/client.py +12 -6
- letta_client/blocks/raw_client.py +6 -0
- letta_client/core/client_wrapper.py +2 -2
- letta_client/groups/client.py +12 -6
- letta_client/groups/messages/client.py +24 -12
- letta_client/groups/messages/raw_client.py +12 -0
- letta_client/groups/raw_client.py +6 -0
- letta_client/identities/agents/client.py +4 -2
- letta_client/identities/agents/raw_client.py +2 -0
- letta_client/identities/blocks/client.py +4 -2
- letta_client/identities/blocks/raw_client.py +2 -0
- letta_client/identities/client.py +12 -6
- letta_client/identities/properties/client.py +4 -2
- letta_client/identities/properties/raw_client.py +2 -0
- letta_client/identities/raw_client.py +6 -0
- letta_client/jobs/client.py +12 -6
- letta_client/jobs/raw_client.py +6 -0
- letta_client/providers/client.py +16 -8
- letta_client/providers/raw_client.py +8 -0
- letta_client/sources/client.py +24 -12
- letta_client/sources/files/client.py +16 -8
- letta_client/sources/files/raw_client.py +8 -0
- letta_client/sources/passages/client.py +4 -2
- letta_client/sources/passages/raw_client.py +2 -0
- letta_client/sources/raw_client.py +12 -0
- letta_client/steps/client.py +4 -2
- letta_client/steps/feedback/client.py +4 -2
- letta_client/steps/feedback/raw_client.py +2 -0
- letta_client/steps/messages/client.py +4 -2
- letta_client/steps/messages/raw_client.py +2 -0
- letta_client/steps/metrics/client.py +4 -2
- letta_client/steps/metrics/raw_client.py +2 -0
- letta_client/steps/raw_client.py +2 -0
- letta_client/steps/trace/client.py +4 -2
- letta_client/steps/trace/raw_client.py +2 -0
- letta_client/templates/__init__.py +8 -0
- letta_client/templates/types/__init__.py +16 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config.py +6 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_parallel_tool_calls.py +14 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_parallel_tool_calls_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item.py +6 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_enable_parallel_execution.py +15 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_enable_parallel_execution_item.py +7 -0
- letta_client/tools/client.py +42 -6
- letta_client/tools/raw_client.py +36 -0
- letta_client/types/__init__.py +2 -0
- letta_client/types/approval_request_message.py +6 -0
- letta_client/types/approval_request_message_tool_calls.py +8 -0
- letta_client/types/internal_template_agent_create.py +5 -0
- letta_client/types/letta_schemas_agent_file_agent_schema.py +5 -0
- letta_client/types/letta_schemas_agent_file_tool_schema.py +5 -0
- letta_client/types/llm_config.py +5 -0
- letta_client/types/run_metrics.py +5 -0
- letta_client/types/tool.py +5 -0
- letta_client/types/tool_create.py +5 -0
- {letta_client-1.0.0a3.dist-info → letta_client-1.0.0a5.dist-info}/METADATA +1 -1
- {letta_client-1.0.0a3.dist-info → letta_client-1.0.0a5.dist-info}/RECORD +85 -80
- {letta_client-1.0.0a3.dist-info → letta_client-1.0.0a5.dist-info}/WHEEL +0 -0
|
@@ -292,6 +292,7 @@ class IdentitiesClient:
|
|
|
292
292
|
Parameters
|
|
293
293
|
----------
|
|
294
294
|
identity_id : str
|
|
295
|
+
The ID of the identity in the format 'identity-<uuid4>'
|
|
295
296
|
|
|
296
297
|
request_options : typing.Optional[RequestOptions]
|
|
297
298
|
Request-specific configuration.
|
|
@@ -310,7 +311,7 @@ class IdentitiesClient:
|
|
|
310
311
|
token="YOUR_TOKEN",
|
|
311
312
|
)
|
|
312
313
|
client.identities.retrieve(
|
|
313
|
-
identity_id="
|
|
314
|
+
identity_id="identity-123e4567-e89b-42d3-8456-426614174000",
|
|
314
315
|
)
|
|
315
316
|
"""
|
|
316
317
|
_response = self._raw_client.retrieve(identity_id, request_options=request_options)
|
|
@@ -325,6 +326,7 @@ class IdentitiesClient:
|
|
|
325
326
|
Parameters
|
|
326
327
|
----------
|
|
327
328
|
identity_id : str
|
|
329
|
+
The ID of the identity in the format 'identity-<uuid4>'
|
|
328
330
|
|
|
329
331
|
request_options : typing.Optional[RequestOptions]
|
|
330
332
|
Request-specific configuration.
|
|
@@ -343,7 +345,7 @@ class IdentitiesClient:
|
|
|
343
345
|
token="YOUR_TOKEN",
|
|
344
346
|
)
|
|
345
347
|
client.identities.delete(
|
|
346
|
-
identity_id="
|
|
348
|
+
identity_id="identity-123e4567-e89b-42d3-8456-426614174000",
|
|
347
349
|
)
|
|
348
350
|
"""
|
|
349
351
|
_response = self._raw_client.delete(identity_id, request_options=request_options)
|
|
@@ -365,6 +367,7 @@ class IdentitiesClient:
|
|
|
365
367
|
Parameters
|
|
366
368
|
----------
|
|
367
369
|
identity_id : str
|
|
370
|
+
The ID of the identity in the format 'identity-<uuid4>'
|
|
368
371
|
|
|
369
372
|
identifier_key : typing.Optional[str]
|
|
370
373
|
External, user-generated identifier key of the identity.
|
|
@@ -401,7 +404,7 @@ class IdentitiesClient:
|
|
|
401
404
|
token="YOUR_TOKEN",
|
|
402
405
|
)
|
|
403
406
|
client.identities.modify(
|
|
404
|
-
identity_id="
|
|
407
|
+
identity_id="identity-123e4567-e89b-42d3-8456-426614174000",
|
|
405
408
|
)
|
|
406
409
|
"""
|
|
407
410
|
_response = self._raw_client.modify(
|
|
@@ -724,6 +727,7 @@ class AsyncIdentitiesClient:
|
|
|
724
727
|
Parameters
|
|
725
728
|
----------
|
|
726
729
|
identity_id : str
|
|
730
|
+
The ID of the identity in the format 'identity-<uuid4>'
|
|
727
731
|
|
|
728
732
|
request_options : typing.Optional[RequestOptions]
|
|
729
733
|
Request-specific configuration.
|
|
@@ -747,7 +751,7 @@ class AsyncIdentitiesClient:
|
|
|
747
751
|
|
|
748
752
|
async def main() -> None:
|
|
749
753
|
await client.identities.retrieve(
|
|
750
|
-
identity_id="
|
|
754
|
+
identity_id="identity-123e4567-e89b-42d3-8456-426614174000",
|
|
751
755
|
)
|
|
752
756
|
|
|
753
757
|
|
|
@@ -765,6 +769,7 @@ class AsyncIdentitiesClient:
|
|
|
765
769
|
Parameters
|
|
766
770
|
----------
|
|
767
771
|
identity_id : str
|
|
772
|
+
The ID of the identity in the format 'identity-<uuid4>'
|
|
768
773
|
|
|
769
774
|
request_options : typing.Optional[RequestOptions]
|
|
770
775
|
Request-specific configuration.
|
|
@@ -788,7 +793,7 @@ class AsyncIdentitiesClient:
|
|
|
788
793
|
|
|
789
794
|
async def main() -> None:
|
|
790
795
|
await client.identities.delete(
|
|
791
|
-
identity_id="
|
|
796
|
+
identity_id="identity-123e4567-e89b-42d3-8456-426614174000",
|
|
792
797
|
)
|
|
793
798
|
|
|
794
799
|
|
|
@@ -813,6 +818,7 @@ class AsyncIdentitiesClient:
|
|
|
813
818
|
Parameters
|
|
814
819
|
----------
|
|
815
820
|
identity_id : str
|
|
821
|
+
The ID of the identity in the format 'identity-<uuid4>'
|
|
816
822
|
|
|
817
823
|
identifier_key : typing.Optional[str]
|
|
818
824
|
External, user-generated identifier key of the identity.
|
|
@@ -854,7 +860,7 @@ class AsyncIdentitiesClient:
|
|
|
854
860
|
|
|
855
861
|
async def main() -> None:
|
|
856
862
|
await client.identities.modify(
|
|
857
|
-
identity_id="
|
|
863
|
+
identity_id="identity-123e4567-e89b-42d3-8456-426614174000",
|
|
858
864
|
)
|
|
859
865
|
|
|
860
866
|
|
|
@@ -37,6 +37,7 @@ class PropertiesClient:
|
|
|
37
37
|
Parameters
|
|
38
38
|
----------
|
|
39
39
|
identity_id : str
|
|
40
|
+
The ID of the identity in the format 'identity-<uuid4>'
|
|
40
41
|
|
|
41
42
|
request : typing.Sequence[IdentityProperty]
|
|
42
43
|
|
|
@@ -57,7 +58,7 @@ class PropertiesClient:
|
|
|
57
58
|
token="YOUR_TOKEN",
|
|
58
59
|
)
|
|
59
60
|
client.identities.properties.upsert(
|
|
60
|
-
identity_id="
|
|
61
|
+
identity_id="identity-123e4567-e89b-42d3-8456-426614174000",
|
|
61
62
|
request=[
|
|
62
63
|
IdentityProperty(
|
|
63
64
|
key="key",
|
|
@@ -97,6 +98,7 @@ class AsyncPropertiesClient:
|
|
|
97
98
|
Parameters
|
|
98
99
|
----------
|
|
99
100
|
identity_id : str
|
|
101
|
+
The ID of the identity in the format 'identity-<uuid4>'
|
|
100
102
|
|
|
101
103
|
request : typing.Sequence[IdentityProperty]
|
|
102
104
|
|
|
@@ -122,7 +124,7 @@ class AsyncPropertiesClient:
|
|
|
122
124
|
|
|
123
125
|
async def main() -> None:
|
|
124
126
|
await client.identities.properties.upsert(
|
|
125
|
-
identity_id="
|
|
127
|
+
identity_id="identity-123e4567-e89b-42d3-8456-426614174000",
|
|
126
128
|
request=[
|
|
127
129
|
IdentityProperty(
|
|
128
130
|
key="key",
|
|
@@ -33,6 +33,7 @@ class RawPropertiesClient:
|
|
|
33
33
|
Parameters
|
|
34
34
|
----------
|
|
35
35
|
identity_id : str
|
|
36
|
+
The ID of the identity in the format 'identity-<uuid4>'
|
|
36
37
|
|
|
37
38
|
request : typing.Sequence[IdentityProperty]
|
|
38
39
|
|
|
@@ -100,6 +101,7 @@ class AsyncRawPropertiesClient:
|
|
|
100
101
|
Parameters
|
|
101
102
|
----------
|
|
102
103
|
identity_id : str
|
|
104
|
+
The ID of the identity in the format 'identity-<uuid4>'
|
|
103
105
|
|
|
104
106
|
request : typing.Sequence[IdentityProperty]
|
|
105
107
|
|
|
@@ -349,6 +349,7 @@ class RawIdentitiesClient:
|
|
|
349
349
|
Parameters
|
|
350
350
|
----------
|
|
351
351
|
identity_id : str
|
|
352
|
+
The ID of the identity in the format 'identity-<uuid4>'
|
|
352
353
|
|
|
353
354
|
request_options : typing.Optional[RequestOptions]
|
|
354
355
|
Request-specific configuration.
|
|
@@ -398,6 +399,7 @@ class RawIdentitiesClient:
|
|
|
398
399
|
Parameters
|
|
399
400
|
----------
|
|
400
401
|
identity_id : str
|
|
402
|
+
The ID of the identity in the format 'identity-<uuid4>'
|
|
401
403
|
|
|
402
404
|
request_options : typing.Optional[RequestOptions]
|
|
403
405
|
Request-specific configuration.
|
|
@@ -456,6 +458,7 @@ class RawIdentitiesClient:
|
|
|
456
458
|
Parameters
|
|
457
459
|
----------
|
|
458
460
|
identity_id : str
|
|
461
|
+
The ID of the identity in the format 'identity-<uuid4>'
|
|
459
462
|
|
|
460
463
|
identifier_key : typing.Optional[str]
|
|
461
464
|
External, user-generated identifier key of the identity.
|
|
@@ -857,6 +860,7 @@ class AsyncRawIdentitiesClient:
|
|
|
857
860
|
Parameters
|
|
858
861
|
----------
|
|
859
862
|
identity_id : str
|
|
863
|
+
The ID of the identity in the format 'identity-<uuid4>'
|
|
860
864
|
|
|
861
865
|
request_options : typing.Optional[RequestOptions]
|
|
862
866
|
Request-specific configuration.
|
|
@@ -906,6 +910,7 @@ class AsyncRawIdentitiesClient:
|
|
|
906
910
|
Parameters
|
|
907
911
|
----------
|
|
908
912
|
identity_id : str
|
|
913
|
+
The ID of the identity in the format 'identity-<uuid4>'
|
|
909
914
|
|
|
910
915
|
request_options : typing.Optional[RequestOptions]
|
|
911
916
|
Request-specific configuration.
|
|
@@ -964,6 +969,7 @@ class AsyncRawIdentitiesClient:
|
|
|
964
969
|
Parameters
|
|
965
970
|
----------
|
|
966
971
|
identity_id : str
|
|
972
|
+
The ID of the identity in the format 'identity-<uuid4>'
|
|
967
973
|
|
|
968
974
|
identifier_key : typing.Optional[str]
|
|
969
975
|
External, user-generated identifier key of the identity.
|
letta_client/jobs/client.py
CHANGED
|
@@ -176,6 +176,7 @@ class JobsClient:
|
|
|
176
176
|
Parameters
|
|
177
177
|
----------
|
|
178
178
|
job_id : str
|
|
179
|
+
The ID of the job in the format 'job-<uuid4>'
|
|
179
180
|
|
|
180
181
|
request_options : typing.Optional[RequestOptions]
|
|
181
182
|
Request-specific configuration.
|
|
@@ -194,7 +195,7 @@ class JobsClient:
|
|
|
194
195
|
token="YOUR_TOKEN",
|
|
195
196
|
)
|
|
196
197
|
client.jobs.retrieve(
|
|
197
|
-
job_id="
|
|
198
|
+
job_id="job-123e4567-e89b-42d3-8456-426614174000",
|
|
198
199
|
)
|
|
199
200
|
"""
|
|
200
201
|
_response = self._raw_client.retrieve(job_id, request_options=request_options)
|
|
@@ -207,6 +208,7 @@ class JobsClient:
|
|
|
207
208
|
Parameters
|
|
208
209
|
----------
|
|
209
210
|
job_id : str
|
|
211
|
+
The ID of the job in the format 'job-<uuid4>'
|
|
210
212
|
|
|
211
213
|
request_options : typing.Optional[RequestOptions]
|
|
212
214
|
Request-specific configuration.
|
|
@@ -225,7 +227,7 @@ class JobsClient:
|
|
|
225
227
|
token="YOUR_TOKEN",
|
|
226
228
|
)
|
|
227
229
|
client.jobs.delete(
|
|
228
|
-
job_id="
|
|
230
|
+
job_id="job-123e4567-e89b-42d3-8456-426614174000",
|
|
229
231
|
)
|
|
230
232
|
"""
|
|
231
233
|
_response = self._raw_client.delete(job_id, request_options=request_options)
|
|
@@ -241,6 +243,7 @@ class JobsClient:
|
|
|
241
243
|
Parameters
|
|
242
244
|
----------
|
|
243
245
|
job_id : str
|
|
246
|
+
The ID of the job in the format 'job-<uuid4>'
|
|
244
247
|
|
|
245
248
|
request_options : typing.Optional[RequestOptions]
|
|
246
249
|
Request-specific configuration.
|
|
@@ -259,7 +262,7 @@ class JobsClient:
|
|
|
259
262
|
token="YOUR_TOKEN",
|
|
260
263
|
)
|
|
261
264
|
client.jobs.cancel_job(
|
|
262
|
-
job_id="
|
|
265
|
+
job_id="job-123e4567-e89b-42d3-8456-426614174000",
|
|
263
266
|
)
|
|
264
267
|
"""
|
|
265
268
|
_response = self._raw_client.cancel_job(job_id, request_options=request_options)
|
|
@@ -449,6 +452,7 @@ class AsyncJobsClient:
|
|
|
449
452
|
Parameters
|
|
450
453
|
----------
|
|
451
454
|
job_id : str
|
|
455
|
+
The ID of the job in the format 'job-<uuid4>'
|
|
452
456
|
|
|
453
457
|
request_options : typing.Optional[RequestOptions]
|
|
454
458
|
Request-specific configuration.
|
|
@@ -472,7 +476,7 @@ class AsyncJobsClient:
|
|
|
472
476
|
|
|
473
477
|
async def main() -> None:
|
|
474
478
|
await client.jobs.retrieve(
|
|
475
|
-
job_id="
|
|
479
|
+
job_id="job-123e4567-e89b-42d3-8456-426614174000",
|
|
476
480
|
)
|
|
477
481
|
|
|
478
482
|
|
|
@@ -488,6 +492,7 @@ class AsyncJobsClient:
|
|
|
488
492
|
Parameters
|
|
489
493
|
----------
|
|
490
494
|
job_id : str
|
|
495
|
+
The ID of the job in the format 'job-<uuid4>'
|
|
491
496
|
|
|
492
497
|
request_options : typing.Optional[RequestOptions]
|
|
493
498
|
Request-specific configuration.
|
|
@@ -511,7 +516,7 @@ class AsyncJobsClient:
|
|
|
511
516
|
|
|
512
517
|
async def main() -> None:
|
|
513
518
|
await client.jobs.delete(
|
|
514
|
-
job_id="
|
|
519
|
+
job_id="job-123e4567-e89b-42d3-8456-426614174000",
|
|
515
520
|
)
|
|
516
521
|
|
|
517
522
|
|
|
@@ -530,6 +535,7 @@ class AsyncJobsClient:
|
|
|
530
535
|
Parameters
|
|
531
536
|
----------
|
|
532
537
|
job_id : str
|
|
538
|
+
The ID of the job in the format 'job-<uuid4>'
|
|
533
539
|
|
|
534
540
|
request_options : typing.Optional[RequestOptions]
|
|
535
541
|
Request-specific configuration.
|
|
@@ -553,7 +559,7 @@ class AsyncJobsClient:
|
|
|
553
559
|
|
|
554
560
|
async def main() -> None:
|
|
555
561
|
await client.jobs.cancel_job(
|
|
556
|
-
job_id="
|
|
562
|
+
job_id="job-123e4567-e89b-42d3-8456-426614174000",
|
|
557
563
|
)
|
|
558
564
|
|
|
559
565
|
|
letta_client/jobs/raw_client.py
CHANGED
|
@@ -193,6 +193,7 @@ class RawJobsClient:
|
|
|
193
193
|
Parameters
|
|
194
194
|
----------
|
|
195
195
|
job_id : str
|
|
196
|
+
The ID of the job in the format 'job-<uuid4>'
|
|
196
197
|
|
|
197
198
|
request_options : typing.Optional[RequestOptions]
|
|
198
199
|
Request-specific configuration.
|
|
@@ -240,6 +241,7 @@ class RawJobsClient:
|
|
|
240
241
|
Parameters
|
|
241
242
|
----------
|
|
242
243
|
job_id : str
|
|
244
|
+
The ID of the job in the format 'job-<uuid4>'
|
|
243
245
|
|
|
244
246
|
request_options : typing.Optional[RequestOptions]
|
|
245
247
|
Request-specific configuration.
|
|
@@ -290,6 +292,7 @@ class RawJobsClient:
|
|
|
290
292
|
Parameters
|
|
291
293
|
----------
|
|
292
294
|
job_id : str
|
|
295
|
+
The ID of the job in the format 'job-<uuid4>'
|
|
293
296
|
|
|
294
297
|
request_options : typing.Optional[RequestOptions]
|
|
295
298
|
Request-specific configuration.
|
|
@@ -511,6 +514,7 @@ class AsyncRawJobsClient:
|
|
|
511
514
|
Parameters
|
|
512
515
|
----------
|
|
513
516
|
job_id : str
|
|
517
|
+
The ID of the job in the format 'job-<uuid4>'
|
|
514
518
|
|
|
515
519
|
request_options : typing.Optional[RequestOptions]
|
|
516
520
|
Request-specific configuration.
|
|
@@ -560,6 +564,7 @@ class AsyncRawJobsClient:
|
|
|
560
564
|
Parameters
|
|
561
565
|
----------
|
|
562
566
|
job_id : str
|
|
567
|
+
The ID of the job in the format 'job-<uuid4>'
|
|
563
568
|
|
|
564
569
|
request_options : typing.Optional[RequestOptions]
|
|
565
570
|
Request-specific configuration.
|
|
@@ -612,6 +617,7 @@ class AsyncRawJobsClient:
|
|
|
612
617
|
Parameters
|
|
613
618
|
----------
|
|
614
619
|
job_id : str
|
|
620
|
+
The ID of the job in the format 'job-<uuid4>'
|
|
615
621
|
|
|
616
622
|
request_options : typing.Optional[RequestOptions]
|
|
617
623
|
Request-specific configuration.
|
letta_client/providers/client.py
CHANGED
|
@@ -184,6 +184,7 @@ class ProvidersClient:
|
|
|
184
184
|
Parameters
|
|
185
185
|
----------
|
|
186
186
|
provider_id : str
|
|
187
|
+
The ID of the provider in the format 'provider-<uuid4>'
|
|
187
188
|
|
|
188
189
|
request_options : typing.Optional[RequestOptions]
|
|
189
190
|
Request-specific configuration.
|
|
@@ -202,7 +203,7 @@ class ProvidersClient:
|
|
|
202
203
|
token="YOUR_TOKEN",
|
|
203
204
|
)
|
|
204
205
|
client.providers.retrieve_provider(
|
|
205
|
-
provider_id="
|
|
206
|
+
provider_id="provider-123e4567-e89b-42d3-8456-426614174000",
|
|
206
207
|
)
|
|
207
208
|
"""
|
|
208
209
|
_response = self._raw_client.retrieve_provider(provider_id, request_options=request_options)
|
|
@@ -217,6 +218,7 @@ class ProvidersClient:
|
|
|
217
218
|
Parameters
|
|
218
219
|
----------
|
|
219
220
|
provider_id : str
|
|
221
|
+
The ID of the provider in the format 'provider-<uuid4>'
|
|
220
222
|
|
|
221
223
|
request_options : typing.Optional[RequestOptions]
|
|
222
224
|
Request-specific configuration.
|
|
@@ -235,7 +237,7 @@ class ProvidersClient:
|
|
|
235
237
|
token="YOUR_TOKEN",
|
|
236
238
|
)
|
|
237
239
|
client.providers.delete(
|
|
238
|
-
provider_id="
|
|
240
|
+
provider_id="provider-123e4567-e89b-42d3-8456-426614174000",
|
|
239
241
|
)
|
|
240
242
|
"""
|
|
241
243
|
_response = self._raw_client.delete(provider_id, request_options=request_options)
|
|
@@ -258,6 +260,7 @@ class ProvidersClient:
|
|
|
258
260
|
Parameters
|
|
259
261
|
----------
|
|
260
262
|
provider_id : str
|
|
263
|
+
The ID of the provider in the format 'provider-<uuid4>'
|
|
261
264
|
|
|
262
265
|
api_key : str
|
|
263
266
|
API key or secret key used for requests to the provider.
|
|
@@ -291,7 +294,7 @@ class ProvidersClient:
|
|
|
291
294
|
token="YOUR_TOKEN",
|
|
292
295
|
)
|
|
293
296
|
client.providers.modify(
|
|
294
|
-
provider_id="
|
|
297
|
+
provider_id="provider-123e4567-e89b-42d3-8456-426614174000",
|
|
295
298
|
api_key="api_key",
|
|
296
299
|
)
|
|
297
300
|
"""
|
|
@@ -381,6 +384,7 @@ class ProvidersClient:
|
|
|
381
384
|
Parameters
|
|
382
385
|
----------
|
|
383
386
|
provider_id : str
|
|
387
|
+
The ID of the provider in the format 'provider-<uuid4>'
|
|
384
388
|
|
|
385
389
|
request_options : typing.Optional[RequestOptions]
|
|
386
390
|
Request-specific configuration.
|
|
@@ -399,7 +403,7 @@ class ProvidersClient:
|
|
|
399
403
|
token="YOUR_TOKEN",
|
|
400
404
|
)
|
|
401
405
|
client.providers.check_existing_provider(
|
|
402
|
-
provider_id="
|
|
406
|
+
provider_id="provider-123e4567-e89b-42d3-8456-426614174000",
|
|
403
407
|
)
|
|
404
408
|
"""
|
|
405
409
|
_response = self._raw_client.check_existing_provider(provider_id, request_options=request_options)
|
|
@@ -593,6 +597,7 @@ class AsyncProvidersClient:
|
|
|
593
597
|
Parameters
|
|
594
598
|
----------
|
|
595
599
|
provider_id : str
|
|
600
|
+
The ID of the provider in the format 'provider-<uuid4>'
|
|
596
601
|
|
|
597
602
|
request_options : typing.Optional[RequestOptions]
|
|
598
603
|
Request-specific configuration.
|
|
@@ -616,7 +621,7 @@ class AsyncProvidersClient:
|
|
|
616
621
|
|
|
617
622
|
async def main() -> None:
|
|
618
623
|
await client.providers.retrieve_provider(
|
|
619
|
-
provider_id="
|
|
624
|
+
provider_id="provider-123e4567-e89b-42d3-8456-426614174000",
|
|
620
625
|
)
|
|
621
626
|
|
|
622
627
|
|
|
@@ -634,6 +639,7 @@ class AsyncProvidersClient:
|
|
|
634
639
|
Parameters
|
|
635
640
|
----------
|
|
636
641
|
provider_id : str
|
|
642
|
+
The ID of the provider in the format 'provider-<uuid4>'
|
|
637
643
|
|
|
638
644
|
request_options : typing.Optional[RequestOptions]
|
|
639
645
|
Request-specific configuration.
|
|
@@ -657,7 +663,7 @@ class AsyncProvidersClient:
|
|
|
657
663
|
|
|
658
664
|
async def main() -> None:
|
|
659
665
|
await client.providers.delete(
|
|
660
|
-
provider_id="
|
|
666
|
+
provider_id="provider-123e4567-e89b-42d3-8456-426614174000",
|
|
661
667
|
)
|
|
662
668
|
|
|
663
669
|
|
|
@@ -683,6 +689,7 @@ class AsyncProvidersClient:
|
|
|
683
689
|
Parameters
|
|
684
690
|
----------
|
|
685
691
|
provider_id : str
|
|
692
|
+
The ID of the provider in the format 'provider-<uuid4>'
|
|
686
693
|
|
|
687
694
|
api_key : str
|
|
688
695
|
API key or secret key used for requests to the provider.
|
|
@@ -721,7 +728,7 @@ class AsyncProvidersClient:
|
|
|
721
728
|
|
|
722
729
|
async def main() -> None:
|
|
723
730
|
await client.providers.modify(
|
|
724
|
-
provider_id="
|
|
731
|
+
provider_id="provider-123e4567-e89b-42d3-8456-426614174000",
|
|
725
732
|
api_key="api_key",
|
|
726
733
|
)
|
|
727
734
|
|
|
@@ -822,6 +829,7 @@ class AsyncProvidersClient:
|
|
|
822
829
|
Parameters
|
|
823
830
|
----------
|
|
824
831
|
provider_id : str
|
|
832
|
+
The ID of the provider in the format 'provider-<uuid4>'
|
|
825
833
|
|
|
826
834
|
request_options : typing.Optional[RequestOptions]
|
|
827
835
|
Request-specific configuration.
|
|
@@ -845,7 +853,7 @@ class AsyncProvidersClient:
|
|
|
845
853
|
|
|
846
854
|
async def main() -> None:
|
|
847
855
|
await client.providers.check_existing_provider(
|
|
848
|
-
provider_id="
|
|
856
|
+
provider_id="provider-123e4567-e89b-42d3-8456-426614174000",
|
|
849
857
|
)
|
|
850
858
|
|
|
851
859
|
|
|
@@ -208,6 +208,7 @@ class RawProvidersClient:
|
|
|
208
208
|
Parameters
|
|
209
209
|
----------
|
|
210
210
|
provider_id : str
|
|
211
|
+
The ID of the provider in the format 'provider-<uuid4>'
|
|
211
212
|
|
|
212
213
|
request_options : typing.Optional[RequestOptions]
|
|
213
214
|
Request-specific configuration.
|
|
@@ -257,6 +258,7 @@ class RawProvidersClient:
|
|
|
257
258
|
Parameters
|
|
258
259
|
----------
|
|
259
260
|
provider_id : str
|
|
261
|
+
The ID of the provider in the format 'provider-<uuid4>'
|
|
260
262
|
|
|
261
263
|
request_options : typing.Optional[RequestOptions]
|
|
262
264
|
Request-specific configuration.
|
|
@@ -316,6 +318,7 @@ class RawProvidersClient:
|
|
|
316
318
|
Parameters
|
|
317
319
|
----------
|
|
318
320
|
provider_id : str
|
|
321
|
+
The ID of the provider in the format 'provider-<uuid4>'
|
|
319
322
|
|
|
320
323
|
api_key : str
|
|
321
324
|
API key or secret key used for requests to the provider.
|
|
@@ -478,6 +481,7 @@ class RawProvidersClient:
|
|
|
478
481
|
Parameters
|
|
479
482
|
----------
|
|
480
483
|
provider_id : str
|
|
484
|
+
The ID of the provider in the format 'provider-<uuid4>'
|
|
481
485
|
|
|
482
486
|
request_options : typing.Optional[RequestOptions]
|
|
483
487
|
Request-specific configuration.
|
|
@@ -710,6 +714,7 @@ class AsyncRawProvidersClient:
|
|
|
710
714
|
Parameters
|
|
711
715
|
----------
|
|
712
716
|
provider_id : str
|
|
717
|
+
The ID of the provider in the format 'provider-<uuid4>'
|
|
713
718
|
|
|
714
719
|
request_options : typing.Optional[RequestOptions]
|
|
715
720
|
Request-specific configuration.
|
|
@@ -759,6 +764,7 @@ class AsyncRawProvidersClient:
|
|
|
759
764
|
Parameters
|
|
760
765
|
----------
|
|
761
766
|
provider_id : str
|
|
767
|
+
The ID of the provider in the format 'provider-<uuid4>'
|
|
762
768
|
|
|
763
769
|
request_options : typing.Optional[RequestOptions]
|
|
764
770
|
Request-specific configuration.
|
|
@@ -818,6 +824,7 @@ class AsyncRawProvidersClient:
|
|
|
818
824
|
Parameters
|
|
819
825
|
----------
|
|
820
826
|
provider_id : str
|
|
827
|
+
The ID of the provider in the format 'provider-<uuid4>'
|
|
821
828
|
|
|
822
829
|
api_key : str
|
|
823
830
|
API key or secret key used for requests to the provider.
|
|
@@ -980,6 +987,7 @@ class AsyncRawProvidersClient:
|
|
|
980
987
|
Parameters
|
|
981
988
|
----------
|
|
982
989
|
provider_id : str
|
|
990
|
+
The ID of the provider in the format 'provider-<uuid4>'
|
|
983
991
|
|
|
984
992
|
request_options : typing.Optional[RequestOptions]
|
|
985
993
|
Request-specific configuration.
|