René's URL Explorer Experiment


Title: fix: Stop dataset iterators from skipping items when unwind is used by vdusek · Pull Request #1059 · apify/apify-client-python · GitHub

Open Graph Title: fix: Stop dataset iterators from skipping items when unwind is used by vdusek · Pull Request #1059 · apify/apify-client-python

X Title: fix: Stop dataset iterators from skipping items when unwind is used by vdusek · Pull Request #1059 · 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: Stop dataset iterators from skipping items when unwind is used by vdusek · Pull Request #1059 · apify/apify-client-python

Open Graph Description: What was wrong iterate_items advanced the dataset offset by max(scanned_rows, len(items)). With unwind, a page returns more items than the rows it scanned, so the offset jumped past rows the next r...

X Description: What was wrong iterate_items advanced the dataset offset by max(scanned_rows, len(items)). With unwind, a page returns more items than the rows it scanned, so the offset jumped past rows the next r...

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

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:86026319-8a40-d02a-9f6b-43f05e358a15
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9C64:43251:1F61204:29DD64E:6B004FFE
html-safe-nonce830237dddae09559109d29d49a127a733018bb06678e8b183117f7095945e652
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzY0OjQzMjUxOjFGNjEyMDQ6MjlERDY0RTo2QjAwNEZGRSIsInZpc2l0b3JfaWQiOiI1MTI4MzQyNzY3NDI4MTk0MzAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd9b1fe017a0f519eb2f8b0924c6bad9517ede5bad01f0f97c92dc8de21080809
hovercard-subject-tagpull_request:4495687206
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/1059/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/dbbacb69443b99b8f53574e0ff14b35eba844b464a9df8afa1b3d5e4d7f196d3/apify/apify-client-python/pull/1059
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/dbbacb69443b99b8f53574e0ff14b35eba844b464a9df8afa1b3d5e4d7f196d3/apify/apify-client-python/pull/1059
og:image:altWhat was wrong iterate_items advanced the dataset offset by max(scanned_rows, len(items)). With unwind, a page returns more items than the rows it scanned, so the offset jumped past rows the next r...
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/1059#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fapify-client-python%2Fpull%2F1059
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%2F1059
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/1059
Reloadhttps://github.com/apify/apify-client-python/pull/1059
Reloadhttps://github.com/apify/apify-client-python/pull/1059
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/1058-unwind-offset-advancehttps://github.com/apify/apify-client-python/tree/fix/1058-unwind-offset-advance
Conversationhttps://github.com/apify/apify-client-python/pull/1059
Commits6 (6)https://github.com/apify/apify-client-python/pull/1059/commits
Checkshttps://github.com/apify/apify-client-python/pull/1059/checks
Files changedhttps://github.com/apify/apify-client-python/pull/1059/files
fix: Stop dataset iterators from skipping items when unwind is usedhttps://github.com/apify/apify-client-python/pull/1059#top
vdusekhttps://github.com/vdusek
masterhttps://github.com/apify/apify-client-python/tree/master
fix/1058-unwind-offset-advancehttps://github.com/apify/apify-client-python/tree/fix/1058-unwind-offset-advance
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Sep 10, 2026https://github.com/apify/apify-client-python/pull/1059#issue-5412200125
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1059
apify-client-js#1044https://github.com/apify/apify-client-js/pull/1044
#1058https://github.com/apify/apify-client-python/issues/1058
#1058https://github.com/apify/apify-client-python/issues/1058
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1059
https://github.com/vdusek
fix: Stop dataset iterators from skipping items when unwind is usedhttps://github.com/apify/apify-client-python/pull/1059/commits/d5025988d1b3295c8580c1077d6c087c96150a3e
d502598https://github.com/apify/apify-client-python/pull/1059/commits/d5025988d1b3295c8580c1077d6c087c96150a3e
#1058https://github.com/apify/apify-client-python/issues/1058
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Sep 10, 2026https://github.com/apify/apify-client-python/pull/1059#event-30901683632
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
149th sprint - Tooling teamhttps://github.com/apify/apify-client-python/milestone/767
Sep 10, 2026https://github.com/apify/apify-client-python/pull/1059#event-30901696934
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
tested https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3Atested
Sep 10, 2026https://github.com/apify/apify-client-python/pull/1059#event-30901697835
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Sep 10, 2026https://github.com/apify/apify-client-python/pull/1059#issuecomment-5618899525
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1059
Codecovhttps://app.codecov.io/gh/apify/apify-client-python/pull/1059?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
3e6f1eahttps://app.codecov.io/gh/apify/apify-client-python/commit/3e6f1eaac793f1d7f5ee09449027bc94dfafd7db?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
4cd1424https://app.codecov.io/gh/apify/apify-client-python/commit/4cd14247e8b7295c7f5bfb6568670f2e2d7bc3f6?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/1059/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/1059/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/1059/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/1059?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/1059
vdusekhttps://github.com/vdusek
September 10, 2026 16:53https://github.com/apify/apify-client-python/pull/1059#commits-pushed-f2f0927
https://github.com/vdusek
docs: Sharpen the pagination bookkeeping docstringshttps://github.com/apify/apify-client-python/pull/1059/commits/f2f0927c18324974d6ca3a2eb5d2bae50cbcfe53
f2f0927https://github.com/apify/apify-client-python/pull/1059/commits/f2f0927c18324974d6ca3a2eb5d2bae50cbcfe53
https://github.com/vdusek
docs: Correct what the pagination count and limit fields reporthttps://github.com/apify/apify-client-python/pull/1059/commits/4e6d8fb5be4412513e697ec267210dba273db09e
4e6d8fbhttps://github.com/apify/apify-client-python/pull/1059/commits/4e6d8fb5be4412513e697ec267210dba273db09e
https://github.com/vdusek
test: Cover unwound dataset iteration against the live APIhttps://github.com/apify/apify-client-python/pull/1059/commits/ff1148ff1e36c7d00d245860b37f9a4b465d929b
ff1148fhttps://github.com/apify/apify-client-python/pull/1059/commits/ff1148ff1e36c7d00d245860b37f9a4b465d929b
https://github.com/vdusek
vdusekhttps://github.com/vdusek
szaganekhttps://github.com/szaganek
code ownerhttps://github.com/apify/apify-client-python/blob/f52190d4d49042369c9c293475eebaa657766d6d/.github/CODEOWNERS#L4
September 10, 2026 15:09https://github.com/apify/apify-client-python/pull/1059#event-30911849662
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Pijukatelhttps://github.com/Pijukatel
September 10, 2026 15:11https://github.com/apify/apify-client-python/pull/1059#event-30911910771
https://github.com/Pijukatel
Pijukatelhttps://github.com/Pijukatel
Sep 11, 2026 https://github.com/apify/apify-client-python/pull/1059#pullrequestreview-5175790605
View reviewed changes https://github.com/apify/apify-client-python/pull/1059/files/ff1148ff1e36c7d00d245860b37f9a4b465d929b
src/apify_client/_pagination.pyhttps://github.com/apify/apify-client-python/pull/1059/files/ff1148ff1e36c7d00d245860b37f9a4b465d929b#diff-4824ce0c617021adff2be6faff58a619d4fa1b719061602a786876655de88c3d
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1059
vdusekhttps://github.com/vdusek
September 11, 2026 11:46https://github.com/apify/apify-client-python/pull/1059#commits-pushed-2f26eb9
https://github.com/vdusek
docs: Spell out why cursor iteration can stop on the cursor alonehttps://github.com/apify/apify-client-python/pull/1059/commits/2f26eb930cae01636b9288b197da26c179814fd6
2f26eb9https://github.com/apify/apify-client-python/pull/1059/commits/2f26eb930cae01636b9288b197da26c179814fd6
https://github.com/vdusek
docs: Restructure the cursor iterator docstringhttps://github.com/apify/apify-client-python/pull/1059/commits/4cd14247e8b7295c7f5bfb6568670f2e2d7bc3f6
4cd1424https://github.com/apify/apify-client-python/pull/1059/commits/4cd14247e8b7295c7f5bfb6568670f2e2d7bc3f6
https://github.com/Pijukatel
Pijukatelhttps://github.com/Pijukatel
Sep 11, 2026 https://github.com/apify/apify-client-python/pull/1059#pullrequestreview-5178851132
View reviewed changes https://github.com/apify/apify-client-python/pull/1059/files/4cd14247e8b7295c7f5bfb6568670f2e2d7bc3f6
https://github.com/vdusek
vdusekhttps://github.com/vdusek
8e30197https://github.com/apify/apify-client-python/commit/8e301977ecb80b7c01251cacf071a3f6201469ba
Sep 11, 2026https://github.com/apify/apify-client-python/pull/1059#event-30981682227
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1059
https://github.com/vdusek
vdusekhttps://github.com/vdusek
September 11, 2026 15:25https://github.com/apify/apify-client-python/pull/1059#event-30981684942
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%2F1059
https://github.com/Pijukatel
Pijukatel https://github.com/Pijukatel
https://github.com/apify/apify-client-python/pull/1059/files/4cd14247e8b7295c7f5bfb6568670f2e2d7bc3f6
https://github.com/szaganek
szaganek https://github.com/szaganek
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1059
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
149th sprint - Tooling team https://github.com/apify/apify-client-python/milestone/767
Dataset iterators skip items when unwind returns more items than the rows scanned https://github.com/apify/apify-client-python/issues/1058
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1059
https://github.com/vdusek
https://github.com/Pijukatel
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.