René's URL Explorer Experiment


Title: fix: Raise `ResponseValidationError` when an API response does not match its model by emreocell · Pull Request #1243 · apify/apify-client-python · GitHub

Open Graph Title: fix: Raise `ResponseValidationError` when an API response does not match its model by emreocell · Pull Request #1243 · apify/apify-client-python

X Title: fix: Raise `ResponseValidationError` when an API response does not match its model by emreocell · Pull Request #1243 · apify/apify-client-python

Description: Apify API client for Python—Programmatically run Actors, manage and stream data from storages (datasets, key-value stores, request queues), schedule and monitor runs, and access the full Apify platform API. Sync and async interfaces with automatic retries and pagination. - fix: Raise `ResponseValidationError` when an API response does not match its model by emreocell · Pull Request #1243 · apify/apify-client-python

Open Graph Description: Fixes #1170 Problem Resource methods turn API responses into models with <Model>.model_validate(...). A response that does not match the model raises a bare pydantic.ValidationError. It does ...

X Description: Fixes #1170 Problem Resource methods turn API responses into models with &lt;Model&gt;.model_validate(...). A response that does not match the model raises a bare pydantic.ValidationError. ...

Opengraph URL: https://github.com/apify/apify-client-python/pull/1243

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:6346b116-98d7-980f-de5b-946635d7b8b6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD600:1AEC58:D2A0EF:119FA2B:6B0052FC
html-safe-nonce750565b9f4a83fb7c598ea76906897483325acc8e00b5c171e64e3a4e9b639db
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjAwOjFBRUM1ODpEMkEwRUY6MTE5RkEyQjo2QjAwNTJGQyIsInZpc2l0b3JfaWQiOiI0NDc5NTQ2OTEwMzY0OTQ3MTk2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc004c958703daefccd61005b8dbc12291d83ed2d57245751b8c89892491d21a2
hovercard-subject-tagpull_request:5380486516
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/apify/apify-client-python/1243/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6016bd9802b0300e85e04aa736781fcf3f044558ea2a166febad0d8bd63a427a/apify/apify-client-python/pull/1243
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6016bd9802b0300e85e04aa736781fcf3f044558ea2a166febad0d8bd63a427a/apify/apify-client-python/pull/1243
og:image:altFixes #1170 Problem Resource methods turn API responses into models with <Model>.model_validate(...). A response that does not match the model raises a bare pydantic.ValidationError. It does ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameemreocell
hostnamegithub.com
expected-hostnamegithub.com
Nonef420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb
turbo-cache-controlno-cache
go-importgithub.com/apify/apify-client-python git https://github.com/apify/apify-client-python.git
octolytics-dimension-user_id24586296
octolytics-dimension-user_loginapify
octolytics-dimension-repository_id164647835
octolytics-dimension-repository_nwoapify/apify-client-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id164647835
octolytics-dimension-repository_network_root_nwoapify/apify-client-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release26e00df917aba0f128135dc073ea0c5e33a70d40
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/apify/apify-client-python/pull/1243#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fapify-client-python%2Fpull%2F1243
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fapify-client-python%2Fpull%2F1243
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=apify%2Fapify-client-python
Reloadhttps://github.com/apify/apify-client-python/pull/1243
Reloadhttps://github.com/apify/apify-client-python/pull/1243
Reloadhttps://github.com/apify/apify-client-python/pull/1243
apifyhttps://github.com/apify
apify-client-pythonhttps://github.com/apify/apify-client-python
Codehttps://github.com/apify/apify-client-python
Issues12 (12)https://github.com/apify/apify-client-python/issues
Pull requests2 (2)https://github.com/apify/apify-client-python/pulls
Discussionshttps://github.com/apify/apify-client-python/discussions
Actionshttps://github.com/apify/apify-client-python/actions
Security and qualityhttps://github.com/apify/apify-client-python/security
Insightshttps://github.com/apify/apify-client-python/insights
https://github.com/apify/apify-client-python
emreocellhttps://github.com/emreocell
apify:masterhttps://github.com/apify/apify-client-python/tree/master
emreocell:fix/response-validation-errorhttps://github.com/emreocell/apify-client-python/tree/fix/response-validation-error
Conversationhttps://github.com/apify/apify-client-python/pull/1243
Commits2 (2)https://github.com/apify/apify-client-python/pull/1243/commits
Checkshttps://github.com/apify/apify-client-python/pull/1243/checks
Files changedhttps://github.com/apify/apify-client-python/pull/1243/files
fix: Raise ResponseValidationError when an API response does not match its modelhttps://github.com/apify/apify-client-python/pull/1243#top
emreocellhttps://github.com/emreocell
apify:masterhttps://github.com/apify/apify-client-python/tree/master
emreocell:fix/response-validation-errorhttps://github.com/emreocell/apify-client-python/tree/fix/response-validation-error
https://github.com/emreocell
emreocellhttps://github.com/emreocell
Nov 18, 2026https://github.com/apify/apify-client-python/pull/1243#issue-6472472979
#1170https://github.com/apify/apify-client-python/issues/1170
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1243
https://github.com/emreocell
fix: raise ResponseValidationError when an API response does not ma…https://github.com/apify/apify-client-python/pull/1243/commits/08f8c79108922179c3d919db9db5a52ad0340f69
08f8c79https://github.com/apify/apify-client-python/pull/1243/commits/08f8c79108922179c3d919db9db5a52ad0340f69
apify#1170https://github.com/apify/apify-client-python/issues/1170
https://github.com/emreocell
emreocellhttps://github.com/emreocell
szaganekhttps://github.com/szaganek
code ownerhttps://github.com/apify/apify-client-python/blob/1bce0df3bff833d259092769d7ae011ede64e1bd/.github/CODEOWNERS#L4
November 18, 2026 17:03https://github.com/apify/apify-client-python/pull/1243#event-36555604667
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
November 18, 2026 17:03https://github.com/apify/apify-client-python/pull/1243#event-36555606661
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Nov 18, 2026 https://github.com/apify/apify-client-python/pull/1243#pullrequestreview-5961397968
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/apify/apify-client-python/pull/1243#pullrequestreview-5961397968
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1243
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
t-tooling https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3At-tooling
Nov 18, 2026https://github.com/apify/apify-client-python/pull/1243#event-36555637949
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Nov 20, 2026https://github.com/apify/apify-client-python/pull/1243#event-36746880000
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Nov 20, 2026 https://github.com/apify/apify-client-python/pull/1243#pullrequestreview-5989886075
View reviewed changes https://github.com/apify/apify-client-python/pull/1243/files/08f8c79108922179c3d919db9db5a52ad0340f69
src/apify_client/_utils/http.pyhttps://github.com/apify/apify-client-python/pull/1243/files/08f8c79108922179c3d919db9db5a52ad0340f69#diff-d0f7ae6dd41f696608564e93a83582fad4c6bf45f90bd1c0e27e0cb1b0f47e5d
vdusekhttps://github.com/vdusek
Nov 20, 2026https://github.com/apify/apify-client-python/pull/1243#discussion_r4640367304
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1243
src/apify_client/_utils/http.pyhttps://github.com/apify/apify-client-python/pull/1243/files/08f8c79108922179c3d919db9db5a52ad0340f69#diff-d0f7ae6dd41f696608564e93a83582fad4c6bf45f90bd1c0e27e0cb1b0f47e5d
vdusekhttps://github.com/vdusek
Nov 20, 2026https://github.com/apify/apify-client-python/pull/1243#discussion_r4640367313
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1243
docs/02_concepts/04_error_handling.mdxhttps://github.com/apify/apify-client-python/pull/1243/files/08f8c79108922179c3d919db9db5a52ad0340f69#diff-23c9087023e2954b01c7b75d9267f0f00451913fe9bb3b4f46004df9d5a56a4f
vdusekhttps://github.com/vdusek
Nov 20, 2026https://github.com/apify/apify-client-python/pull/1243#discussion_r4640367320
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1243
tests/unit/test_response_validation.pyhttps://github.com/apify/apify-client-python/pull/1243/files/08f8c79108922179c3d919db9db5a52ad0340f69#diff-124ca9637a4741d4f1a5dfec7522a69a2f8db830c303f6ca724d70dc65887479
vdusekhttps://github.com/vdusek
Nov 20, 2026https://github.com/apify/apify-client-python/pull/1243#discussion_r4640367330
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1243
https://github.com/vdusek
vdusekhttps://github.com/vdusek
apify-factoryhttps://github.com/apify-factory
November 20, 2026 08:56https://github.com/apify/apify-client-python/pull/1243#event-36750238561
https://github.com/apify-factory
apify-factoryhttps://github.com/apify-factory
Nov 20, 2026 https://github.com/apify/apify-client-python/pull/1243#pullrequestreview-5989968259
View reviewed changes https://github.com/apify/apify-client-python/pull/1243/files/08f8c79108922179c3d919db9db5a52ad0340f69
apify-factoryhttps://github.com/apify-factory
https://github.com/apify/apify-client-python/pull/1243#pullrequestreview-5989968259
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@apify-factoryhttps://github.com/apify-factory
Review details on the dashboardhttps://internal-apps--ai-developer-dashboard.apify.actor/runs/0mwoqws4o1bae541bb6c8
workflow runhttps://github.com/apify/apify-client-python/actions/runs/44706585501
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1243
src/apify_client/errors.pyhttps://github.com/apify/apify-client-python/pull/1243/files/08f8c79108922179c3d919db9db5a52ad0340f69#diff-55fe2a77fe107a8edb3981f2e432531ac951ab727a9f50c26d2afc541265a840
apify-factoryhttps://github.com/apify-factory
Nov 20, 2026https://github.com/apify/apify-client-python/pull/1243#discussion_r4640424426
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1243
https://github.com/emreocell
fix: name the ResponseValidationError method attribute http_methodhttps://github.com/apify/apify-client-python/pull/1243/commits/06462486f631f8ef7d3c102835c82b3b46c9ad59
0646248https://github.com/apify/apify-client-python/pull/1243/commits/06462486f631f8ef7d3c102835c82b3b46c9ad59
https://github.com/emreocell
emreocellhttps://github.com/emreocell
vdusekhttps://github.com/vdusek
November 20, 2026 11:16https://github.com/apify/apify-client-python/pull/1243#event-36761967806
https://github.co/hiddenchars
https://github.com/apify/apify-client-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fapify-client-python%2Fpull%2F1243
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/apify/apify-client-python/pull/1243/files/08f8c79108922179c3d919db9db5a52ad0340f69
https://github.com/apify-factory
apify-factory https://github.com/apify-factory
https://github.com/apify/apify-client-python/pull/1243/files/08f8c79108922179c3d919db9db5a52ad0340f69
https://github.com/szaganek
szaganek https://github.com/szaganek
https://github.com/vdusek
vdusek https://github.com/vdusek
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1243
t-tooling https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3At-tooling
Response validation raises a raw pydantic ValidationError that is not an ApifyClientError https://github.com/apify/apify-client-python/issues/1170
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1243
https://github.com/emreocell
https://github.com/vdusek
https://github.com/apps/copilot-pull-request-reviewer
https://github.com/apify-factory
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.