René's URL Explorer Experiment


Title: Issue · GitHub

Open Graph Title: Issue · flattrade/pythonAPI

X Title: Issue · flattrade/pythonAPI

Description: Contribute to flattrade/pythonAPI development by creating an account on GitHub.

Open Graph Description: Contribute to flattrade/pythonAPI development by creating an account on GitHub.

X Description: Contribute to flattrade/pythonAPI development by creating an account on GitHub.

Opengraph URL: https://github.com/flattrade/pythonAPI

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"place_basket: try/except outside for-loop drops all but last future result","articleBody":"## Problem\r\n`place_basket` in `api_helper.py` appends only the last future's result to `result`; all other order responses are silently discarded.\r\n\r\n## Cite\r\n`api_helper.py` lines 55-63. The `for future in concurrent.futures.as_completed(...)` body is only line 56 (`url = future_to_url[future]`). The `try/except/else` block at lines 57-63 is dedented one level, so it executes once after the loop, using the last-bound `future` from the loop variable.\r\n\r\n```python\r\nfor future in concurrent.futures.as_completed(future_to_url):\r\n    url = future_to_url[future]\r\ntry:\r\n    result.append(future.result())\r\nexcept Exception as exc:\r\n    ...\r\n```\r\n\r\n## Expected\r\nOne appended result (and `resp_ok`/`resp_err` increment) per submitted order.\r\n\r\n## Actual\r\n`len(result) == 1` regardless of `len(orders)`. `resp_ok`/`resp_err` computed but never returned, and only reflect one future.\r\n\r\n## Fix\r\nIndent lines 57-63 into the `for` body.\r\n\r\n## Environment\r\nRepo `main` @ commit HEAD 2026-04-16; `requirements.txt` pins `norenrestapi-0.0.30`, `pandas`, `requests`, `websocket_client`, `pyyaml`. Python 3.x.\r\n\r\nThanks for maintaining flattrade/pythonAPI!","author":{"url":"https://github.com/chirag127","@type":"Person","name":"chirag127"},"datePublished":"2026-07-04T06:04:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/21/pythonAPI/issues/21"}

route-pattern/:user_id/:repository/issues/:id(.:format)
route-controllerissues
route-actionshow
fetch-noncev2:0c552b15-5113-b211-0ce3-4aabf5796c1d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8C3E:9CFFD:43A30DA:5EB2F1D:6A5FBB21
html-safe-nonce8ae50f0b8d1b5bb0ca5089f942dcb09023cb69ef7359c38434081bd5f14f4ad2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzNFOjlDRkZEOjQzQTMwREE6NUVCMkYxRDo2QTVGQkIyMSIsInZpc2l0b3JfaWQiOiI0NDY5NzAxNzkzMDQ1MDAzMDQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac443d585c578fe9141518fa29afa0432f57992bb82841b595ae2f96b6f87ee7c1
hovercard-subject-tagrepository:523390098
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///issues/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/flattrade/pythonAPI/issues/21
twitter:imagehttps://opengraph.githubassets.com/deaab42cd2b1e5c9e43ed07dadbd0d2236f026e100ffe45aed7dcbcf4b2b069e/flattrade/pythonAPI
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/deaab42cd2b1e5c9e43ed07dadbd0d2236f026e100ffe45aed7dcbcf4b2b069e/flattrade/pythonAPI
og:image:altContribute to flattrade/pythonAPI development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonee0cfc367faf9c4c774d2a903897aa214c786247c4f45ffcee48cda2b819fb0c8
turbo-cache-controlno-cache
go-importgithub.com/flattrade/pythonAPI git https://github.com/flattrade/pythonAPI.git
octolytics-dimension-user_id101879416
octolytics-dimension-user_loginflattrade
octolytics-dimension-repository_id523390098
octolytics-dimension-repository_nwoflattrade/pythonAPI
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id523390098
octolytics-dimension-repository_network_root_nwoflattrade/pythonAPI
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
release94569c859bc88d6bf7de7e0ce3f2a11cd529a131
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/flattrade/pythonAPI/issues/21#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fflattrade%2FpythonAPI%2Fissues%2F21
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fflattrade%2FpythonAPI%2Fissues%2F21
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fissues%2Fshow&source=header-repo&source_repo=flattrade%2FpythonAPI
Reloadhttps://github.com/flattrade/pythonAPI/issues/21
Reloadhttps://github.com/flattrade/pythonAPI/issues/21
Reloadhttps://github.com/flattrade/pythonAPI/issues/21
flattrade https://github.com/flattrade
pythonAPIhttps://github.com/flattrade/pythonAPI
Notifications https://github.com/login?return_to=%2Fflattrade%2FpythonAPI
Fork 32 https://github.com/login?return_to=%2Fflattrade%2FpythonAPI
Star 43 https://github.com/login?return_to=%2Fflattrade%2FpythonAPI
Code https://github.com/flattrade/pythonAPI
Issues 17 https://github.com/flattrade/pythonAPI/issues
Pull requests 0 https://github.com/flattrade/pythonAPI/pulls
Actions https://github.com/flattrade/pythonAPI/actions
Projects https://github.com/flattrade/pythonAPI/projects
Security and quality 0 https://github.com/flattrade/pythonAPI/security
Insights https://github.com/flattrade/pythonAPI/pulse
Code https://github.com/flattrade/pythonAPI
Issues https://github.com/flattrade/pythonAPI/issues
Pull requests https://github.com/flattrade/pythonAPI/pulls
Actions https://github.com/flattrade/pythonAPI/actions
Projects https://github.com/flattrade/pythonAPI/projects
Security and quality https://github.com/flattrade/pythonAPI/security
Insights https://github.com/flattrade/pythonAPI/pulse
place_basket: try/except outside for-loop drops all but last future resulthttps://github.com/flattrade/pythonAPI/issues/21#top
https://github.com/chirag127
chirag127https://github.com/chirag127
on Jul 4, 2026https://github.com/flattrade/pythonAPI/issues/21#issue-4807872916
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.