Title: `example_run_input_body` is typed `Any` but only accepts a string · Issue #1102 · apify/apify-client-python · GitHub
Open Graph Title: `example_run_input_body` is typed `Any` but only accepts a string · Issue #1102 · apify/apify-client-python
X Title: `example_run_input_body` is typed `Any` but only accepts a string · Issue #1102 · apify/apify-client-python
Description: actor.update() types example_run_input_body as Any (_resource_clients/actor.py:122), but ExampleRunInput.body is str | None (_models.py:1400). Passing a dict, the obvious thing for a JSON input, fails with a pydantic ValidationError. Eit...
Open Graph Description: actor.update() types example_run_input_body as Any (_resource_clients/actor.py:122), but ExampleRunInput.body is str | None (_models.py:1400). Passing a dict, the obvious thing for a JSON input, fa...
X Description: actor.update() types example_run_input_body as Any (_resource_clients/actor.py:122), but ExampleRunInput.body is str | None (_models.py:1400). Passing a dict, the obvious thing for a JSON input, fa...
Opengraph URL: https://github.com/apify/apify-client-python/issues/1102
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`example_run_input_body` is typed `Any` but only accepts a string","articleBody":"`actor.update()` types `example_run_input_body` as `Any` (`_resource_clients/actor.py:122`), but `ExampleRunInput.body` is `str | None` (`_models.py:1400`). Passing a dict, the obvious thing for a JSON input, fails with a pydantic `ValidationError`. Either type the argument as `str` or serialize non-string values (JSON for a dict, matching `example_run_input_content_type`). The same applies to `actors().create()`.\n\n*✍️ Drafted by Claude Code*\n","author":{"url":"https://github.com/vdusek","@type":"Person","name":"vdusek"},"datePublished":"2026-10-08T07:16:39Z","url":"https://github.com/apify/apify-client-python/issues/1102"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0c78c502-e2dd-98ff-ec44-491b259a184f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BAC6:2A087:DBFD76:1277DF6:6B005728 |
| html-safe-nonce | 202694761fced1c5ca4fa9695b41576d09953e2da38b370fd266d4376e933c41 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUM2OjJBMDg3OkRCRkQ3NjoxMjc3REY2OjZCMDA1NzI4IiwidmlzaXRvcl9pZCI6IjQ2MjM0ODAzMjI1Mzk5MzU1MjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7dbe3324d2aea528f9bd24f4414bfda09dc524dcd632240f0d465b746894c346 |
| hovercard-subject-tag | issue:5757652334 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apify/apify-client-python/1102/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6a4f1ada3ca590ac13854733cc440a7519cd98d3dd5923ae9101f40c4ec37dc4/apify/apify-client-python/issues/1102 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6a4f1ada3ca590ac13854733cc440a7519cd98d3dd5923ae9101f40c4ec37dc4/apify/apify-client-python/issues/1102 |
| og:image:alt | actor.update() types example_run_input_body as Any (_resource_clients/actor.py:122), but ExampleRunInput.body is str | None (_models.py:1400). Passing a dict, the obvious thing for a JSON input, fa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vdusek |
| hostname | github.com |
| expected-hostname | github.com |
| None | f420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb |
| turbo-cache-control | no-preview |
| go-import | github.com/apify/apify-client-python git https://github.com/apify/apify-client-python.git |
| octolytics-dimension-user_id | 24586296 |
| octolytics-dimension-user_login | apify |
| octolytics-dimension-repository_id | 164647835 |
| octolytics-dimension-repository_nwo | apify/apify-client-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 164647835 |
| octolytics-dimension-repository_network_root_nwo | apify/apify-client-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 26e00df917aba0f128135dc073ea0c5e33a70d40 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width