Title: Handle webhook inputs consistently and in one place · Issue #421 · apify/apify-client-python · GitHub
Open Graph Title: Handle webhook inputs consistently and in one place · Issue #421 · apify/apify-client-python
X Title: Handle webhook inputs consistently and in one place · Issue #421 · apify/apify-client-python
Description: Unify Webhook input sanitation and handling. Maybe with Pydantic? Context: Webhook inputs to the clients are now handled in different ways based on the client used. One path is using encode_webhook_list_to_base64, for example in ActorCli...
Open Graph Description: Unify Webhook input sanitation and handling. Maybe with Pydantic? Context: Webhook inputs to the clients are now handled in different ways based on the client used. One path is using encode_webhook...
X Description: Unify Webhook input sanitation and handling. Maybe with Pydantic? Context: Webhook inputs to the clients are now handled in different ways based on the client used. One path is using encode_webhook...
Opengraph URL: https://github.com/apify/apify-client-python/issues/421
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Handle webhook inputs consistently and in one place","articleBody":"Unify Webhook input sanitation and handling. Maybe with Pydantic?\n\n**Context:**\nWebhook inputs to the clients are now handled in different ways based on the client used. One path is using [encode_webhook_list_to_base64](https://github.com/apify/apify-client-python/blob/66c5bf8dc6355cde8851e6a227d159a64ac66891/src/apify_client/_utils.py#L121), for example in [ActorClient.start](https://github.com/apify/apify-client-python/blob/66c5bf8dc6355cde8851e6a227d159a64ac66891/src/apify_client/clients/resource_clients/actor.py#L215).\n\nThe other one is using [get_webhook_representation](https://github.com/apify/apify-client-python/blob/master/src/apify_client/clients/resource_clients/webhook.py#L24), for example in [WebhookClient.update](https://github.com/apify/apify-client-python/blob/master/src/apify_client/clients/resource_clients/webhook.py#L63).\n\nThis creates situation where same responsibility is handled in two different places and it can happen than one of the paths has issues that are already fixed in the other one. For example: https://github.com/apify/apify-client-python/pull/419","author":{"url":"https://github.com/Pijukatel","@type":"Person","name":"Pijukatel"},"datePublished":"2025-06-16T06:51:16Z","url":"https://github.com/apify/apify-client-python/issues/421"}
| 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:18f3fde4-1193-cd52-5058-928f958649cb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ECDE:28B001:14DAF0:1D3F38:6B005512 |
| html-safe-nonce | f73bf48227f219ec393b0f29554d30339c9091f4a70390b021f3aa77f9ad7b9c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0RFOjI4QjAwMToxNERBRjA6MUQzRjM4OjZCMDA1NTEyIiwidmlzaXRvcl9pZCI6IjMxOTkzMDA4NzY5Mjk4ODEzNjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 704a9082f83514af6729ddf9df931b7f51750e84241df950f6f49b64eb15605f |
| hovercard-subject-tag | issue:3148773369 |
| 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/421/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2b7c7281cf56336d0ddf29e45094d3a06ec44e31f3be7803c8d7d1f1605d920b/apify/apify-client-python/issues/421 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2b7c7281cf56336d0ddf29e45094d3a06ec44e31f3be7803c8d7d1f1605d920b/apify/apify-client-python/issues/421 |
| og:image:alt | Unify Webhook input sanitation and handling. Maybe with Pydantic? Context: Webhook inputs to the clients are now handled in different ways based on the client used. One path is using encode_webhook... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Pijukatel |
| 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