René's URL Explorer Experiment


Title: Support overriding API key at request-time by keyurva · Pull Request #283 · datacommonsorg/api-python · GitHub

Open Graph Title: Support overriding API key at request-time by keyurva · Pull Request #283 · datacommonsorg/api-python

X Title: Support overriding API key at request-time by keyurva · Pull Request #283 · datacommonsorg/api-python

Description: Adds ause_api_key context manager to override the API key for specific request scopes. Enables using different keys without re-instantiating the client, useful for multi-tenant applications (like h...

Open Graph Description: Adds ause_api_key context manager to override the API key for specific request scopes. Enables using different keys without re-instantiating the client, useful for multi-tenant applications (like h...

X Description: Adds ause_api_key context manager to override the API key for specific request scopes. Enables using different keys without re-instantiating the client, useful for multi-tenant applications (like h...

Opengraph URL: https://github.com/datacommonsorg/api-python/pull/283

X: @github

direct link

Domain: github.com

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:ffe60000-351c-8fc1-714f-4522330e2bcc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB844:1672C1:110F4AA:164357B:696B0FE3
html-safe-nonce91473a885c5d25c68fa37b97a3d5c482fe188d8e7e90835fde9754ee05521fa7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODQ0OjE2NzJDMToxMTBGNEFBOjE2NDM1N0I6Njk2QjBGRTMiLCJ2aXNpdG9yX2lkIjoiOTEzMTc0MDcwNjY1OTU2OTYzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3dece2146e5fbbf3d857e29973f1ac081423017cfd2290d7733c7680a06b4977
hovercard-subject-tagpull_request:3160824781
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/datacommonsorg/api-python/283/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9cddb3a2bf06b696ce633c3d2a3ddfc624275518e559dc97f95353abdc03c065/datacommonsorg/api-python/pull/283
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9cddb3a2bf06b696ce633c3d2a3ddfc624275518e559dc97f95353abdc03c065/datacommonsorg/api-python/pull/283
og:image:altAdds ause_api_key context manager to override the API key for specific request scopes. Enables using different keys without re-instantiating the client, useful for multi-tenant applications (like h...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekeyurva
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
go-importgithub.com/datacommonsorg/api-python git https://github.com/datacommonsorg/api-python.git
octolytics-dimension-user_id52017486
octolytics-dimension-user_logindatacommonsorg
octolytics-dimension-repository_id150300890
octolytics-dimension-repository_nwodatacommonsorg/api-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id150300890
octolytics-dimension-repository_network_root_nwodatacommonsorg/api-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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/datacommonsorg/api-python/pull/283#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdatacommonsorg%2Fapi-python%2Fpull%2F283
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2Fdatacommonsorg%2Fapi-python%2Fpull%2F283
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=datacommonsorg%2Fapi-python
Reloadhttps://github.com/datacommonsorg/api-python/pull/283
Reloadhttps://github.com/datacommonsorg/api-python/pull/283
Reloadhttps://github.com/datacommonsorg/api-python/pull/283
datacommonsorg https://github.com/datacommonsorg
api-pythonhttps://github.com/datacommonsorg/api-python
Notifications https://github.com/login?return_to=%2Fdatacommonsorg%2Fapi-python
Fork 45 https://github.com/login?return_to=%2Fdatacommonsorg%2Fapi-python
Star 99 https://github.com/login?return_to=%2Fdatacommonsorg%2Fapi-python
Code https://github.com/datacommonsorg/api-python
Issues 24 https://github.com/datacommonsorg/api-python/issues
Pull requests 5 https://github.com/datacommonsorg/api-python/pulls
Actions https://github.com/datacommonsorg/api-python/actions
Projects 0 https://github.com/datacommonsorg/api-python/projects
Wiki https://github.com/datacommonsorg/api-python/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/datacommonsorg/api-python/security
Please reload this pagehttps://github.com/datacommonsorg/api-python/pull/283
Insights https://github.com/datacommonsorg/api-python/pulse
Code https://github.com/datacommonsorg/api-python
Issues https://github.com/datacommonsorg/api-python/issues
Pull requests https://github.com/datacommonsorg/api-python/pulls
Actions https://github.com/datacommonsorg/api-python/actions
Projects https://github.com/datacommonsorg/api-python/projects
Wiki https://github.com/datacommonsorg/api-python/wiki
Security https://github.com/datacommonsorg/api-python/security
Insights https://github.com/datacommonsorg/api-python/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fdatacommonsorg%2Fapi-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fdatacommonsorg%2Fapi-python%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/datacommonsorg/api-python/pull/283#issue-comment-box
keyurvahttps://github.com/keyurva
datacommonsorg:masterhttps://github.com/datacommonsorg/api-python/tree/master
keyurva:per-request-keyhttps://github.com/keyurva/dc-api-python/tree/per-request-key
Support overriding API key at request-time https://github.com/datacommonsorg/api-python/pull/283#top
keyurvahttps://github.com/keyurva
datacommonsorg:masterhttps://github.com/datacommonsorg/api-python/tree/master
keyurva:per-request-keyhttps://github.com/keyurva/dc-api-python/tree/per-request-key
Conversation 12 https://github.com/datacommonsorg/api-python/pull/283
Commits 9 https://github.com/datacommonsorg/api-python/pull/283/commits
Checks 3 https://github.com/datacommonsorg/api-python/pull/283/checks
Files changed https://github.com/datacommonsorg/api-python/pull/283/files
Please reload this pagehttps://github.com/datacommonsorg/api-python/pull/283
https://github.co/hiddenchars
https://github.com/datacommonsorg/api-python/pull/{{ revealButtonHref }}
https://github.com/keyurva
keyurvahttps://github.com/keyurva
Jan 9, 2026https://github.com/datacommonsorg/api-python/pull/283#issue-3798274525
Please reload this pagehttps://github.com/datacommonsorg/api-python/pull/283
keyurvahttps://github.com/keyurva
January 8, 2026 14:20https://github.com/datacommonsorg/api-python/pull/283#commits-pushed-9fb521e
https://github.com/keyurva
Add context utility for request-time API keyshttps://github.com/datacommonsorg/api-python/pull/283/commits/9fb521e4b64faa57d638cc71e0affbd09cb44e92
9fb521ehttps://github.com/datacommonsorg/api-python/pull/283/commits/9fb521e4b64faa57d638cc71e0affbd09cb44e92
https://github.com/keyurva
Add tests for context API key utilityhttps://github.com/datacommonsorg/api-python/pull/283/commits/89b78b964d47c30790d939fe4265a4525adc2b0e
89b78b9https://github.com/datacommonsorg/api-python/pull/283/commits/89b78b964d47c30790d939fe4265a4525adc2b0e
https://github.com/keyurva
Use context API key in base API endpointhttps://github.com/datacommonsorg/api-python/pull/283/commits/a7ff930db37f76396a056439c61737a98ab0ed49
a7ff930https://github.com/datacommonsorg/api-python/pull/283/commits/a7ff930db37f76396a056439c61737a98ab0ed49
https://github.com/keyurva
Support optional API keyshttps://github.com/datacommonsorg/api-python/pull/283/commits/7fc300ceb63cd9d4d41bc29a2f363cc5650f25d4
7fc300chttps://github.com/datacommonsorg/api-python/pull/283/commits/7fc300ceb63cd9d4d41bc29a2f363cc5650f25d4
https://github.com/keyurva
Propagate API key context to graph worker threadshttps://github.com/datacommonsorg/api-python/pull/283/commits/7074bd8a5174de6caac28b2b4a8e3cb43e924488
7074bd8https://github.com/datacommonsorg/api-python/pull/283/commits/7074bd8a5174de6caac28b2b4a8e3cb43e924488
https://github.com/keyurva
Fix context propagation in NodeEndpoint and add integration testshttps://github.com/datacommonsorg/api-python/pull/283/commits/102cc52c77337e9f58677febe55738aafd7d7287
102cc52https://github.com/datacommonsorg/api-python/pull/283/commits/102cc52c77337e9f58677febe55738aafd7d7287
https://github.com/keyurva
Format fileshttps://github.com/datacommonsorg/api-python/pull/283/commits/7697c25a019436f4bca60c23d108287c58c747ea
7697c25https://github.com/datacommonsorg/api-python/pull/283/commits/7697c25a019436f4bca60c23d108287c58c747ea
https://github.com/keyurva
keyurvahttps://github.com/keyurva
clincoln8https://github.com/clincoln8
gmechalihttps://github.com/gmechali
January 9, 2026 20:32https://github.com/datacommonsorg/api-python/pull/283#event-21955453880
https://github.com/apps/gemini-code-assist
gemini-code-assisthttps://github.com/apps/gemini-code-assist
Jan 9, 2026https://github.com/datacommonsorg/api-python/pull/283#issuecomment-3730480468
@keyurvahttps://github.com/keyurva
1https://github.com/datacommonsorg/api-python/pull/283#user-content-fn-1-0666884964a54bd2bdf351754de3ea21
herehttps://codeassist.google/code-review/login
documentation pagehttps://developers.google.com/gemini-code-assist/docs/review-github-code
@gemini-code-assisthttps://github.com/gemini-code-assist
herehttps://developers.google.com/gemini-code-assist/docs/customize-gemini-behavior-github
@gemini-code-assisthttps://github.com/gemini-code-assist
herehttps://google.qualtrics.com/jfe/form/SV_2cyuGuTWsEw84yG
Gemini Code Assist IDE Extensionhttps://cloud.google.com/products/gemini/code-assist
Privacy Noticeshttps://policies.google.com/privacy
Generative AI Prohibited Use Policyhttps://policies.google.com/terms/generative-ai/use-policy
Terms of Servicehttps://policies.google.com/terms
herehttps://developers.google.com/gemini-code-assist/docs/customize-gemini-behavior-github
use code with cautionhttps://support.google.com/legal/answer/13505487
https://github.com/datacommonsorg/api-python/pull/283#user-content-fnref-1-0666884964a54bd2bdf351754de3ea21
Please reload this pagehttps://github.com/datacommonsorg/api-python/pull/283
https://github.com/apps/gemini-code-assist
gemini-code-assisthttps://github.com/apps/gemini-code-assist
Jan 9, 2026 https://github.com/datacommonsorg/api-python/pull/283#pullrequestreview-3645493340
View reviewed changes https://github.com/datacommonsorg/api-python/pull/283/files/7697c25a019436f4bca60c23d108287c58c747ea
gemini-code-assisthttps://github.com/apps/gemini-code-assist
https://github.com/datacommonsorg/api-python/pull/283#pullrequestreview-3645493340
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/datacommonsorg/api-python/pull/283
datacommons_client/endpoints/node.pyhttps://github.com/datacommonsorg/api-python/pull/283/files/7697c25a019436f4bca60c23d108287c58c747ea#diff-eaab813e8b788ec171f0c4febfe77941b0a7cc1ee7d492460b10dd26a947dbec
Please reload this pagehttps://github.com/datacommonsorg/api-python/pull/283
datacommons_client/tests/test_context.pyhttps://github.com/datacommonsorg/api-python/pull/283/files/7697c25a019436f4bca60c23d108287c58c747ea#diff-af9dc40f348abc6dcdfa25ef8093d5a61cf7a298fa1526bc1a1c602347cb5cf7
Please reload this pagehttps://github.com/datacommonsorg/api-python/pull/283
https://github.com/keyurva
Address gemini commentshttps://github.com/datacommonsorg/api-python/pull/283/commits/1c404fcd4d8a5bccdcd37a8845dd9e36f182c791
1c404fchttps://github.com/datacommonsorg/api-python/pull/283/commits/1c404fcd4d8a5bccdcd37a8845dd9e36f182c791
https://github.com/clincoln8
clincoln8https://github.com/clincoln8
Jan 10, 2026 https://github.com/datacommonsorg/api-python/pull/283#pullrequestreview-3645998310
View reviewed changes https://github.com/datacommonsorg/api-python/pull/283/files/1c404fcd4d8a5bccdcd37a8845dd9e36f182c791
clincoln8https://github.com/clincoln8
https://github.com/datacommonsorg/api-python/pull/283#pullrequestreview-3645998310
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/datacommonsorg/api-python/pull/283
datacommons_client/endpoints/base.pyhttps://github.com/datacommonsorg/api-python/pull/283/files/1c404fcd4d8a5bccdcd37a8845dd9e36f182c791#diff-a91f2f9bd858e93e6faee9f4ef4c0957144f53f299d7f32bdebc1cc07c0d4395
Please reload this pagehttps://github.com/datacommonsorg/api-python/pull/283
datacommons_client/utils/context.pyhttps://github.com/datacommonsorg/api-python/pull/283/files/1c404fcd4d8a5bccdcd37a8845dd9e36f182c791#diff-fb18d74e72836303cf55a88e89cc86afdb446e013443042f80cd59e8a31372c7
Please reload this pagehttps://github.com/datacommonsorg/api-python/pull/283
https://github.com/keyurva
Address review commentshttps://github.com/datacommonsorg/api-python/pull/283/commits/72e9b0c04bb8744284a7d524ed73ae91d97276cb
72e9b0chttps://github.com/datacommonsorg/api-python/pull/283/commits/72e9b0c04bb8744284a7d524ed73ae91d97276cb
https://github.com/keyurva
keyurvahttps://github.com/keyurva
Jan 11, 2026 https://github.com/datacommonsorg/api-python/pull/283#pullrequestreview-3647354253
View reviewed changes https://github.com/datacommonsorg/api-python/pull/283/files/1c404fcd4d8a5bccdcd37a8845dd9e36f182c791
keyurvahttps://github.com/keyurva
https://github.com/datacommonsorg/api-python/pull/283#pullrequestreview-3647354253
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/datacommonsorg/api-python/blob/master/docs/release.mdhttps://github.com/datacommonsorg/api-python/blob/master/docs/release.md
@kmoscoehttps://github.com/kmoscoe
Please reload this pagehttps://github.com/datacommonsorg/api-python/pull/283
datacommons_client/endpoints/base.pyhttps://github.com/datacommonsorg/api-python/pull/283/files/1c404fcd4d8a5bccdcd37a8845dd9e36f182c791#diff-a91f2f9bd858e93e6faee9f4ef4c0957144f53f299d7f32bdebc1cc07c0d4395
Please reload this pagehttps://github.com/datacommonsorg/api-python/pull/283
datacommons_client/utils/context.pyhttps://github.com/datacommonsorg/api-python/pull/283/files/1c404fcd4d8a5bccdcd37a8845dd9e36f182c791#diff-fb18d74e72836303cf55a88e89cc86afdb446e013443042f80cd59e8a31372c7
Please reload this pagehttps://github.com/datacommonsorg/api-python/pull/283
https://github.com/keyurva
keyurvahttps://github.com/keyurva
e39f887https://github.com/datacommonsorg/api-python/commit/e39f88728903202634f497166987e003cb13b6c2
Jan 11, 2026https://github.com/datacommonsorg/api-python/pull/283#event-21967459655
Please reload this pagehttps://github.com/datacommonsorg/api-python/pull/283
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdatacommonsorg%2Fapi-python%2Fpull%2F283
https://github.com/clincoln8
clincoln8 https://github.com/clincoln8
https://github.com/datacommonsorg/api-python/pull/283/files/1c404fcd4d8a5bccdcd37a8845dd9e36f182c791
https://github.com/gmechali
gmechali https://github.com/gmechali
https://github.com/apps/gemini-code-assist
gemini-code-assist[bot] https://github.com/apps/gemini-code-assist
https://github.com/datacommonsorg/api-python/pull/283/files/7697c25a019436f4bca60c23d108287c58c747ea
Please reload this pagehttps://github.com/datacommonsorg/api-python/pull/283
https://github.com/keyurva
https://github.com/clincoln8
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.