mistralai 1.10.0__py3-none-any.whl → 1.10.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.
- mistralai/_hooks/tracing.py +28 -3
- mistralai/_version.py +2 -2
- mistralai/classifiers.py +13 -1
- mistralai/embeddings.py +7 -1
- mistralai/extra/README.md +1 -1
- mistralai/extra/mcp/auth.py +10 -11
- mistralai/extra/mcp/base.py +17 -16
- mistralai/extra/mcp/sse.py +13 -15
- mistralai/extra/mcp/stdio.py +5 -6
- mistralai/extra/observability/otel.py +47 -68
- mistralai/extra/run/context.py +33 -43
- mistralai/extra/run/result.py +29 -30
- mistralai/extra/run/tools.py +8 -9
- mistralai/extra/struct_chat.py +15 -8
- mistralai/extra/utils/response_format.py +5 -3
- mistralai/mistral_jobs.py +31 -5
- mistralai/models/__init__.py +30 -1
- mistralai/models/agents_api_v1_agents_listop.py +1 -1
- mistralai/models/agents_api_v1_conversations_listop.py +1 -1
- mistralai/models/audioencoding.py +13 -0
- mistralai/models/audioformat.py +19 -0
- mistralai/models/batchjobin.py +17 -6
- mistralai/models/batchjobout.py +5 -0
- mistralai/models/batchrequest.py +48 -0
- mistralai/models/classificationrequest.py +37 -3
- mistralai/models/embeddingrequest.py +11 -3
- mistralai/models/jobs_api_routes_batch_get_batch_jobop.py +40 -3
- mistralai/models/toolfilechunk.py +11 -4
- mistralai/models/toolreferencechunk.py +13 -4
- {mistralai-1.10.0.dist-info → mistralai-1.10.1.dist-info}/METADATA +142 -150
- {mistralai-1.10.0.dist-info → mistralai-1.10.1.dist-info}/RECORD +122 -105
- {mistralai-1.10.0.dist-info → mistralai-1.10.1.dist-info}/WHEEL +1 -1
- mistralai_azure/_version.py +3 -3
- mistralai_azure/basesdk.py +15 -5
- mistralai_azure/chat.py +59 -98
- mistralai_azure/models/__init__.py +50 -3
- mistralai_azure/models/chatcompletionrequest.py +16 -4
- mistralai_azure/models/chatcompletionstreamrequest.py +16 -4
- mistralai_azure/models/httpvalidationerror.py +11 -6
- mistralai_azure/models/mistralazureerror.py +26 -0
- mistralai_azure/models/no_response_error.py +13 -0
- mistralai_azure/models/prediction.py +4 -0
- mistralai_azure/models/responseformat.py +4 -2
- mistralai_azure/models/responseformats.py +0 -1
- mistralai_azure/models/responsevalidationerror.py +25 -0
- mistralai_azure/models/sdkerror.py +30 -14
- mistralai_azure/models/systemmessage.py +7 -3
- mistralai_azure/models/systemmessagecontentchunks.py +21 -0
- mistralai_azure/models/thinkchunk.py +35 -0
- mistralai_azure/ocr.py +15 -36
- mistralai_azure/utils/__init__.py +18 -5
- mistralai_azure/utils/eventstreaming.py +10 -0
- mistralai_azure/utils/serializers.py +3 -2
- mistralai_azure/utils/unmarshal_json_response.py +24 -0
- mistralai_gcp/_hooks/types.py +7 -0
- mistralai_gcp/_version.py +4 -4
- mistralai_gcp/basesdk.py +27 -25
- mistralai_gcp/chat.py +75 -98
- mistralai_gcp/fim.py +39 -74
- mistralai_gcp/httpclient.py +6 -16
- mistralai_gcp/models/__init__.py +321 -116
- mistralai_gcp/models/assistantmessage.py +1 -1
- mistralai_gcp/models/chatcompletionrequest.py +36 -7
- mistralai_gcp/models/chatcompletionresponse.py +6 -6
- mistralai_gcp/models/chatcompletionstreamrequest.py +36 -7
- mistralai_gcp/models/completionresponsestreamchoice.py +1 -1
- mistralai_gcp/models/deltamessage.py +1 -1
- mistralai_gcp/models/fimcompletionrequest.py +3 -9
- mistralai_gcp/models/fimcompletionresponse.py +6 -6
- mistralai_gcp/models/fimcompletionstreamrequest.py +3 -9
- mistralai_gcp/models/httpvalidationerror.py +11 -6
- mistralai_gcp/models/imageurl.py +1 -1
- mistralai_gcp/models/jsonschema.py +1 -1
- mistralai_gcp/models/mistralgcperror.py +26 -0
- mistralai_gcp/models/mistralpromptmode.py +8 -0
- mistralai_gcp/models/no_response_error.py +13 -0
- mistralai_gcp/models/prediction.py +4 -0
- mistralai_gcp/models/responseformat.py +5 -3
- mistralai_gcp/models/responseformats.py +0 -1
- mistralai_gcp/models/responsevalidationerror.py +25 -0
- mistralai_gcp/models/sdkerror.py +30 -14
- mistralai_gcp/models/systemmessage.py +7 -3
- mistralai_gcp/models/systemmessagecontentchunks.py +21 -0
- mistralai_gcp/models/thinkchunk.py +35 -0
- mistralai_gcp/models/toolmessage.py +1 -1
- mistralai_gcp/models/usageinfo.py +71 -8
- mistralai_gcp/models/usermessage.py +1 -1
- mistralai_gcp/sdk.py +12 -10
- mistralai_gcp/sdkconfiguration.py +0 -7
- mistralai_gcp/types/basemodel.py +3 -3
- mistralai_gcp/utils/__init__.py +143 -45
- mistralai_gcp/utils/datetimes.py +23 -0
- mistralai_gcp/utils/enums.py +67 -27
- mistralai_gcp/utils/eventstreaming.py +10 -0
- mistralai_gcp/utils/forms.py +49 -28
- mistralai_gcp/utils/serializers.py +33 -3
- mistralai_gcp/utils/unmarshal_json_response.py +24 -0
- {mistralai-1.10.0.dist-info → mistralai-1.10.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
mistralai_azure/__init__.py,sha256=Tz5Y5FzbIUT1AmaYiTwJI56XTmuldo9AalaAm4h_FdE,423
|
|
2
|
+
mistralai_azure/_version.py,sha256=zW8g8i_cmSXFzII_QcpAr0m5z_cxHVZF_qRYgb2McLI,474
|
|
3
|
+
mistralai_azure/basesdk.py,sha256=3i2uqMaidkksGJqRjqMoMmYe5jOCCf2lEzy14QLUtfM,12139
|
|
4
|
+
mistralai_azure/chat.py,sha256=Okmc3mwbGc_5RRIgZ6ch2ZgDQPI0nJyJNBL8jF5uI18,41246
|
|
5
|
+
mistralai_azure/httpclient.py,sha256=Eu73urOAiZQtdUIyOUnPccxCiBbWEKrXG-JrRG3SLM4,3946
|
|
6
|
+
mistralai_azure/ocr.py,sha256=WzOR6jSsfrTZPfeL_hmM1-_TM1JoWJxxCPiE3PRVhpo,11245
|
|
7
|
+
mistralai_azure/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
8
|
+
mistralai_azure/sdk.py,sha256=JByPLw6kJhZi2npJvki87fd3b2Z4E-dAA6eshZ19BOI,6667
|
|
9
|
+
mistralai_azure/sdkconfiguration.py,sha256=tqLLVewof7YZcBIykjMjGZIEtX_b_JKaMP9KHNdrRsM,1728
|
|
2
10
|
mistralai_azure/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c,146
|
|
3
11
|
mistralai_azure/_hooks/custom_user_agent.py,sha256=0m-1JzJxOT42rvRTEuCiFLqbOMriOlsraSrAGaXAbyo,656
|
|
4
12
|
mistralai_azure/_hooks/registration.py,sha256=5BN-U92pwP5kUaN7EOso2vWrwZlLvRcU5Coccibqp20,741
|
|
5
13
|
mistralai_azure/_hooks/sdkhooks.py,sha256=urOhVMYX_n5KgMoNDNmGs4fsgUWoeSG6_GarhPxH-YU,2565
|
|
6
14
|
mistralai_azure/_hooks/types.py,sha256=F5N_UYekLG4DK9X22awmKxTefZCtmJ8JoH7MQ_1vvq8,3059
|
|
7
|
-
mistralai_azure/
|
|
8
|
-
mistralai_azure/basesdk.py,sha256=GDFjY61iCGIMrrhM_m5DSeyMZV27X2MEwCb4QG7SK0s,11810
|
|
9
|
-
mistralai_azure/chat.py,sha256=GN3z1pP9Cq8W2l5GNS4lgvE1Jtmj_wDZI-5-ALTozro,37218
|
|
10
|
-
mistralai_azure/httpclient.py,sha256=Eu73urOAiZQtdUIyOUnPccxCiBbWEKrXG-JrRG3SLM4,3946
|
|
11
|
-
mistralai_azure/models/__init__.py,sha256=mEq5qJ0R8y0G28Hsnme4xFZ6ZsN9TAfJkVpV-9gecWU,14188
|
|
15
|
+
mistralai_azure/models/__init__.py,sha256=3vPYOfHJ1V6-W5fi30PWchS7Yaq7-pZfzu-pfPlvYno,15779
|
|
12
16
|
mistralai_azure/models/assistantmessage.py,sha256=aR4_dCNMC5gaViAGN1g-HvBdvkJoe3LMLG1xKbPQU9U,2661
|
|
13
17
|
mistralai_azure/models/chatcompletionchoice.py,sha256=-JE13p36mWnyc3zxnHLJp1Q43QVgj5QRurnZslXdJc0,935
|
|
14
|
-
mistralai_azure/models/chatcompletionrequest.py,sha256=
|
|
18
|
+
mistralai_azure/models/chatcompletionrequest.py,sha256=Dp1zZombOOgcyhInYjdbKIn7Q2kvdE_FkqvKArBvZng,14073
|
|
15
19
|
mistralai_azure/models/chatcompletionresponse.py,sha256=Yn7xcGIzmc2i4jSpq53YgmwOSKYk8oXKyIYWo8QjYfo,715
|
|
16
|
-
mistralai_azure/models/chatcompletionstreamrequest.py,sha256=
|
|
20
|
+
mistralai_azure/models/chatcompletionstreamrequest.py,sha256=eUVUN1rzr3SChOCZTfGTfadbPcdhcFIBInSAkY9OZ_4,13209
|
|
17
21
|
mistralai_azure/models/completionchunk.py,sha256=yoA0tYoyK5RChQPbEvYUi1BVmuyH-QT5IYwEYJNtsXM,877
|
|
18
22
|
mistralai_azure/models/completionevent.py,sha256=8wkRAMMpDFfhFSm7OEmli80lsK98Tir7R6IxW-KxeuE,405
|
|
19
23
|
mistralai_azure/models/completionresponsestreamchoice.py,sha256=ysp8H1ztx8B_jlnqKgcwEb7St0BCEWKR1QhnPRhxBvU,1840
|
|
@@ -24,25 +28,30 @@ mistralai_azure/models/filechunk.py,sha256=wR69lE1QRNUwYDgKOM1ZXg5-8qQjomZ0tPzSU
|
|
|
24
28
|
mistralai_azure/models/function.py,sha256=VKcPB1oJ8_jvfXRfqufa2Y9to5WdxS-hi9OLu78GNpM,540
|
|
25
29
|
mistralai_azure/models/functioncall.py,sha256=H2eemkzk2Zm1LEm11atVh6PGvr6XJn9SWqNUziT_WK8,562
|
|
26
30
|
mistralai_azure/models/functionname.py,sha256=4rGsO-FYjvLMRGDBbdZ3cLyiiwml_voRQQ924K2_S1M,473
|
|
27
|
-
mistralai_azure/models/httpvalidationerror.py,sha256=
|
|
31
|
+
mistralai_azure/models/httpvalidationerror.py,sha256=6zDGAwqL5RFEVFpT9dmzkf4ONvVTbL4DalOtyiCZEmw,750
|
|
28
32
|
mistralai_azure/models/imageurl.py,sha256=TUOpT-mTQJ9VoMoVcN303592gGBgrx6NZmmDhui-8h8,1402
|
|
29
33
|
mistralai_azure/models/imageurlchunk.py,sha256=JWfOtcxm-AEzRdNny-KWAWXV275hSnWFfn_Ux6OjrYA,1000
|
|
30
34
|
mistralai_azure/models/jsonschema.py,sha256=Cu_coSyKmQB3tB_6PLKmcsdaOeyuAJDx5Z6Y1POuJ0Q,1689
|
|
35
|
+
mistralai_azure/models/mistralazureerror.py,sha256=yMuFU71yDozUs4Se-VV3fuRSUqwEVYNQj5yVZiHMz9E,719
|
|
31
36
|
mistralai_azure/models/mistralpromptmode.py,sha256=WDDqWnoJyI_krKYEOWNbWNYByFnLEYED_6hoYUZY_AE,259
|
|
37
|
+
mistralai_azure/models/no_response_error.py,sha256=FQG44Lq6uF7uUlzbUYfM3dJon6sbqXzJ0Ri6YrDdsEs,380
|
|
32
38
|
mistralai_azure/models/ocrimageobject.py,sha256=FmmDchJs3dB7ctG_S-pFoUBhHvaLs20fJl3oya32VOo,2839
|
|
33
39
|
mistralai_azure/models/ocrpagedimensions.py,sha256=y3tkCQcdNUd_QWi3rzH6iROyVzsr4f-hQ8qh8bbbmgI,615
|
|
34
40
|
mistralai_azure/models/ocrpageobject.py,sha256=wF0iD_OpB-FFsLyQTuf7BExUMtAw0hMPGX4l1z3rXo8,2097
|
|
35
41
|
mistralai_azure/models/ocrrequest.py,sha256=N56QyuUst9uYasdioz6607RPEQuUs7xPNWtpZsJvHGo,4368
|
|
36
42
|
mistralai_azure/models/ocrresponse.py,sha256=BXz6SzdBWPELQoNd6dp6o8E3b3KlN1oUNMq4-JHquE4,2079
|
|
37
43
|
mistralai_azure/models/ocrusageinfo.py,sha256=mWKzoh9WQKeQOuQrSagn2LlXj3rvPHml_84UtEgalp0,1608
|
|
38
|
-
mistralai_azure/models/prediction.py,sha256=
|
|
44
|
+
mistralai_azure/models/prediction.py,sha256=8cIIABPEup0aVfEpyM1uEJ93tO-Y0iQNf966ZxnbDO8,990
|
|
39
45
|
mistralai_azure/models/referencechunk.py,sha256=uiouhIPrWpVEhpY_Cea1Som9XapC4mM3R82hhND-j-s,525
|
|
40
|
-
mistralai_azure/models/responseformat.py,sha256=
|
|
41
|
-
mistralai_azure/models/responseformats.py,sha256=
|
|
42
|
-
mistralai_azure/models/
|
|
46
|
+
mistralai_azure/models/responseformat.py,sha256=q0M1nVRIU6r_qEmZjfruWRDivYndZL9ZPiy-MVUj1OE,2666
|
|
47
|
+
mistralai_azure/models/responseformats.py,sha256=MVWapS612Z-FITBUcF-0Nmn19MwVfM6IgGEQ2x3ae_Y,201
|
|
48
|
+
mistralai_azure/models/responsevalidationerror.py,sha256=bCE3nzFTHpTg9l-vA5ZILzl2tSl5GQ4m03bSTPMqTZY,706
|
|
49
|
+
mistralai_azure/models/sdkerror.py,sha256=2u2Mx7Lk5zKn10vmXAj-_KYrT3dlgV5DjLKU22lx1vU,1239
|
|
43
50
|
mistralai_azure/models/security.py,sha256=lPLcQ1OV2SA6ZJP5_lOFWUDVuPc-L90C3N127KMWdPo,627
|
|
44
|
-
mistralai_azure/models/systemmessage.py,sha256=
|
|
51
|
+
mistralai_azure/models/systemmessage.py,sha256=q2p-NdQFmHKAK2QRsD9rHYG2dsGq_B11_oydlwDcHDg,895
|
|
52
|
+
mistralai_azure/models/systemmessagecontentchunks.py,sha256=gE1icdUyA2ILa-CWKEslvZfsP3QXhXx6Wqw3QKQctEo,738
|
|
45
53
|
mistralai_azure/models/textchunk.py,sha256=D12hZryrlifzFWP5D1W--7sor61Mstdp8fTOyrhK9_8,427
|
|
54
|
+
mistralai_azure/models/thinkchunk.py,sha256=y-je457_9ydq0vJGsRrJEvueQG0hWVx-GBwySPsbVro,1090
|
|
46
55
|
mistralai_azure/models/tool.py,sha256=Li0qpB3KgGN0mtT8lKG1N_MfOOwGvzok0ZRK_J3Us80,693
|
|
47
56
|
mistralai_azure/models/toolcall.py,sha256=MYHTegL2wzO23cG9AyPS9YhomXWh8ekULwzIeGt31Pw,836
|
|
48
57
|
mistralai_azure/models/toolchoice.py,sha256=etDg86Frx-VoiccMlGP_Va3Vipy4UGMa9LMUGQFY6UY,1033
|
|
@@ -52,17 +61,13 @@ mistralai_azure/models/tooltypes.py,sha256=AGC_JaMGWyMRJ1rCIGhLh5DWbyohdiQkEeKoW
|
|
|
52
61
|
mistralai_azure/models/usageinfo.py,sha256=u9Ds73z87KyluvVCLjlTXnzCVjbBGlLWTBBPpGK6AcM,2349
|
|
53
62
|
mistralai_azure/models/usermessage.py,sha256=tzTfEH0wzDHf96C8AJanTxckrDJOpxtMOa3tiLHDxs4,1805
|
|
54
63
|
mistralai_azure/models/validationerror.py,sha256=vghbUqW9H5AsbYmW5i0C56eHPFC054x8SJA-mJZPKak,532
|
|
55
|
-
mistralai_azure/ocr.py,sha256=hHX6-72A_nSRt8aPOaBf5DPP9NVKdqddRkkWObK8KeM,11911
|
|
56
|
-
mistralai_azure/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
57
|
-
mistralai_azure/sdk.py,sha256=JByPLw6kJhZi2npJvki87fd3b2Z4E-dAA6eshZ19BOI,6667
|
|
58
|
-
mistralai_azure/sdkconfiguration.py,sha256=tqLLVewof7YZcBIykjMjGZIEtX_b_JKaMP9KHNdrRsM,1728
|
|
59
64
|
mistralai_azure/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
60
65
|
mistralai_azure/types/basemodel.py,sha256=L79WXvTECbSqaJzs8D3ud_KdIWkU7Cx2wbohDAktE9E,1127
|
|
61
|
-
mistralai_azure/utils/__init__.py,sha256=
|
|
66
|
+
mistralai_azure/utils/__init__.py,sha256=88uXYJ3d7C29IuuhPMgWfu4i00tNl555vaqrLA61hds,5766
|
|
62
67
|
mistralai_azure/utils/annotations.py,sha256=aR7mZG34FzgRdew7WZPYEu9QGBerpuKxCF4sek5Z_5Y,1699
|
|
63
68
|
mistralai_azure/utils/datetimes.py,sha256=oppAA5e3V35pQov1-FNLKxAaNF1_XWi-bQtyjjql3H8,855
|
|
64
69
|
mistralai_azure/utils/enums.py,sha256=REU6ydF8gsVL3xaeGX4sMNyiL3q5P9h29-f6Sa6luAE,2633
|
|
65
|
-
mistralai_azure/utils/eventstreaming.py,sha256=
|
|
70
|
+
mistralai_azure/utils/eventstreaming.py,sha256=SgFqMcUOYKlrTQ4gAp_dNcKLvDXukeiEMNU3DP8mXk8,6692
|
|
66
71
|
mistralai_azure/utils/forms.py,sha256=EJdnrfIkuwpDtekyHutla0HjI_FypTYcmYNyPKEu_W0,6874
|
|
67
72
|
mistralai_azure/utils/headers.py,sha256=cPxWSmUILrefTGDzTH1Hdj7_Hlsj-EY6K5Tyc4iH4dk,3663
|
|
68
73
|
mistralai_azure/utils/logger.py,sha256=9nUtlKHo3RFsIVyMw5jq3wEKZMVwHnZMSc6xLp-otC0,520
|
|
@@ -71,68 +76,76 @@ mistralai_azure/utils/queryparams.py,sha256=MTK6inMS1_WwjmMJEJmAn67tSHHJyarpdGRl
|
|
|
71
76
|
mistralai_azure/utils/requestbodies.py,sha256=ySjEyjcLi731LNUahWvLOrES2HihuA8VrOJx4eQ7Qzg,2101
|
|
72
77
|
mistralai_azure/utils/retries.py,sha256=6yhfZifqIat9i76xF0lTR2jLj1IN9BNGyqqxATlEFPU,6348
|
|
73
78
|
mistralai_azure/utils/security.py,sha256=ktep3HKwbFs-MLxUYTM8Jd4v-ZBum5_Z0u1PFIdYBX0,5516
|
|
74
|
-
mistralai_azure/utils/serializers.py,sha256=
|
|
79
|
+
mistralai_azure/utils/serializers.py,sha256=Hndks5M_rJXVub_N5lu0gKZQUoEmWrn6PN7R-0HwvOE,5999
|
|
80
|
+
mistralai_azure/utils/unmarshal_json_response.py,sha256=8ktFo5OBi31s_8ikOFcYOVJNcW7PV2ETv4Ahr1dcV7c,591
|
|
75
81
|
mistralai_azure/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
76
82
|
mistralai_azure/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
77
83
|
mistralai_gcp/__init__.py,sha256=Tz5Y5FzbIUT1AmaYiTwJI56XTmuldo9AalaAm4h_FdE,423
|
|
84
|
+
mistralai_gcp/_version.py,sha256=TrdKZI4z5aEjYFRrFPyaa5QiVh-uXVc9cGIeytYXodM,470
|
|
85
|
+
mistralai_gcp/basesdk.py,sha256=QX4sqaZ7k8xcZZ1OunrEtDorWVrpy6-5urJ0Vecg2RM,12133
|
|
86
|
+
mistralai_gcp/chat.py,sha256=-k7JhkrikcxGJEyC-o8Z8d3xrJzFWQPtTOiqUJON2ic,41146
|
|
87
|
+
mistralai_gcp/fim.py,sha256=APVe1gDiBzeX4ju_1hE_SozxHtobYndfWVan4ZTBVeQ,26512
|
|
88
|
+
mistralai_gcp/httpclient.py,sha256=Eu73urOAiZQtdUIyOUnPccxCiBbWEKrXG-JrRG3SLM4,3946
|
|
89
|
+
mistralai_gcp/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
90
|
+
mistralai_gcp/sdk.py,sha256=M_IJP9VK5X5yOiy6dOKqEKTRZvC3NvwAxSu7CAjHook,8612
|
|
91
|
+
mistralai_gcp/sdkconfiguration.py,sha256=-NxlAaTUoZVU8WIsJPxsKp9FSTOgTTizkVs7aGQ0giU,1724
|
|
78
92
|
mistralai_gcp/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c,146
|
|
79
93
|
mistralai_gcp/_hooks/custom_user_agent.py,sha256=0m-1JzJxOT42rvRTEuCiFLqbOMriOlsraSrAGaXAbyo,656
|
|
80
94
|
mistralai_gcp/_hooks/registration.py,sha256=5BN-U92pwP5kUaN7EOso2vWrwZlLvRcU5Coccibqp20,741
|
|
81
95
|
mistralai_gcp/_hooks/sdkhooks.py,sha256=nr_ACx8Rn5xvTkmZP6_EI-f_0hw8wMyPqPHNvjAWAxI,2563
|
|
82
|
-
mistralai_gcp/_hooks/types.py,sha256=
|
|
83
|
-
mistralai_gcp/
|
|
84
|
-
mistralai_gcp/
|
|
85
|
-
mistralai_gcp/chat.py,sha256=bbz3SzLyNO6Pnct7Mqtgk3aunPvPXET9CUGY8SlJ78U,35812
|
|
86
|
-
mistralai_gcp/fim.py,sha256=zOcVDvQzFzPNy6xxV_yfW2wJNHQhrxhPb4utNrIVJXk,27718
|
|
87
|
-
mistralai_gcp/httpclient.py,sha256=lC-YQ7q4yiJGKElxBeb3aZnr-4aYxjgEpZ6roeXYlyg,4318
|
|
88
|
-
mistralai_gcp/models/__init__.py,sha256=AztbrrgcEdLp7b7TyBzJPpZV-48R9ysK25HHp66X4qY,6897
|
|
89
|
-
mistralai_gcp/models/assistantmessage.py,sha256=DQEkGoA288mFwGN29q1E3r5uT_vUfkeTRjliT4aHWdw,2653
|
|
96
|
+
mistralai_gcp/_hooks/types.py,sha256=5M-tBumkljf-VVAW1mh1VoRRnkYLiTlg56_6Vcl0NsM,3055
|
|
97
|
+
mistralai_gcp/models/__init__.py,sha256=p54jl-ENamQ1LE4dWWb8D0Q8UoPuv0jc-tZZ-bv4tNM,15404
|
|
98
|
+
mistralai_gcp/models/assistantmessage.py,sha256=vD5rJXTTdOhl1KGPLQuliubZIZ0aHQETGlGDRFz2BHo,2659
|
|
90
99
|
mistralai_gcp/models/chatcompletionchoice.py,sha256=1t3Sb_IICDH7gyyEMX-WuxHnSVV-PZTLfpUjkUVp3do,931
|
|
91
|
-
mistralai_gcp/models/chatcompletionrequest.py,sha256=
|
|
92
|
-
mistralai_gcp/models/chatcompletionresponse.py,sha256=
|
|
93
|
-
mistralai_gcp/models/chatcompletionstreamrequest.py,sha256=
|
|
100
|
+
mistralai_gcp/models/chatcompletionrequest.py,sha256=ZiKLBNlRzPZ096__UMozmWZU_DExg4g0fCPiTVi7KaI,14119
|
|
101
|
+
mistralai_gcp/models/chatcompletionresponse.py,sha256=526j8wpH9VODzu2dsN5bhFIpaWjjCuAP9bardMQsJvQ,713
|
|
102
|
+
mistralai_gcp/models/chatcompletionstreamrequest.py,sha256=U23Rr8ek25qfhIz2ow_laCmKm2dXymZfooiJwyvGQAo,13255
|
|
94
103
|
mistralai_gcp/models/completionchunk.py,sha256=0DBDcrqVWrUskHA3hHYtuWk2E4JcJy_zc_LiGyLHBlA,875
|
|
95
104
|
mistralai_gcp/models/completionevent.py,sha256=cP7Q5dN4Z46FQTlyCYeIwvqt7pgN-22jNPD2bi7Eals,403
|
|
96
|
-
mistralai_gcp/models/completionresponsestreamchoice.py,sha256=
|
|
105
|
+
mistralai_gcp/models/completionresponsestreamchoice.py,sha256=ejQENPsmB87jOpoiV1c4RB1b6MY24oZQL2UV_5H0jWE,1836
|
|
97
106
|
mistralai_gcp/models/contentchunk.py,sha256=YnkuzJSAJGvNsmRLQWscl43INmRVDAbidtLMOwYipM4,879
|
|
98
|
-
mistralai_gcp/models/deltamessage.py,sha256=
|
|
99
|
-
mistralai_gcp/models/fimcompletionrequest.py,sha256=
|
|
100
|
-
mistralai_gcp/models/fimcompletionresponse.py,sha256=
|
|
101
|
-
mistralai_gcp/models/fimcompletionstreamrequest.py,sha256=
|
|
107
|
+
mistralai_gcp/models/deltamessage.py,sha256=um0FXzyArMq8_ocOWLktIImzE-48-NTB-cqPlz6_uwY,1974
|
|
108
|
+
mistralai_gcp/models/fimcompletionrequest.py,sha256=DJbYpLwSryAKvu_DMB7bzKlXumDUznzx0n5B_YVCSvc,6452
|
|
109
|
+
mistralai_gcp/models/fimcompletionresponse.py,sha256=5iKHIH7CBNoN_8dPCmsv7iDKvULaiH8pTR_HisAScd8,711
|
|
110
|
+
mistralai_gcp/models/fimcompletionstreamrequest.py,sha256=Mmj5BcwSaPqPBg4V8O084JRaR4gH-lprW4x2Sr73WS4,5831
|
|
102
111
|
mistralai_gcp/models/function.py,sha256=FKnuRp-z4lQxq43iDzFaGtledj6zuXf8bHk5erTs62Q,538
|
|
103
112
|
mistralai_gcp/models/functioncall.py,sha256=iIeo1sJUi1DJmASNUuqMq6iYwGLgM1fxC-mWgEiluQ4,560
|
|
104
113
|
mistralai_gcp/models/functionname.py,sha256=Rp4TPQA1IvhnBZx-GwBF1fFyAd6w5Ys5A84waQ9fYKg,471
|
|
105
|
-
mistralai_gcp/models/httpvalidationerror.py,sha256=
|
|
106
|
-
mistralai_gcp/models/imageurl.py,sha256=
|
|
114
|
+
mistralai_gcp/models/httpvalidationerror.py,sha256=MUWNQzkalADWoO9AyOk1kjIqT9D3nnz-cBk-tWx8KLI,742
|
|
115
|
+
mistralai_gcp/models/imageurl.py,sha256=eegcEJ0DThfdLqXsfvQ0XkuTLaH4BjfOFaqnb1YHgkY,1400
|
|
107
116
|
mistralai_gcp/models/imageurlchunk.py,sha256=FWe88MyC-AFko2SGFmwkkihuOZduFzneCcgNailGUzI,998
|
|
108
|
-
mistralai_gcp/models/jsonschema.py,sha256=
|
|
109
|
-
mistralai_gcp/models/
|
|
117
|
+
mistralai_gcp/models/jsonschema.py,sha256=XU4ymMBWdYypF3UfTm5S62E65-nVZz6uNZ1z6jJhMmA,1687
|
|
118
|
+
mistralai_gcp/models/mistralgcperror.py,sha256=q_g0HwIEM3YgjZbO8gL8P4Hew1kdVmFTf0QNQFl21xY,717
|
|
119
|
+
mistralai_gcp/models/mistralpromptmode.py,sha256=1-gJhr2qcwrZ-bMgApLcI423T1T5gyPDU7w8Wv1ua2M,257
|
|
120
|
+
mistralai_gcp/models/no_response_error.py,sha256=FQG44Lq6uF7uUlzbUYfM3dJon6sbqXzJ0Ri6YrDdsEs,380
|
|
121
|
+
mistralai_gcp/models/prediction.py,sha256=gE-e1eQulB8tL4ojNZJ5Qd4B7T3aHQXUs_2O4c-cz20,986
|
|
110
122
|
mistralai_gcp/models/referencechunk.py,sha256=NmajuCeC5caD70iUPL8P6DlTO44oivRnFaOhfLGBiE8,523
|
|
111
|
-
mistralai_gcp/models/responseformat.py,sha256=
|
|
112
|
-
mistralai_gcp/models/responseformats.py,sha256=
|
|
113
|
-
mistralai_gcp/models/
|
|
123
|
+
mistralai_gcp/models/responseformat.py,sha256=i2ag-UURfRv4F7BbQvMNQgPS8vGvIKNbfJKXru6Ioqw,2664
|
|
124
|
+
mistralai_gcp/models/responseformats.py,sha256=MVWapS612Z-FITBUcF-0Nmn19MwVfM6IgGEQ2x3ae_Y,201
|
|
125
|
+
mistralai_gcp/models/responsevalidationerror.py,sha256=ZRmjAp8O_7WK-p5jCmQXtbGI6C0uJ9uNXO2RX3RWgJo,700
|
|
126
|
+
mistralai_gcp/models/sdkerror.py,sha256=y2OWKaWi00zaIX7f4ezg6bh4gb_hqZQhy3s2cOfE-uQ,1233
|
|
114
127
|
mistralai_gcp/models/security.py,sha256=Z2MdVBo5vcSXMkFdCRHPJY-cNH9EqZYAK1Je5VGp4NU,623
|
|
115
|
-
mistralai_gcp/models/systemmessage.py,sha256=
|
|
128
|
+
mistralai_gcp/models/systemmessage.py,sha256=UoEYOOuFxea65yRcVDfdPWm77C9YGWhip_IU1fBgtOY,893
|
|
129
|
+
mistralai_gcp/models/systemmessagecontentchunks.py,sha256=3saEgKPO7jYFcI15CfRSzkhOCGb7hE6lRHe6bhmGGl0,736
|
|
116
130
|
mistralai_gcp/models/textchunk.py,sha256=i3uNJmFq4W9Eg4SOUbTNRCS9bitizmooYOHhgVYkxy0,425
|
|
131
|
+
mistralai_gcp/models/thinkchunk.py,sha256=XtatiUI1_GlH_oj2IqtM9eGQxreEdDezKclYU9mabIo,1088
|
|
117
132
|
mistralai_gcp/models/tool.py,sha256=u2mQpXPj38x4CfEIbx0TwTeQx5qmkjt1wUTWTZY2dak,689
|
|
118
133
|
mistralai_gcp/models/toolcall.py,sha256=4YpO7dv3BZZRn5h_v5pfo8iUZ0gdscDdXttBg3Z-za0,832
|
|
119
134
|
mistralai_gcp/models/toolchoice.py,sha256=GQcyKrGg6CwJC2Wx-hBfD8giDZiFoEuRJN3ZXmnkU1Q,1029
|
|
120
135
|
mistralai_gcp/models/toolchoiceenum.py,sha256=Ca4ileCwuOjfPzIXLRIxT3RkE5zR7oqV6nXU-UjW0w0,197
|
|
121
|
-
mistralai_gcp/models/toolmessage.py,sha256=
|
|
136
|
+
mistralai_gcp/models/toolmessage.py,sha256=XtyFXxWzNTuFRPNcu5cNric__jWdZxCs7Q4YxfJdnQY,2073
|
|
122
137
|
mistralai_gcp/models/tooltypes.py,sha256=6vY1LVrp7xzXlidl1x-3SSwqdx9TBlecIeKd4sU7e6I,248
|
|
123
|
-
mistralai_gcp/models/usageinfo.py,sha256=
|
|
124
|
-
mistralai_gcp/models/usermessage.py,sha256=
|
|
138
|
+
mistralai_gcp/models/usageinfo.py,sha256=VqSd4avQ_jn51RN_gyX1_osqSoNpP-4gSVeqaKaR_LI,2347
|
|
139
|
+
mistralai_gcp/models/usermessage.py,sha256=40m5oSqAla42nDDGhRda77O3OMT7u6lZ4WpWydsNB4Q,1803
|
|
125
140
|
mistralai_gcp/models/validationerror.py,sha256=EVhyAndNY5aayJSNGv-W1XL7Wu9bS92JJe1yu9UmBSY,530
|
|
126
|
-
mistralai_gcp/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
127
|
-
mistralai_gcp/sdk.py,sha256=9GrdOMU9TtAlOs_FIGwX1JxiHGyVJ8Ys6ruSxN3xG_0,8439
|
|
128
|
-
mistralai_gcp/sdkconfiguration.py,sha256=XxL4td0wE7IAaz1Db1FApxYA00GeNyFGOQ6v-59DbfQ,1881
|
|
129
141
|
mistralai_gcp/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
130
|
-
mistralai_gcp/types/basemodel.py,sha256=
|
|
131
|
-
mistralai_gcp/utils/__init__.py,sha256=
|
|
142
|
+
mistralai_gcp/types/basemodel.py,sha256=L79WXvTECbSqaJzs8D3ud_KdIWkU7Cx2wbohDAktE9E,1127
|
|
143
|
+
mistralai_gcp/utils/__init__.py,sha256=88uXYJ3d7C29IuuhPMgWfu4i00tNl555vaqrLA61hds,5766
|
|
132
144
|
mistralai_gcp/utils/annotations.py,sha256=aR7mZG34FzgRdew7WZPYEu9QGBerpuKxCF4sek5Z_5Y,1699
|
|
133
|
-
mistralai_gcp/utils/
|
|
134
|
-
mistralai_gcp/utils/
|
|
135
|
-
mistralai_gcp/utils/
|
|
145
|
+
mistralai_gcp/utils/datetimes.py,sha256=oppAA5e3V35pQov1-FNLKxAaNF1_XWi-bQtyjjql3H8,855
|
|
146
|
+
mistralai_gcp/utils/enums.py,sha256=REU6ydF8gsVL3xaeGX4sMNyiL3q5P9h29-f6Sa6luAE,2633
|
|
147
|
+
mistralai_gcp/utils/eventstreaming.py,sha256=SgFqMcUOYKlrTQ4gAp_dNcKLvDXukeiEMNU3DP8mXk8,6692
|
|
148
|
+
mistralai_gcp/utils/forms.py,sha256=EJdnrfIkuwpDtekyHutla0HjI_FypTYcmYNyPKEu_W0,6874
|
|
136
149
|
mistralai_gcp/utils/headers.py,sha256=cPxWSmUILrefTGDzTH1Hdj7_Hlsj-EY6K5Tyc4iH4dk,3663
|
|
137
150
|
mistralai_gcp/utils/logger.py,sha256=9nUtlKHo3RFsIVyMw5jq3wEKZMVwHnZMSc6xLp-otC0,520
|
|
138
151
|
mistralai_gcp/utils/metadata.py,sha256=Per2KFXXOqOtoUWXrlIfjrSrBg199KrRW0nKQDgHIBU,3136
|
|
@@ -140,18 +153,12 @@ mistralai_gcp/utils/queryparams.py,sha256=MTK6inMS1_WwjmMJEJmAn67tSHHJyarpdGRlor
|
|
|
140
153
|
mistralai_gcp/utils/requestbodies.py,sha256=ySjEyjcLi731LNUahWvLOrES2HihuA8VrOJx4eQ7Qzg,2101
|
|
141
154
|
mistralai_gcp/utils/retries.py,sha256=6yhfZifqIat9i76xF0lTR2jLj1IN9BNGyqqxATlEFPU,6348
|
|
142
155
|
mistralai_gcp/utils/security.py,sha256=ktep3HKwbFs-MLxUYTM8Jd4v-ZBum5_Z0u1PFIdYBX0,5516
|
|
143
|
-
mistralai_gcp/utils/serializers.py,sha256=
|
|
156
|
+
mistralai_gcp/utils/serializers.py,sha256=Hndks5M_rJXVub_N5lu0gKZQUoEmWrn6PN7R-0HwvOE,5999
|
|
157
|
+
mistralai_gcp/utils/unmarshal_json_response.py,sha256=NTNWCQo2xHFihhfLKQutmN5qPPj_EwQ0gJbs3vtFcOA,589
|
|
144
158
|
mistralai_gcp/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
145
159
|
mistralai_gcp/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
146
160
|
mistralai/__init__.py,sha256=Tz5Y5FzbIUT1AmaYiTwJI56XTmuldo9AalaAm4h_FdE,423
|
|
147
|
-
mistralai/
|
|
148
|
-
mistralai/_hooks/custom_user_agent.py,sha256=cHfp43RcsNvHusq8WVxWrCS3w-pmzJ8uNuvaMZKdtJ8,661
|
|
149
|
-
mistralai/_hooks/deprecation_warning.py,sha256=eyEOf7-o9uqqNWJnufD2RXp3dYrGV4in9q76yLC1zog,921
|
|
150
|
-
mistralai/_hooks/registration.py,sha256=6S3ZNnJqb8hUUrA-3V2ym44SyoXgV6b5aU4lUkCXaPA,1082
|
|
151
|
-
mistralai/_hooks/sdkhooks.py,sha256=s-orhdvnV89TmI3QiPC2LWQtYeM9RrsG1CTll-fYZmQ,2559
|
|
152
|
-
mistralai/_hooks/tracing.py,sha256=SuIswcQpsuhSmSC6kKYSCZzDN_i4R3QKTPVgWXOuV-w,1881
|
|
153
|
-
mistralai/_hooks/types.py,sha256=70IiFr5bfsJYafuDkXQWVfl6nY4dQkA5SZoEBCircqs,3047
|
|
154
|
-
mistralai/_version.py,sha256=-lgoxCAFwrvvvFFp4_rTJFgIO5Pl-FEhlviQFjfY8LM,464
|
|
161
|
+
mistralai/_version.py,sha256=P9LSarnIYtDsscYmLlYIhr4EvUSoXpOptjGfMlI-icA,464
|
|
155
162
|
mistralai/accesses.py,sha256=F6iRif0xhyZmQUNqh1nirrCKQkVKkPoUpIRj-mw2cRI,25256
|
|
156
163
|
mistralai/agents.py,sha256=AuSDBIaemgwLpeZXX4nMAj1h8wg8-_qo4k021CnWRxw,35796
|
|
157
164
|
mistralai/async_client.py,sha256=KUdYxIIqoD6L7vB0EGwUR6lQ0NK5iCTHjnLVR9CVcJY,355
|
|
@@ -160,42 +167,55 @@ mistralai/basesdk.py,sha256=Zs5Gsl2V1rMClCUi7UYBVKigeontRyDo_tkqUj8Zdww,12194
|
|
|
160
167
|
mistralai/batch.py,sha256=wHfwQYrnxpEK5sbyhx8LjPYU9k7x_6osn_g1DSQma4Q,631
|
|
161
168
|
mistralai/beta.py,sha256=PeJFa12AW777S2B3h3Cc8ia_0pYW97_R7GmTA5TSnIQ,1178
|
|
162
169
|
mistralai/chat.py,sha256=_bJbQ4pc_R92MKR_F9TgmiNrE3LkftWP8JXDCgw21Og,46349
|
|
163
|
-
mistralai/classifiers.py,sha256=
|
|
170
|
+
mistralai/classifiers.py,sha256=M6SlNBaPV_zFYUYcB3KHNPz9IdTo3JLWrAUcRMPisWQ,31706
|
|
164
171
|
mistralai/client.py,sha256=hrPg-LciKMKiascF0WbRRmqQyCv1lb2yDh6j-aaKVNo,509
|
|
165
172
|
mistralai/conversations.py,sha256=TE2SR4-QWESqx2nJD0GbdY_mUCVUwKzm00A3CLvi4z0,114738
|
|
166
173
|
mistralai/documents.py,sha256=Idi2GCUwSir7J8nxzIFH9KlpV0k1YhkSV4Xbw845JUY,79085
|
|
167
|
-
mistralai/embeddings.py,sha256=
|
|
168
|
-
mistralai/
|
|
174
|
+
mistralai/embeddings.py,sha256=oHVjxBs8a90FQuzukWp3ftnKVR-VjxhnFGhmg1099DE,9580
|
|
175
|
+
mistralai/files.py,sha256=GtocjjNQufUUlFG4MNKcM3DMNs6iSf6IIz_Bn9Pl4XY,42269
|
|
176
|
+
mistralai/fim.py,sha256=DPz1-wy_RENmyvgUaDN1KNawte2JQNn53P-5BCYxb8M,27195
|
|
177
|
+
mistralai/fine_tuning.py,sha256=0f6Yq0h3bRvQq7NI6M7TpnRkLcXZOqEFf2qS0XE9TbU,607
|
|
178
|
+
mistralai/httpclient.py,sha256=Eu73urOAiZQtdUIyOUnPccxCiBbWEKrXG-JrRG3SLM4,3946
|
|
179
|
+
mistralai/jobs.py,sha256=o962f9AgS7RxlRGuY74VOs8eHczCz1WwfAzfNDJhbTo,43543
|
|
180
|
+
mistralai/libraries.py,sha256=57IjAilAQU7eKvyWQsH442nsGPA5iGhZf8b3J0hJGuE,37530
|
|
181
|
+
mistralai/mistral_agents.py,sha256=Tdxra5QzsHIJCBXy1cUlX0xvxpz4WLnMt-hPJDCcwug,51199
|
|
182
|
+
mistralai/mistral_jobs.py,sha256=6d4ezlz0CyRNQpUewvN4XydjSAunoj2jXImNt5pcuSA,31695
|
|
183
|
+
mistralai/models_.py,sha256=yy0igELUaUIGA7m_F5gGnjwtfSCXl_4rlVEQTe_jQ0Q,41900
|
|
184
|
+
mistralai/ocr.py,sha256=CkLNy2EEZjQfdyoRy6CiC0mfWIs4IMxo8dkEhXJBmis,12169
|
|
185
|
+
mistralai/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
186
|
+
mistralai/sdk.py,sha256=1LlWK-8IIuN3-L103AC1OsNYRXG-sP1hRijxhuMf6q0,8324
|
|
187
|
+
mistralai/sdkconfiguration.py,sha256=8BDzcYQqDIM7pXsdsfmEZPUexeqdsL-8HMyhWiQeupE,1716
|
|
188
|
+
mistralai/transcriptions.py,sha256=iab7DUYk_exTPWQRz9PeAxTLoSi0hgAu3xjXjbt9qDQ,18534
|
|
189
|
+
mistralai/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c,146
|
|
190
|
+
mistralai/_hooks/custom_user_agent.py,sha256=cHfp43RcsNvHusq8WVxWrCS3w-pmzJ8uNuvaMZKdtJ8,661
|
|
191
|
+
mistralai/_hooks/deprecation_warning.py,sha256=eyEOf7-o9uqqNWJnufD2RXp3dYrGV4in9q76yLC1zog,921
|
|
192
|
+
mistralai/_hooks/registration.py,sha256=6S3ZNnJqb8hUUrA-3V2ym44SyoXgV6b5aU4lUkCXaPA,1082
|
|
193
|
+
mistralai/_hooks/sdkhooks.py,sha256=s-orhdvnV89TmI3QiPC2LWQtYeM9RrsG1CTll-fYZmQ,2559
|
|
194
|
+
mistralai/_hooks/tracing.py,sha256=AMHONiqspNV0BoActKDctKxombKFOIxTg_q3mIUekrI,2465
|
|
195
|
+
mistralai/_hooks/types.py,sha256=70IiFr5bfsJYafuDkXQWVfl6nY4dQkA5SZoEBCircqs,3047
|
|
196
|
+
mistralai/extra/README.md,sha256=XGqxGKmV-jxqjRIIO1eO0zVgxV3ECASzWfKFz8YECbI,1721
|
|
169
197
|
mistralai/extra/__init__.py,sha256=8DsU_omYYadqcwlmBOoakBwkWKcSohwLmtB8v-jkn2M,392
|
|
170
198
|
mistralai/extra/exceptions.py,sha256=4EEygCfdsniYiroHEFVSVDqerQZkpRG027mlJXvMqns,428
|
|
199
|
+
mistralai/extra/struct_chat.py,sha256=GJ8j0XyCWkp6aMj0qd7aaGFFcnKBJDBLS6uZ31fFY2s,2142
|
|
171
200
|
mistralai/extra/mcp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
172
|
-
mistralai/extra/mcp/auth.py,sha256=
|
|
173
|
-
mistralai/extra/mcp/base.py,sha256=
|
|
174
|
-
mistralai/extra/mcp/sse.py,sha256=
|
|
175
|
-
mistralai/extra/mcp/stdio.py,sha256=
|
|
201
|
+
mistralai/extra/mcp/auth.py,sha256=t0jAexZCqyk7rEUXNeXrKTM-toqnXI6rpkOR2KsZIsk,6087
|
|
202
|
+
mistralai/extra/mcp/base.py,sha256=BMpar9y2C5vaszY1y33oOeR5omVX7rrvxIERqshRt0E,5032
|
|
203
|
+
mistralai/extra/mcp/sse.py,sha256=xbM-NrPuK84dgsB5kcuy-Blg2GkmF1BOEr1lNqoojrY,6408
|
|
204
|
+
mistralai/extra/mcp/stdio.py,sha256=7W61tcvRKcLPhwGa-uUBaOVjSyXCSIVwk6LEPCXwl6g,662
|
|
176
205
|
mistralai/extra/observability/__init__.py,sha256=O6G6FiMQfWfJDUUr1Kd0PrGwZgjAuiM3y57zlIOm00s,352
|
|
177
|
-
mistralai/extra/observability/otel.py,sha256=
|
|
206
|
+
mistralai/extra/observability/otel.py,sha256=1SnEcjChQQRKXN_xsxCak6tKTQdyDqMus-0b6QTbdRk,16675
|
|
178
207
|
mistralai/extra/run/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
179
|
-
mistralai/extra/run/context.py,sha256=
|
|
180
|
-
mistralai/extra/run/result.py,sha256=
|
|
181
|
-
mistralai/extra/run/tools.py,sha256=
|
|
208
|
+
mistralai/extra/run/context.py,sha256=8p4C0ZyE9_UtQUuKrlYxI6jnhpz0FkBqQPVb2K7poPw,10958
|
|
209
|
+
mistralai/extra/run/result.py,sha256=Q7RYQ58XbS2eV1QtJTCSsRQ7CzbVn0bcCIBHdgxNS04,7028
|
|
210
|
+
mistralai/extra/run/tools.py,sha256=pl66Ojl6yNHbI1CdsvDJec3Jp01AE5M05IT1uKuKHqI,8622
|
|
182
211
|
mistralai/extra/run/utils.py,sha256=lmqxqCuwLwYsjua460-I6q4OK2om8BxgvWm4NPiV7fs,1169
|
|
183
|
-
mistralai/extra/struct_chat.py,sha256=ZkpdExC5rgC-nBZ44hQIVhQmK6lYMk36RBSFPZMFaIg,2157
|
|
184
212
|
mistralai/extra/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
185
213
|
mistralai/extra/tests/test_struct_chat.py,sha256=QKG3L_S1MOmS_7Dmkxky8ciJya9KhF3KQpm_XrSIWQg,4373
|
|
186
214
|
mistralai/extra/tests/test_utils.py,sha256=VesGDR_IiE6u0iY7yOi1iERd7esdJgi2aL4xZp0vKVI,5113
|
|
187
215
|
mistralai/extra/utils/__init__.py,sha256=SExo5t_hx0ybiQhVJIG3r3hOA-Pfny3lIO_WsqNXlN8,116
|
|
188
216
|
mistralai/extra/utils/_pydantic_helper.py,sha256=_mzrbZGU07M96CzcxgjcV25NtIGu5EUfotaN8NDUoFc,883
|
|
189
|
-
mistralai/extra/utils/response_format.py,sha256=
|
|
190
|
-
mistralai/
|
|
191
|
-
mistralai/fim.py,sha256=DPz1-wy_RENmyvgUaDN1KNawte2JQNn53P-5BCYxb8M,27195
|
|
192
|
-
mistralai/fine_tuning.py,sha256=0f6Yq0h3bRvQq7NI6M7TpnRkLcXZOqEFf2qS0XE9TbU,607
|
|
193
|
-
mistralai/httpclient.py,sha256=Eu73urOAiZQtdUIyOUnPccxCiBbWEKrXG-JrRG3SLM4,3946
|
|
194
|
-
mistralai/jobs.py,sha256=o962f9AgS7RxlRGuY74VOs8eHczCz1WwfAzfNDJhbTo,43543
|
|
195
|
-
mistralai/libraries.py,sha256=57IjAilAQU7eKvyWQsH442nsGPA5iGhZf8b3J0hJGuE,37530
|
|
196
|
-
mistralai/mistral_agents.py,sha256=Tdxra5QzsHIJCBXy1cUlX0xvxpz4WLnMt-hPJDCcwug,51199
|
|
197
|
-
mistralai/mistral_jobs.py,sha256=V9FWKCxXesNbaZqbw0Mk-2wzs401BOtnTAhb0GiNNf0,30696
|
|
198
|
-
mistralai/models/__init__.py,sha256=iX4vrlpaUw5PnnMjl92Zo3ZSS1bwrpScJgrtCN_7TU4,100772
|
|
217
|
+
mistralai/extra/utils/response_format.py,sha256=30zN2eD60VanKiJadhrjZf-rafyWgPjjqCCjACkvxjw,907
|
|
218
|
+
mistralai/models/__init__.py,sha256=AgLrTrAG_Rka00JK1Z3iPWZNGYmIteCWGnC4tKIMk30,101771
|
|
199
219
|
mistralai/models/agent.py,sha256=r333B46hT4MbxC6Lf6QvG2FChkRXPTnj7Sv-N3xPn2E,4481
|
|
200
220
|
mistralai/models/agentconversation.py,sha256=CHMGvtRGynYQ1FCHiu5Wc7BA99RWBgS_6gx-_d-9CrM,2463
|
|
201
221
|
mistralai/models/agentcreationrequest.py,sha256=dptZojT3BIXXrrdlD4y4OcY8iwA8aa36aLfXxVMxt-I,4113
|
|
@@ -204,7 +224,7 @@ mistralai/models/agenthandoffentry.py,sha256=qJMZLfg8JksJjzibYsRlTDvYoVQhf4a9AQK
|
|
|
204
224
|
mistralai/models/agenthandoffstartedevent.py,sha256=8J07a6u6EnuBjtGtMcCqUzWJxfnaVy8N6PNoFeyqU4Q,850
|
|
205
225
|
mistralai/models/agents_api_v1_agents_deleteop.py,sha256=tA3yVSFzxenFwwLd18LoDbFQ4DLj4wHDNgrikLyuEHg,500
|
|
206
226
|
mistralai/models/agents_api_v1_agents_getop.py,sha256=IBxMZS31eJXTAgboQJKAZEJ9MY1qYEwGM6ExziL00kU,1737
|
|
207
|
-
mistralai/models/agents_api_v1_agents_listop.py,sha256=
|
|
227
|
+
mistralai/models/agents_api_v1_agents_listop.py,sha256=MjMdkJl5TlPb38C3cGkHVp-DopxJQfcZ4pX6TGsMoCY,2985
|
|
208
228
|
mistralai/models/agents_api_v1_agents_update_versionop.py,sha256=-ANBszFQ1Ig5sIBcSMo9Z9xcb2-RKbu7jE6GW0Zj7vE,663
|
|
209
229
|
mistralai/models/agents_api_v1_agents_updateop.py,sha256=BFslxxeejm4kyLbWGTFaWNQ2ilFLavfbEUfi0SwjELE,802
|
|
210
230
|
mistralai/models/agents_api_v1_conversations_append_streamop.py,sha256=ZnhYubtb4wwxfbFqV19LyMvMW9V22F-fEsr1RmBZVRA,1072
|
|
@@ -212,7 +232,7 @@ mistralai/models/agents_api_v1_conversations_appendop.py,sha256=uKPtHvaJEZTc-N6S
|
|
|
212
232
|
mistralai/models/agents_api_v1_conversations_deleteop.py,sha256=keBZsJTtOjbtZuE2EPCAy2l1fzhEvo64fkojXgzKJqk,670
|
|
213
233
|
mistralai/models/agents_api_v1_conversations_getop.py,sha256=SS2tOzjHhvPVmqJ_zhf7IxKjwkywXa0v8g3RSizPqfM,1318
|
|
214
234
|
mistralai/models/agents_api_v1_conversations_historyop.py,sha256=7mufGwn2hJ75I0oukJvXFqgmVVXxG6E-K7fj_46iJO4,670
|
|
215
|
-
mistralai/models/agents_api_v1_conversations_listop.py,sha256=
|
|
235
|
+
mistralai/models/agents_api_v1_conversations_listop.py,sha256=Bk8f_BkvRQh7waMcdQ5JA0eMnMphfkW7OZWsaMIJG98,2401
|
|
216
236
|
mistralai/models/agents_api_v1_conversations_messagesop.py,sha256=MC7ExiTo7R2EenYoSfTyE02zJmLFebS6mJranxdK5gk,674
|
|
217
237
|
mistralai/models/agents_api_v1_conversations_restart_streamop.py,sha256=cNuV80H-OxH606FV5zIAcceqS0fD9vwlPmqHyXOBmWk,1095
|
|
218
238
|
mistralai/models/agents_api_v1_conversations_restartop.py,sha256=pjsbjzKTeWgSBiviDzMx50gVqRIGP4dKr3FqG-SOSoY,1039
|
|
@@ -223,14 +243,17 @@ mistralai/models/apiendpoint.py,sha256=e-d_e8Z7indj9QtiDZtYU3m7OQTvzRw-cCk3Ag_gb
|
|
|
223
243
|
mistralai/models/archiveftmodelout.py,sha256=VdppiqIB9JGNB2B0-Y6XQfQgDmB-hOa1Bta3v_StbLs,565
|
|
224
244
|
mistralai/models/assistantmessage.py,sha256=3qbCraZpjX_clXjT1wgOBeQuQBjX22XLQMIlR3v5fZw,2630
|
|
225
245
|
mistralai/models/audiochunk.py,sha256=npAWiX43d_fZ-8Bnnm_z-p7bcwpAhKyYidy_VIJcrxs,481
|
|
246
|
+
mistralai/models/audioencoding.py,sha256=XaAn04vNyF3KFaH8mWFAzpGiOCUkHAMNUUQ-acEZ9SY,338
|
|
247
|
+
mistralai/models/audioformat.py,sha256=7IHdLff-uaBVeNhiQEBMK4qbQgVQ2vW9IVGBDMM1yl4,569
|
|
226
248
|
mistralai/models/audiotranscriptionrequest.py,sha256=CUvOXsvARDlg32KGsyMPpHHuS2YG0bztwwJlNGGHd4A,3574
|
|
227
249
|
mistralai/models/audiotranscriptionrequeststream.py,sha256=YQ2RUF3M8EElgf64jLlz44vP5a8Pg9ZVGUA6yq2BIqY,3504
|
|
228
250
|
mistralai/models/basemodelcard.py,sha256=mG2HFpAdvsQWhH63Xho7JzK0MwjI9IzU5fEZDamksE0,3248
|
|
229
251
|
mistralai/models/batcherror.py,sha256=tThkO9B-g-6eDSBCm1Emd-zDI4B3mk2vAl0L1MI3pdQ,390
|
|
230
|
-
mistralai/models/batchjobin.py,sha256=
|
|
231
|
-
mistralai/models/batchjobout.py,sha256=
|
|
252
|
+
mistralai/models/batchjobin.py,sha256=RRIQEVtHM2r8hXmmyDXNKc6myikQb5acrNpsGoZztuY,4190
|
|
253
|
+
mistralai/models/batchjobout.py,sha256=kBdyDG7o9aVaMbHD1zIykJ3r0Em9XXUUMu2t5q7lUnI,3229
|
|
232
254
|
mistralai/models/batchjobsout.py,sha256=8ZpO0Lxuygz_4p5cemhJo7ks9YsTmio0EaHvrjyr0Jc,636
|
|
233
255
|
mistralai/models/batchjobstatus.py,sha256=WlrIl5vWQGfLmgQA91_9CnCMKhWN6Lli458fT-4Asj4,294
|
|
256
|
+
mistralai/models/batchrequest.py,sha256=QdSNlReYrj-SrKSPo78vXbi15YNSPeng6y5Ci3EQFME,1444
|
|
234
257
|
mistralai/models/builtinconnectors.py,sha256=cX1M7Q_2tsWeuH-lKWomXED7xN7Du6BJKvYpep1vD30,284
|
|
235
258
|
mistralai/models/chatclassificationrequest.py,sha256=PmU036oOlGqfd75hNESDUJiN4uJNYguACoCt6CzBC2M,534
|
|
236
259
|
mistralai/models/chatcompletionchoice.py,sha256=6iIFLZj2KYx0HFfzS3-E3sNXG6mPEAlDyXxIA5iZI_U,849
|
|
@@ -239,7 +262,7 @@ mistralai/models/chatcompletionresponse.py,sha256=px0hjCapAtTP50u36hiQdPcC9X6LU8
|
|
|
239
262
|
mistralai/models/chatcompletionstreamrequest.py,sha256=_aNxpttDNGuHkVDS8vsiZHDT_gcVPpQ2UHHJrlGDALc,13942
|
|
240
263
|
mistralai/models/chatmoderationrequest.py,sha256=x1eAoxx_GhaxqGRe4wsqNaUi59K39HQakkedLJVUVD8,2236
|
|
241
264
|
mistralai/models/checkpointout.py,sha256=A2kXS8-VT_1lbg3brifVjZD6tXdsET8vLqBm2a-yXgA,1109
|
|
242
|
-
mistralai/models/classificationrequest.py,sha256=
|
|
265
|
+
mistralai/models/classificationrequest.py,sha256=DiSREYLR2my_ioGD1bXFQqtNqbyJSWR5UnTLtdcsMHw,2055
|
|
243
266
|
mistralai/models/classificationresponse.py,sha256=tiQzQnqDr34oFJnMmbI_wleKqAGHdn3W6iFyL0cZ-uY,607
|
|
244
267
|
mistralai/models/classificationtargetresult.py,sha256=EOJeumiN8JsB_85MxOgeo6c9-Upal3yfPrQjNkI0YjA,371
|
|
245
268
|
mistralai/models/classifierdetailedjobout.py,sha256=QBHqeh1VLpuKY2IaWqnj7c12UwC43i5KPBd2CQuAM6k,4808
|
|
@@ -283,7 +306,7 @@ mistralai/models/documenttextcontent.py,sha256=uQKQu3H31Oo8HgAt7qDYMX4CByAPY71lh
|
|
|
283
306
|
mistralai/models/documentupdatein.py,sha256=Uqp-crsMKzZuqgfqQ6PvfhRD0xFOwQPu1SjmMz7YXsg,1925
|
|
284
307
|
mistralai/models/documenturlchunk.py,sha256=yiqte4P63DCyDKDIYKD0pP9S4HjFNXHCXob4nnzY6nY,1710
|
|
285
308
|
mistralai/models/embeddingdtype.py,sha256=c7L-PKhBgPVPZeMGuMub0ZOs0MdxMbpW2ebE0t7oEpU,209
|
|
286
|
-
mistralai/models/embeddingrequest.py,sha256=
|
|
309
|
+
mistralai/models/embeddingrequest.py,sha256=Ywhht6ByAID0VM9GFh0QVOt_5v0fRaxTI9V2eD6d3AU,3181
|
|
287
310
|
mistralai/models/embeddingresponse.py,sha256=te6E_LYEzRjHJ9QREmsFp5PeNP2J_8ALVjyb1T20pNA,663
|
|
288
311
|
mistralai/models/embeddingresponsedata.py,sha256=fJ3mrZqyBBBE40a6iegOJX3DVDfgyMRq23ByeGSTLFk,534
|
|
289
312
|
mistralai/models/encodingformat.py,sha256=pH02s992pVskofo56idSek4sAn3MD6Iu7IAyCGmeJ-U,181
|
|
@@ -327,7 +350,7 @@ mistralai/models/instructrequest.py,sha256=8Y63pPlhD6l8OhfHgoEykUvruRFCmghP7_w35
|
|
|
327
350
|
mistralai/models/jobin.py,sha256=W2kKOf1iTGw03Z8upSAMgx2epL5CyCH-vqx5rnUacM8,5522
|
|
328
351
|
mistralai/models/jobmetadataout.py,sha256=2tQfEgOcEYzv-u8SkpzDncwS0EkfRevW8v7KHkoD_M4,2418
|
|
329
352
|
mistralai/models/jobs_api_routes_batch_cancel_batch_jobop.py,sha256=3Q-YaI2zAX550v--wedoh9XoWg2rRSVFIYOrv2SjhG8,514
|
|
330
|
-
mistralai/models/jobs_api_routes_batch_get_batch_jobop.py,sha256=
|
|
353
|
+
mistralai/models/jobs_api_routes_batch_get_batch_jobop.py,sha256=eyZ2MYPCl9NynhpBnqlwBMPbA3WNqHfyp9xpsmuXgK8,1725
|
|
331
354
|
mistralai/models/jobs_api_routes_batch_get_batch_jobsop.py,sha256=jeEJ07MeYdoV8-hN0Wwj35smu0Yk13sjdvkKDojpqUI,3280
|
|
332
355
|
mistralai/models/jobs_api_routes_fine_tuning_archive_fine_tuned_modelop.py,sha256=pevOFk9Ji8iebXVadr5d882kKjrvT6_R6b8qBTYkQAU,628
|
|
333
356
|
mistralai/models/jobs_api_routes_fine_tuning_cancel_fine_tuning_jobop.py,sha256=biN40DJv0iQ1Pr1fA0fs6zV5j11C1zlcYt4XLNQILSI,1473
|
|
@@ -421,9 +444,9 @@ mistralai/models/toolexecutiondeltaevent.py,sha256=394h8T-glbCU8OZZfSm1yNW_DyhbH
|
|
|
421
444
|
mistralai/models/toolexecutiondoneevent.py,sha256=Ga3rq-ajArgu9HuWuKDHLUEYGKfmCNo_uFM-tLxXRN4,1210
|
|
422
445
|
mistralai/models/toolexecutionentry.py,sha256=b3Oejsv_f3AXe-SzxxXMAADU8mnZ4Ko4Cv42Ba7d2NM,2345
|
|
423
446
|
mistralai/models/toolexecutionstartedevent.py,sha256=Cca-J3RDDQM38aXBOgjyKeE1QSU2xzI7xS0DZqmQ3nc,1196
|
|
424
|
-
mistralai/models/toolfilechunk.py,sha256=
|
|
447
|
+
mistralai/models/toolfilechunk.py,sha256=9v9ItEYsazgraPXJmkH7AjvgxzDyD3pofPM1jFLcjm4,2033
|
|
425
448
|
mistralai/models/toolmessage.py,sha256=onVw1JYf-cwvN19ipk_UERppO4mmQPUGJtreCPJ3TOQ,2044
|
|
426
|
-
mistralai/models/toolreferencechunk.py,sha256=
|
|
449
|
+
mistralai/models/toolreferencechunk.py,sha256=dq8eD1Uxs2984JWsVSPKOVDg56_tIV7lTY3K5u3FgA0,2190
|
|
427
450
|
mistralai/models/tooltypes.py,sha256=NcvRsZA_ORf4WY_gn6WjgX6eEXmR2faVG3Q1sLlzdG8,244
|
|
428
451
|
mistralai/models/trainingfile.py,sha256=IlwKP2GL8gL0VHVJ_zUDV-Q0F7obdLzMMRDDJatSjwo,400
|
|
429
452
|
mistralai/models/transcriptionresponse.py,sha256=TZbPF5tfxEfssuZ0bRB7wvKuZwltQO8d63DVW_Q0W7c,2316
|
|
@@ -444,12 +467,6 @@ mistralai/models/wandbintegration.py,sha256=PbDvTC7hrS8u3mkYQlvzCFilDZdTtkCrKWlX
|
|
|
444
467
|
mistralai/models/wandbintegrationout.py,sha256=nDVAi7dismF5ktEBaEM8A8QsAtOVR0ReblTxF0_VWtg,2117
|
|
445
468
|
mistralai/models/websearchpremiumtool.py,sha256=wU3_oOKRWFLOXrZ-SrqAnGC7kb5uaSjLaTfUthuFoLY,502
|
|
446
469
|
mistralai/models/websearchtool.py,sha256=qpzzCo_nJunxRHlkwJE3vuEd-qPA_cW1X55qEXw3_KY,451
|
|
447
|
-
mistralai/models_.py,sha256=yy0igELUaUIGA7m_F5gGnjwtfSCXl_4rlVEQTe_jQ0Q,41900
|
|
448
|
-
mistralai/ocr.py,sha256=CkLNy2EEZjQfdyoRy6CiC0mfWIs4IMxo8dkEhXJBmis,12169
|
|
449
|
-
mistralai/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
450
|
-
mistralai/sdk.py,sha256=1LlWK-8IIuN3-L103AC1OsNYRXG-sP1hRijxhuMf6q0,8324
|
|
451
|
-
mistralai/sdkconfiguration.py,sha256=8BDzcYQqDIM7pXsdsfmEZPUexeqdsL-8HMyhWiQeupE,1716
|
|
452
|
-
mistralai/transcriptions.py,sha256=iab7DUYk_exTPWQRz9PeAxTLoSi0hgAu3xjXjbt9qDQ,18534
|
|
453
470
|
mistralai/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
454
471
|
mistralai/types/basemodel.py,sha256=L79WXvTECbSqaJzs8D3ud_KdIWkU7Cx2wbohDAktE9E,1127
|
|
455
472
|
mistralai/utils/__init__.py,sha256=CAG0O76aEToGKXpT6Ft87Vd-iiQTh4XdBrQ37BVbsiM,5861
|
|
@@ -469,7 +486,7 @@ mistralai/utils/serializers.py,sha256=Hndks5M_rJXVub_N5lu0gKZQUoEmWrn6PN7R-0HwvO
|
|
|
469
486
|
mistralai/utils/unmarshal_json_response.py,sha256=mCQ2G9mE9432ExbhO1PleywDN3UYOPW2exzcJX22gCM,585
|
|
470
487
|
mistralai/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
471
488
|
mistralai/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
472
|
-
mistralai-1.10.
|
|
473
|
-
mistralai-1.10.
|
|
474
|
-
mistralai-1.10.
|
|
475
|
-
mistralai-1.10.
|
|
489
|
+
mistralai-1.10.1.dist-info/METADATA,sha256=fEgDJDBamaKkTLJ4gmaVHI0tGdrZNezSoeuVJNjc9q0,33079
|
|
490
|
+
mistralai-1.10.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
491
|
+
mistralai-1.10.1.dist-info/licenses/LICENSE,sha256=rUtQ_9GD0OyLPlb-2uWVdfE87hzudMRmsW-tS-0DK-0,11340
|
|
492
|
+
mistralai-1.10.1.dist-info/RECORD,,
|
mistralai_azure/_version.py
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import importlib.metadata
|
|
4
4
|
|
|
5
5
|
__title__: str = "mistralai_azure"
|
|
6
|
-
__version__: str = "1.
|
|
6
|
+
__version__: str = "1.7.0"
|
|
7
7
|
__openapi_doc_version__: str = "1.0.0"
|
|
8
|
-
__gen_version__: str = "2.
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 1.
|
|
8
|
+
__gen_version__: str = "2.687.13"
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 1.7.0 2.687.13 1.0.0 mistralai_azure"
|
|
10
10
|
|
|
11
11
|
try:
|
|
12
12
|
if __package__ is not None:
|
mistralai_azure/basesdk.py
CHANGED
|
@@ -15,9 +15,19 @@ from urllib.parse import parse_qs, urlparse
|
|
|
15
15
|
|
|
16
16
|
class BaseSDK:
|
|
17
17
|
sdk_configuration: SDKConfiguration
|
|
18
|
+
parent_ref: Optional[object] = None
|
|
19
|
+
"""
|
|
20
|
+
Reference to the root SDK instance, if any. This will prevent it from
|
|
21
|
+
being garbage collected while there are active streams.
|
|
22
|
+
"""
|
|
18
23
|
|
|
19
|
-
def __init__(
|
|
24
|
+
def __init__(
|
|
25
|
+
self,
|
|
26
|
+
sdk_config: SDKConfiguration,
|
|
27
|
+
parent_ref: Optional[object] = None,
|
|
28
|
+
) -> None:
|
|
20
29
|
self.sdk_configuration = sdk_config
|
|
30
|
+
self.parent_ref = parent_ref
|
|
21
31
|
|
|
22
32
|
def _get_url(self, base_url, url_variables):
|
|
23
33
|
sdk_url, sdk_variables = self.sdk_configuration.get_server_details()
|
|
@@ -244,7 +254,7 @@ class BaseSDK:
|
|
|
244
254
|
|
|
245
255
|
if http_res is None:
|
|
246
256
|
logger.debug("Raising no response SDK error")
|
|
247
|
-
raise models.
|
|
257
|
+
raise models.NoResponseError("No response received")
|
|
248
258
|
|
|
249
259
|
logger.debug(
|
|
250
260
|
"Response:\nStatus Code: %s\nURL: %s\nHeaders: %s\nBody: %s",
|
|
@@ -265,7 +275,7 @@ class BaseSDK:
|
|
|
265
275
|
http_res = result
|
|
266
276
|
else:
|
|
267
277
|
logger.debug("Raising unexpected SDK error")
|
|
268
|
-
raise models.SDKError("Unexpected error occurred")
|
|
278
|
+
raise models.SDKError("Unexpected error occurred", http_res)
|
|
269
279
|
|
|
270
280
|
return http_res
|
|
271
281
|
|
|
@@ -316,7 +326,7 @@ class BaseSDK:
|
|
|
316
326
|
|
|
317
327
|
if http_res is None:
|
|
318
328
|
logger.debug("Raising no response SDK error")
|
|
319
|
-
raise models.
|
|
329
|
+
raise models.NoResponseError("No response received")
|
|
320
330
|
|
|
321
331
|
logger.debug(
|
|
322
332
|
"Response:\nStatus Code: %s\nURL: %s\nHeaders: %s\nBody: %s",
|
|
@@ -337,7 +347,7 @@ class BaseSDK:
|
|
|
337
347
|
http_res = result
|
|
338
348
|
else:
|
|
339
349
|
logger.debug("Raising unexpected SDK error")
|
|
340
|
-
raise models.SDKError("Unexpected error occurred")
|
|
350
|
+
raise models.SDKError("Unexpected error occurred", http_res)
|
|
341
351
|
|
|
342
352
|
return http_res
|
|
343
353
|
|