René's URL Explorer Experiment


Title: fix: allow `max_retries=0` to disable retries by vdusek · Pull Request #1142 · apify/apify-client-python · GitHub

Open Graph Title: fix: allow `max_retries=0` to disable retries by vdusek · Pull Request #1142 · apify/apify-client-python

X Title: fix: allow `max_retries=0` to disable retries by vdusek · Pull Request #1142 · 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: allow `max_retries=0` to disable retries by vdusek · Pull Request #1142 · apify/apify-client-python

Open Graph Description: max_retries counts retries, so 0 should mean a single attempt. Instead, every request with max_retries=0 raised ValueError from the retry loop. Now 0 disables retries, and a negative value raises V...

X Description: max_retries counts retries, so 0 should mean a single attempt. Instead, every request with max_retries=0 raised ValueError from the retry loop. Now 0 disables retries, and a negative value raises V...

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

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:0aa2d5bb-b7c6-1f82-b6db-862369623333
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEC7E:3E7030:BD23DF:FDC72A:6B005009
html-safe-nonce12eace8e9d6e8126ac372cfbd146002cbceef5daae9869778d4db209de99bd03
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzdFOjNFNzAzMDpCRDIzREY6RkRDNzJBOjZCMDA1MDA5IiwidmlzaXRvcl9pZCI6IjE0NTQ1Njg2MDM0NDg5NzU0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac49a54f2873bc09886eef39c2dc14beef303f5702dd67a0b8cbc8e6d72facc47d
hovercard-subject-tagpull_request:4887470449
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/1142/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9af92fe453a10b277deb47c0b967755d3910ba3cadcab65311d1548fb1ee2bd1/apify/apify-client-python/pull/1142
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9af92fe453a10b277deb47c0b967755d3910ba3cadcab65311d1548fb1ee2bd1/apify/apify-client-python/pull/1142
og:image:altmax_retries counts retries, so 0 should mean a single attempt. Instead, every request with max_retries=0 raised ValueError from the retry loop. Now 0 disables retries, and a negative value raises V...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevdusek
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/1142#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fapify-client-python%2Fpull%2F1142
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%2F1142
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/1142
Reloadhttps://github.com/apify/apify-client-python/pull/1142
Reloadhttps://github.com/apify/apify-client-python/pull/1142
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
vdusekhttps://github.com/vdusek
masterhttps://github.com/apify/apify-client-python/tree/master
fix/max-retries-zerohttps://github.com/apify/apify-client-python/tree/fix/max-retries-zero
Conversationhttps://github.com/apify/apify-client-python/pull/1142
Commits3 (3)https://github.com/apify/apify-client-python/pull/1142/commits
Checkshttps://github.com/apify/apify-client-python/pull/1142/checks
Files changedhttps://github.com/apify/apify-client-python/pull/1142/files
fix: allow max_retries=0 to disable retrieshttps://github.com/apify/apify-client-python/pull/1142#top
vdusekhttps://github.com/vdusek
masterhttps://github.com/apify/apify-client-python/tree/master
fix/max-retries-zerohttps://github.com/apify/apify-client-python/tree/fix/max-retries-zero
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Oct 16, 2026https://github.com/apify/apify-client-python/pull/1142#issue-5883089403
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1142
#604https://github.com/apify/apify-client-python/pull/604
#1139https://github.com/apify/apify-client-python/issues/1139
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1142
https://github.com/vdusek
fix: allow max_retries=0 to disable retrieshttps://github.com/apify/apify-client-python/pull/1142/commits/23192066811e3dd8882fcc52da096de542b1c235
2319206https://github.com/apify/apify-client-python/pull/1142/commits/23192066811e3dd8882fcc52da096de542b1c235
https://github.com/vdusek
vdusekhttps://github.com/vdusek
t-tooling https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3At-tooling
Oct 16, 2026https://github.com/apify/apify-client-python/pull/1142#event-33438367190
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Oct 16, 2026https://github.com/apify/apify-client-python/pull/1142#event-33438368823
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Oct 16, 2026https://github.com/apify/apify-client-python/pull/1142#issuecomment-6214174857
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1142
Codecovhttps://app.codecov.io/gh/apify/apify-client-python/pull/1142?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
53a9954https://app.codecov.io/gh/apify/apify-client-python/commit/53a99546156dca9249dbba29b746353f60bb1836?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
7f1153ahttps://app.codecov.io/gh/apify/apify-client-python/commit/7f1153af385430ccbf9a2e94b6f01fb980b0fd29?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
Flaghttps://app.codecov.io/gh/apify/apify-client-python/pull/1142/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
integrationhttps://app.codecov.io/gh/apify/apify-client-python/pull/1142/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
unithttps://app.codecov.io/gh/apify/apify-client-python/pull/1142/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
Click herehttps://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify#carryforward-flags-in-the-pull-request-comment
☔ View full report in Codecov by Harnesshttps://app.codecov.io/gh/apify/apify-client-python/pull/1142?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
Share it herehttps://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
Test Analyticshttps://docs.codecov.com/docs/test-analytics
JS Bundle Analysishttps://docs.codecov.com/docs/javascript-bundle-analysis
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1142
vdusekhttps://github.com/vdusek
October 16, 2026 13:25https://github.com/apify/apify-client-python/pull/1142#commits-pushed-6f315f1
https://github.com/vdusek
docs: note that max_retries=0 disables retrieshttps://github.com/apify/apify-client-python/pull/1142/commits/6f315f1b8de0cd236cea79bb53743e56e519a86d
6f315f1https://github.com/apify/apify-client-python/pull/1142/commits/6f315f1b8de0cd236cea79bb53743e56e519a86d
https://github.com/vdusek
test: use max_retries=0 where a single attempt is expectedhttps://github.com/apify/apify-client-python/pull/1142/commits/7f1153af385430ccbf9a2e94b6f01fb980b0fd29
7f1153ahttps://github.com/apify/apify-client-python/pull/1142/commits/7f1153af385430ccbf9a2e94b6f01fb980b0fd29
https://github.com/vdusek
vdusekhttps://github.com/vdusek
October 16, 2026 11:26https://github.com/apify/apify-client-python/pull/1142#event-33439752984
https://github.com/vdusek
vdusekhttps://github.com/vdusek
szaganekhttps://github.com/szaganek
code ownerhttps://github.com/apify/apify-client-python/blob/9fb576cfd2bea935f17691b95bc3d602dbde4b3d/.github/CODEOWNERS#L4
October 16, 2026 11:26https://github.com/apify/apify-client-python/pull/1142#event-33439754000
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Mantisushttps://github.com/Mantisus
Pijukatelhttps://github.com/Pijukatel
szaganekhttps://github.com/szaganek
October 16, 2026 11:26https://github.com/apify/apify-client-python/pull/1142#event-33439755223
https://github.com/apify-service-account
apify-service-accounthttps://github.com/apify-service-account
tested https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3Atested
Oct 16, 2026https://github.com/apify/apify-client-python/pull/1142#event-33439774352
https://github.com/Pijukatel
Pijukatelhttps://github.com/Pijukatel
Oct 16, 2026 https://github.com/apify/apify-client-python/pull/1142#pullrequestreview-5548177976
View reviewed changes https://github.com/apify/apify-client-python/pull/1142/files/7f1153af385430ccbf9a2e94b6f01fb980b0fd29
https://github.com/vdusek
vdusekhttps://github.com/vdusek
3b128d1https://github.com/apify/apify-client-python/commit/3b128d1f8481fdfe1107d7768b1dff9f9b80b94d
Oct 16, 2026https://github.com/apify/apify-client-python/pull/1142#event-33447321659
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1142
https://github.com/vdusek
vdusekhttps://github.com/vdusek
October 16, 2026 13:08https://github.com/apify/apify-client-python/pull/1142#event-33447325821
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Oct 30, 2026 https://github.com/apify/apify-client-python/pull/1142#ref-issue-6115038694
Reject empty IDs and invalid numeric arguments when the client is built #1178 https://github.com/apify/apify-client-python/issues/1178
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%2F1142
https://github.com/Pijukatel
Pijukatel https://github.com/Pijukatel
https://github.com/apify/apify-client-python/pull/1142/files/7f1153af385430ccbf9a2e94b6f01fb980b0fd29
https://github.com/Mantisus
Mantisus https://github.com/Mantisus
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1142
https://github.com/vdusek
vdusek https://github.com/vdusek
t-tooling https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3At-tooling
tested https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3Atested
max_retries=0 raises ValueError on every request https://github.com/apify/apify-client-python/issues/1139
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1142
https://github.com/vdusek
https://github.com/Pijukatel
https://github.com/apify-service-account
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.