Skip to content

Commit 6087465

Browse files
github-actions[bot]speakeasybotactions-user
authored
chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 2.2.0rc3 (#458)
* ## Python SDK Changes: * `mistral.workflows.events.send_event()`: **Removed** (Breaking ⚠️) * `mistral.workflows.events.send_events_batch()`: **Removed** (Breaking ⚠️) * `mistral.events.send_event()`: **Removed** (Breaking ⚠️) * `mistral.events.send_events_batch()`: **Removed** (Breaking ⚠️) * chore: align pyproject.toml and uv.lock to version 2.2.0rc3 --------- Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: GitHub Action <action@github.com>
1 parent c28d33d commit 6087465

91 files changed

Lines changed: 106 additions & 5469 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.speakeasy/gen.lock

Lines changed: 44 additions & 323 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ generation:
3232
generateNewTests: false
3333
skipResponseBodyAssertions: false
3434
python:
35-
version: 2.2.0rc2
35+
version: 2.2.0rc3
3636
additionalDependencies:
3737
dev:
3838
pytest: ^8.2.2

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ sources:
1616
- speakeasy-sdk-regen-1773084660
1717
mistral-openapi:
1818
sourceNamespace: mistral-openapi
19-
sourceRevisionDigest: sha256:b0edc400c913c03cb63b1d50e468c855b7d9d393a816a7aec8b3c9b2e264acbb
20-
sourceBlobDigest: sha256:e893659c7767d3bc967d4a5a98f0fb5e2a27f7db03d8b1946de13c22b9321b0a
19+
sourceRevisionDigest: sha256:8a9e51d8532d887897d3335b416422973f6d1adb687a88dc288bfb51e1fdacdf
20+
sourceBlobDigest: sha256:ad19d950e5564f613ce71b9b0b98eadf76609f0ff96db0e083b20c8190c718e3
2121
tags:
2222
- latest
2323
targets:
@@ -38,10 +38,10 @@ targets:
3838
mistralai-sdk:
3939
source: mistral-openapi
4040
sourceNamespace: mistral-openapi
41-
sourceRevisionDigest: sha256:b0edc400c913c03cb63b1d50e468c855b7d9d393a816a7aec8b3c9b2e264acbb
42-
sourceBlobDigest: sha256:e893659c7767d3bc967d4a5a98f0fb5e2a27f7db03d8b1946de13c22b9321b0a
41+
sourceRevisionDigest: sha256:8a9e51d8532d887897d3335b416422973f6d1adb687a88dc288bfb51e1fdacdf
42+
sourceBlobDigest: sha256:ad19d950e5564f613ce71b9b0b98eadf76609f0ff96db0e083b20c8190c718e3
4343
codeSamplesNamespace: mistral-openapi-code-samples
44-
codeSamplesRevisionDigest: sha256:1231751d127af0b0bfed6d1b2c7dff8376e587c60d1d368ba1b13c5d3090b9c7
44+
codeSamplesRevisionDigest: sha256:5c4ab11a61b82db21d8567c51a430c9dbc522aced5a46537cb5e075218452a02
4545
workflow:
4646
workflowVersion: 1.0.0
4747
speakeasyVersion: 1.754.0

README-PYPI.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -637,8 +637,6 @@ print(res.choices[0].message.content)
637637

638638
### [Events](https://github.com/mistralai/client-python/blob/main/docs/sdks/events/README.md)
639639

640-
* [send_event](https://github.com/mistralai/client-python/blob/main/docs/sdks/events/README.md#send_event) - Receive Workflow Event
641-
* [send_events_batch](https://github.com/mistralai/client-python/blob/main/docs/sdks/events/README.md#send_events_batch) - Receive Workflow Events Batch
642640
* [get_stream_events](https://github.com/mistralai/client-python/blob/main/docs/sdks/events/README.md#get_stream_events) - Get Stream Events
643641
* [get_workflow_events](https://github.com/mistralai/client-python/blob/main/docs/sdks/events/README.md#get_workflow_events) - Get Workflow Events
644642

@@ -696,8 +694,6 @@ print(res.choices[0].message.content)
696694

697695
#### [Workflows.Events](https://github.com/mistralai/client-python/blob/main/docs/sdks/workflowsevents/README.md)
698696

699-
* [send_event](https://github.com/mistralai/client-python/blob/main/docs/sdks/workflowsevents/README.md#send_event) - Receive Workflow Event
700-
* [send_events_batch](https://github.com/mistralai/client-python/blob/main/docs/sdks/workflowsevents/README.md#send_events_batch) - Receive Workflow Events Batch
701697
* [get_stream_events](https://github.com/mistralai/client-python/blob/main/docs/sdks/workflowsevents/README.md#get_stream_events) - Get Stream Events
702698
* [get_workflow_events](https://github.com/mistralai/client-python/blob/main/docs/sdks/workflowsevents/README.md#get_workflow_events) - Get Workflow Events
703699

@@ -948,8 +944,8 @@ with Mistral(
948944

949945

950946
**Inherit from [`MistralError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/mistralerror.py)**:
951-
* [`HTTPValidationError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 105 of 173 methods.*
952-
* [`ObservabilityError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 41 of 173 methods.*
947+
* [`HTTPValidationError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 103 of 169 methods.*
948+
* [`ObservabilityError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 41 of 169 methods.*
953949
* [`ResponseValidationError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
954950

955951
</details>

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -637,8 +637,6 @@ print(res.choices[0].message.content)
637637

638638
### [Events](docs/sdks/events/README.md)
639639

640-
* [send_event](docs/sdks/events/README.md#send_event) - Receive Workflow Event
641-
* [send_events_batch](docs/sdks/events/README.md#send_events_batch) - Receive Workflow Events Batch
642640
* [get_stream_events](docs/sdks/events/README.md#get_stream_events) - Get Stream Events
643641
* [get_workflow_events](docs/sdks/events/README.md#get_workflow_events) - Get Workflow Events
644642

@@ -696,8 +694,6 @@ print(res.choices[0].message.content)
696694

697695
#### [Workflows.Events](docs/sdks/workflowsevents/README.md)
698696

699-
* [send_event](docs/sdks/workflowsevents/README.md#send_event) - Receive Workflow Event
700-
* [send_events_batch](docs/sdks/workflowsevents/README.md#send_events_batch) - Receive Workflow Events Batch
701697
* [get_stream_events](docs/sdks/workflowsevents/README.md#get_stream_events) - Get Stream Events
702698
* [get_workflow_events](docs/sdks/workflowsevents/README.md#get_workflow_events) - Get Workflow Events
703699

@@ -948,8 +944,8 @@ with Mistral(
948944

949945

950946
**Inherit from [`MistralError`](./src/mistralai/client/errors/mistralerror.py)**:
951-
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 105 of 173 methods.*
952-
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 41 of 173 methods.*
947+
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 103 of 169 methods.*
948+
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 41 of 169 methods.*
953949
* [`ResponseValidationError`](./src/mistralai/client/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
954950

955951
</details>

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,4 +508,14 @@ Based on:
508508
### Generated
509509
- [python v2.2.0rc2] .
510510
### Releases
511-
- [PyPI v2.2.0rc2] https://pypi.org/project/mistralai/2.2.0rc2 - .
511+
- [PyPI v2.2.0rc2] https://pypi.org/project/mistralai/2.2.0rc2 - .
512+
513+
## 2026-03-30 17:24:31
514+
### Changes
515+
Based on:
516+
- OpenAPI Doc
517+
- Speakeasy CLI 1.754.0 (2.862.0) https://github.com/speakeasy-api/speakeasy
518+
### Generated
519+
- [python v2.2.0rc3] .
520+
### Releases
521+
- [PyPI v2.2.0rc3] https://pypi.org/project/mistralai/2.2.0rc3 - .

docs/models/activitytaskcompletedattributesrequest.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

docs/models/activitytaskcompletedrequest.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

docs/models/activitytaskfailedrequest.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)