Skip to content

Commit d8ba2ef

Browse files
github-actions[bot]speakeasybotGaspardBT
authored
chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 1.1.0 (#145)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.396.7 * fix readme * change pydantic constraint --------- Co-authored-by: speakeasybot <[email protected]> Co-authored-by: gaspardBT <[email protected]>
1 parent 290e1bf commit d8ba2ef

File tree

8 files changed

+201
-162
lines changed

8 files changed

+201
-162
lines changed

.speakeasy/gen.lock

+5-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ id: 2d045ec7-2ebb-4f4d-ad25-40953b132161
33
management:
44
docChecksum: e75ca54601920b2770d9a559b299d272
55
docVersion: 0.0.2
6-
speakeasyVersion: 1.396.7
7-
generationVersion: 2.415.6
8-
releaseVersion: 1.1.1
9-
configChecksum: 450e609764e2b24aa8ece63616b81348
6+
speakeasyVersion: 1.398.0
7+
generationVersion: 2.415.8
8+
releaseVersion: 1.1.0
9+
configChecksum: 49094e0f156d020bd164f8b4bd41e97b
1010
repoURL: https://github.com/mistralai/client-python.git
1111
installationURL: https://github.com/mistralai/client-python.git
1212
published: true
@@ -194,6 +194,7 @@ generatedFiles:
194194
- poetry.toml
195195
- py.typed
196196
- pylintrc
197+
- pyproject.toml
197198
- scripts/compile.sh
198199
- scripts/prepare-readme.py
199200
- scripts/publish.sh

.speakeasy/gen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ generation:
1212
auth:
1313
oAuth2ClientCredentialsEnabled: true
1414
python:
15-
version: 1.1.1
15+
version: 1.1.0
1616
additionalDependencies:
1717
dev:
1818
pytest: ^8.2.2

.speakeasy/workflow.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
speakeasyVersion: 1.396.7
1+
speakeasyVersion: 1.398.0
22
sources:
33
mistral-azure-source:
44
sourceNamespace: mistral-openapi-azure

README.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -481,10 +481,10 @@ if res is not None:
481481

482482
Handling errors in this SDK should largely match your expectations. All operations return a response object or raise an error. If Error objects are specified in your OpenAPI Spec, the SDK will raise the appropriate Error type.
483483

484-
| Error Object | Status Code | Content Type |
485-
| -------------------------- | -------------------------- | -------------------------- |
486-
| models.HTTPValidationError | 422 | application/json |
487-
| models.SDKError | 4xx-5xx | */* |
484+
| Error Object | Status Code | Content Type |
485+
| -------------------------- | ----------- | ---------------- |
486+
| models.HTTPValidationError | 422 | application/json |
487+
| models.SDKError | 4xx-5xx | */* |
488488

489489
### Example
490490

@@ -520,9 +520,9 @@ except models.SDKError as e:
520520

521521
You can override the default server globally by passing a server name to the `server: str` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the names associated with the available servers:
522522

523-
| Name | Server | Variables |
524-
| ----- | ------ | --------- |
525-
| `prod` | `https://api.mistral.ai` | None |
523+
| Name | Server | Variables |
524+
| ------ | ------------------------ | --------- |
525+
| `prod` | `https://api.mistral.ai` | None |
526526

527527
#### Example
528528

@@ -653,9 +653,9 @@ s = Mistral(async_client=CustomClient(httpx.AsyncClient()))
653653

654654
This SDK supports the following security scheme globally:
655655

656-
| Name | Type | Scheme | Environment Variable |
657-
| -------------------- | -------------------- | -------------------- | -------------------- |
658-
| `api_key` | http | HTTP Bearer | `MISTRAL_API_KEY` |
656+
| Name | Type | Scheme | Environment Variable |
657+
| --------- | ---- | ----------- | -------------------- |
658+
| `api_key` | http | HTTP Bearer | `MISTRAL_API_KEY` |
659659

660660
To authenticate with the API the `api_key` parameter must be set when initializing the SDK client instance. For example:
661661
```python
@@ -709,4 +709,4 @@ Generally, the SDK will work well with most IDEs out of the box. However, when u
709709
## Contributions
710710

711711
While we value open-source contributions to this SDK, this library is generated programmatically. Any manual changes added to internal files will be overwritten on the next generation.
712-
We look forward to hearing your feedback. Feel free to open a PR or an issue with a proof of concept and we'll do our best to include it in a future release.
712+
We look forward to hearing your feedback. Feel free to open a PR or an issue with a proof of concept and we'll do our best to include it in a future release.

RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,14 @@ Based on:
3838
### Generated
3939
- [python v1.0.3] .
4040
### Releases
41-
- [PyPI v1.0.3] https://pypi.org/project/mistralai/1.0.3 - .
41+
- [PyPI v1.0.3] https://pypi.org/project/mistralai/1.0.3 - .
42+
43+
## 2024-09-13 16:21:24
44+
### Changes
45+
Based on:
46+
- OpenAPI Doc
47+
- Speakeasy CLI 1.396.7 (2.415.6) https://github.com/speakeasy-api/speakeasy
48+
### Generated
49+
- [python v1.1.0] .
50+
### Releases
51+
- [PyPI v1.1.0] https://pypi.org/project/mistralai/1.1.0 - .

0 commit comments

Comments
 (0)