Repository navigation
Commit 89ac756
fix: Add the description field to Actor task models (#1049)
Regenerates the models from the [published OpenAPI
specification](https://docs.apify.com/api/openapi.json), version
`v2-2026-08-30T172245Z` -> `v2-2026-08-31T125154Z` (the stamp lags its
content by one deploy; the content is from 2026-09-02).
- Adds the `description` field to `Task`, `CreateTaskRequest`, and
`UpdateTaskRequest` (apify/apify-docs#2922).
- Sets `collapse_root_models_name_strategy = "child"` for
datamodel-codegen. apify/apify-docs#2938 bumped `@redocly/cli` 2.26.0 ->
2.49.0, and its bundler now keeps the shared `RequestMethod` alias (a
`$ref` to `HttpMethod` plus a description) as a separate component
instead of collapsing it. datamodel-codegen turned that into a
`RequestMethod(RootModel[HttpMethod])` wrapper, so `request.method` no
longer compared equal to plain strings and the request queue integration
tests failed. With the option the alias folds back into `HttpMethod`,
and the generated models are identical to the previous bundler's output.
> Generated by the [Regenerate
models](https://github.com/apify/apify-client-python/actions/workflows/on_schedule_regenerate_models.yaml)
workflow.
*✍️ Drafted by Claude Code*
---------
Co-authored-by: Vlada Dusek <v.dusek96@gmail.com>1 parent ab25d07 commit 89ac756
3 files changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| 225 | + | |
225 | 226 | | |
226 | 227 | | |
227 | 228 | | |
| |||
245 | 246 | | |
246 | 247 | | |
247 | 248 | | |
248 | | - | |
| 249 | + | |
249 | 250 | | |
250 | 251 | | |
251 | 252 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
872 | 872 | | |
873 | 873 | | |
874 | 874 | | |
| 875 | + | |
875 | 876 | | |
876 | 877 | | |
877 | 878 | | |
| |||
3505 | 3506 | | |
3506 | 3507 | | |
3507 | 3508 | | |
| 3509 | + | |
3508 | 3510 | | |
3509 | 3511 | | |
3510 | 3512 | | |
| |||
3869 | 3871 | | |
3870 | 3872 | | |
3871 | 3873 | | |
| 3874 | + | |
3872 | 3875 | | |
3873 | 3876 | | |
3874 | 3877 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| |||
60 | 63 | | |
61 | 64 | | |
62 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
63 | 69 | | |
64 | 70 | | |
65 | 71 | | |
| |||
0 commit comments