Skip to content

Commit 40ed8dc

Browse files
## Python SDK Changes: (mistralai#506)
* `mistral.beta.libraries.update()`: `request.name` **Changed** (Breaking ⚠️) * `mistral.beta.libraries.documents.update()`: `request.name` **Changed** (Breaking ⚠️) * `mistral.beta.rag.ingestion_pipeline_configurations.update_run_info()`: **Added** * `mistral.workflows.schedules.pause_schedule()`: **Added** * `mistral.workflows.schedules.resume_schedule()`: **Added** * `mistral.beta.rag.ingestion_pipeline_configurations.list()`: `response.[]` **Changed** * `mistral.beta.rag.ingestion_pipeline_configurations.register()`: * `request.pipeline_composition` **Added** * `response` **Changed** * `mistral.workflows.schedules.get_schedules()`: `response.schedules[]` **Changed** * `mistral.workflows.schedules.schedule_workflow()`: * `request.schedule.max_executions` **Added** Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
1 parent 46c1b98 commit 40ed8dc

76 files changed

Lines changed: 1936 additions & 558 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: 205 additions & 124 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.4.3
35+
version: 2.4.4
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:224619b477164e1a1768ee73fdda28b4ab994bad22ed713e2b23397ab12f3b57
20-
sourceBlobDigest: sha256:5148633458f3efeb064e4d6e113e906dd6c5a5b4a667e865c2a33c663b98835e
19+
sourceRevisionDigest: sha256:1f3eeb2513538e3ae8b5483477b559a460ce3dac0cdd41c31d47db9167acec60
20+
sourceBlobDigest: sha256:b743e6e51b23d2d5207d1f4348076d22f130052fea4e1676095a2ddc654822a9
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:224619b477164e1a1768ee73fdda28b4ab994bad22ed713e2b23397ab12f3b57
42-
sourceBlobDigest: sha256:5148633458f3efeb064e4d6e113e906dd6c5a5b4a667e865c2a33c663b98835e
41+
sourceRevisionDigest: sha256:1f3eeb2513538e3ae8b5483477b559a460ce3dac0cdd41c31d47db9167acec60
42+
sourceBlobDigest: sha256:b743e6e51b23d2d5207d1f4348076d22f130052fea4e1676095a2ddc654822a9
4343
codeSamplesNamespace: mistral-openapi-code-samples
44-
codeSamplesRevisionDigest: sha256:e187b17d9a82818b60c5df49bccb51e58acbb250087df04d9957c6502cc2bcdc
44+
codeSamplesRevisionDigest: sha256:fa3aa9d30da8a70f9e5d8c74ceab2cd4a043bfa5c5dacfe0035b09d907f41705
4545
workflow:
4646
workflowVersion: 1.0.0
4747
speakeasyVersion: 1.761.1

README-PYPI.md

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

634634
* [list](https://github.com/mistralai/client-python/blob/main/docs/sdks/ingestionpipelineconfigurations/README.md#list) - List ingestion pipeline configurations
635635
* [register](https://github.com/mistralai/client-python/blob/main/docs/sdks/ingestionpipelineconfigurations/README.md#register) - Register Config
636+
* [update_run_info](https://github.com/mistralai/client-python/blob/main/docs/sdks/ingestionpipelineconfigurations/README.md#update_run_info) - Update Run Info
636637

637638
### [Chat](https://github.com/mistralai/client-python/blob/main/docs/sdks/chat/README.md)
638639

@@ -744,6 +745,8 @@ print(res.choices[0].message.content)
744745
* [get_schedules](https://github.com/mistralai/client-python/blob/main/docs/sdks/schedules/README.md#get_schedules) - Get Schedules
745746
* [schedule_workflow](https://github.com/mistralai/client-python/blob/main/docs/sdks/schedules/README.md#schedule_workflow) - Schedule Workflow
746747
* [unschedule_workflow](https://github.com/mistralai/client-python/blob/main/docs/sdks/schedules/README.md#unschedule_workflow) - Unschedule Workflow
748+
* [pause_schedule](https://github.com/mistralai/client-python/blob/main/docs/sdks/schedules/README.md#pause_schedule) - Pause Schedule
749+
* [resume_schedule](https://github.com/mistralai/client-python/blob/main/docs/sdks/schedules/README.md#resume_schedule) - Resume Schedule
747750

748751
</details>
749752
<!-- End Available Resources and Operations [operations] -->
@@ -955,8 +958,8 @@ with Mistral(
955958

956959

957960
**Inherit from [`MistralError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/mistralerror.py)**:
958-
* [`HTTPValidationError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 113 of 180 methods.*
959-
* [`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 180 methods.*
961+
* [`HTTPValidationError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 116 of 183 methods.*
962+
* [`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 183 methods.*
960963
* [`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.
961964

962965
</details>

README.md

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

634634
* [list](docs/sdks/ingestionpipelineconfigurations/README.md#list) - List ingestion pipeline configurations
635635
* [register](docs/sdks/ingestionpipelineconfigurations/README.md#register) - Register Config
636+
* [update_run_info](docs/sdks/ingestionpipelineconfigurations/README.md#update_run_info) - Update Run Info
636637

637638
### [Chat](docs/sdks/chat/README.md)
638639

@@ -744,6 +745,8 @@ print(res.choices[0].message.content)
744745
* [get_schedules](docs/sdks/schedules/README.md#get_schedules) - Get Schedules
745746
* [schedule_workflow](docs/sdks/schedules/README.md#schedule_workflow) - Schedule Workflow
746747
* [unschedule_workflow](docs/sdks/schedules/README.md#unschedule_workflow) - Unschedule Workflow
748+
* [pause_schedule](docs/sdks/schedules/README.md#pause_schedule) - Pause Schedule
749+
* [resume_schedule](docs/sdks/schedules/README.md#resume_schedule) - Resume Schedule
747750

748751
</details>
749752
<!-- End Available Resources and Operations [operations] -->
@@ -955,8 +958,8 @@ with Mistral(
955958

956959

957960
**Inherit from [`MistralError`](./src/mistralai/client/errors/mistralerror.py)**:
958-
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 113 of 180 methods.*
959-
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 41 of 180 methods.*
961+
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 116 of 183 methods.*
962+
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 41 of 183 methods.*
960963
* [`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.
961964

962965
</details>

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,4 +618,14 @@ Based on:
618618
### Generated
619619
- [python v2.4.3] .
620620
### Releases
621-
- [PyPI v2.4.3] https://pypi.org/project/mistralai/2.4.3 - .
621+
- [PyPI v2.4.3] https://pypi.org/project/mistralai/2.4.3 - .
622+
623+
## 2026-04-30 12:00:09
624+
### Changes
625+
Based on:
626+
- OpenAPI Doc
627+
- Speakeasy CLI 1.761.1 (2.879.6) https://github.com/speakeasy-api/speakeasy
628+
### Generated
629+
- [python v2.4.4] .
630+
### Releases
631+
- [PyPI v2.4.4] https://pypi.org/project/mistralai/2.4.4 - .

docs/models/createingestionpipelineconfigurationrequest.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ------------------ | ------------------ | ------------------ | ------------------ |
8-
| `name` | *str* | :heavy_check_mark: | N/A |
6+
| Field | Type | Required | Description |
7+
| ---------------------- | ---------------------- | ---------------------- | ---------------------- |
8+
| `name` | *str* | :heavy_check_mark: | N/A |
9+
| `pipeline_composition` | Dict[str, *str*] | :heavy_minus_sign: | N/A |

docs/models/createlibraryrequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
88
| `name` | *str* | :heavy_check_mark: | N/A |
99
| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
10-
| `chunk_size` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A |
10+
| `chunk_size` | *OptionalNullable[int]* | :heavy_minus_sign: | The size of the chunks (in characters) to split document text into. Must be between 256 and 32768. |
1111
| `owner_type` | [OptionalNullable[models.OwnerType]](../models/ownertype.md) | :heavy_minus_sign: | Determines who owns the created library. 'User' creates a private library accessible only to its owner. 'Workspace' creates a library shared with the workspace. Defaults to 'Workspace' for API key sessions. Only API keys with the 'Private and shared connectors' connector access scope can create private, user-owned libraries. |

docs/models/ingestionpipelineconfiguration.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
| Field | Type | Required | Description |
77
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
88
| `id` | *str* | :heavy_check_mark: | N/A |
9+
| `author_id` | *str* | :heavy_check_mark: | N/A |
910
| `name` | *str* | :heavy_check_mark: | N/A |
1011
| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |
11-
| `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |
12+
| `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |
13+
| `last_run_time` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |
14+
| `last_run_chunks_count` | *int* | :heavy_check_mark: | N/A |
15+
| `total_chunks_count` | *int* | :heavy_check_mark: | N/A |
16+
| `pipeline_composition` | Dict[str, *str*] | :heavy_check_mark: | N/A |

0 commit comments

Comments
 (0)