René's URL Explorer Experiment


Title: fix: lazy-init boto3 clients in AIRHub to avoid NoRegionError at import time by aviruthen · Pull Request #5935 · aws/sagemaker-python-sdk · GitHub

Open Graph Title: fix: lazy-init boto3 clients in AIRHub to avoid NoRegionError at import time by aviruthen · Pull Request #5935 · aws/sagemaker-python-sdk

X Title: fix: lazy-init boto3 clients in AIRHub to avoid NoRegionError at import time by aviruthen · Pull Request #5935 · aws/sagemaker-python-sdk

Description: A library for training and deploying machine learning models on Amazon SageMaker - fix: lazy-init boto3 clients in AIRHub to avoid NoRegionError at import time by aviruthen · Pull Request #5935 · aws/sagemaker-python-sdk

Open Graph Description: Issue #, if available: Description of changes: The AIRHub class in sagemaker-train constructs boto3.client("sagemaker") and boto3.client("s3") as class-level attributes, which e...

X Description: Issue #, if available: Description of changes: The AIRHub class in sagemaker-train constructs boto3.client("sagemaker") and boto3.client("s3") as class-level att...

Opengraph URL: https://github.com/aws/sagemaker-python-sdk/pull/5935

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:b57f3f5f-0139-2faa-61da-9f921a709cda
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9560:39CFC7:22EF823:326A9F3:6A4D12FE
html-safe-noncefe5cadf4b1279857db22ff6104dd465ffee261e5222c01e2f87203ff8de094a8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTYwOjM5Q0ZDNzoyMkVGODIzOjMyNkE5RjM6NkE0RDEyRkUiLCJ2aXNpdG9yX2lkIjoiNjA0NjAwNzkxMzk5NzMxOTY2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac38221ef13024e6b5dd99da66c6a641f69f41d27257781265504c601a2b1241b8
hovercard-subject-tagpull_request:3826858983
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/aws/sagemaker-python-sdk/5935/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b4eb6c61d73a6cef00076200bf171f0dac06f226d7c1fa7c6a5a2fd2271a4dd8/aws/sagemaker-python-sdk/pull/5935
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b4eb6c61d73a6cef00076200bf171f0dac06f226d7c1fa7c6a5a2fd2271a4dd8/aws/sagemaker-python-sdk/pull/5935
og:image:altIssue #, if available: Description of changes: The AIRHub class in sagemaker-train constructs boto3.client("sagemaker") and boto3.client("s3") as class-level attributes, which e...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameaviruthen
hostnamegithub.com
expected-hostnamegithub.com
Nonef02420044fa3730a0607f4a52546bdd73f5ae60187ef57d284ecb6d7f3f1d880
turbo-cache-controlno-cache
go-importgithub.com/aws/sagemaker-python-sdk git https://github.com/aws/sagemaker-python-sdk.git
octolytics-dimension-user_id2232217
octolytics-dimension-user_loginaws
octolytics-dimension-repository_id110621895
octolytics-dimension-repository_nwoaws/sagemaker-python-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id110621895
octolytics-dimension-repository_network_root_nwoaws/sagemaker-python-sdk
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
releasef0b6a62c1f0be1086cb0b5b077b82cebe520eb42
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/aws/sagemaker-python-sdk/pull/5935#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Faws%2Fsagemaker-python-sdk%2Fpull%2F5935
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
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/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/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/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%2Faws%2Fsagemaker-python-sdk%2Fpull%2F5935
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=aws%2Fsagemaker-python-sdk
Reloadhttps://github.com/aws/sagemaker-python-sdk/pull/5935
Reloadhttps://github.com/aws/sagemaker-python-sdk/pull/5935
Reloadhttps://github.com/aws/sagemaker-python-sdk/pull/5935
Please reload this pagehttps://github.com/aws/sagemaker-python-sdk/pull/5935
aws https://github.com/aws
sagemaker-python-sdkhttps://github.com/aws/sagemaker-python-sdk
Notifications https://github.com/login?return_to=%2Faws%2Fsagemaker-python-sdk
Fork 1.3k https://github.com/login?return_to=%2Faws%2Fsagemaker-python-sdk
Star 2.3k https://github.com/login?return_to=%2Faws%2Fsagemaker-python-sdk
Code https://github.com/aws/sagemaker-python-sdk
Issues 299 https://github.com/aws/sagemaker-python-sdk/issues
Pull requests 161 https://github.com/aws/sagemaker-python-sdk/pulls
Discussions https://github.com/aws/sagemaker-python-sdk/discussions
Actions https://github.com/aws/sagemaker-python-sdk/actions
Projects https://github.com/aws/sagemaker-python-sdk/projects
Security and quality 7 https://github.com/aws/sagemaker-python-sdk/security
Insights https://github.com/aws/sagemaker-python-sdk/pulse
Code https://github.com/aws/sagemaker-python-sdk
Issues https://github.com/aws/sagemaker-python-sdk/issues
Pull requests https://github.com/aws/sagemaker-python-sdk/pulls
Discussions https://github.com/aws/sagemaker-python-sdk/discussions
Actions https://github.com/aws/sagemaker-python-sdk/actions
Projects https://github.com/aws/sagemaker-python-sdk/projects
Security and quality https://github.com/aws/sagemaker-python-sdk/security
Insights https://github.com/aws/sagemaker-python-sdk/pulse
aviruthenhttps://github.com/aviruthen
aws:masterhttps://github.com/aws/sagemaker-python-sdk/tree/master
aviruthen:fix/lazy-init-airhub-clientshttps://github.com/aviruthen/sagemaker-python-sdk/tree/fix/lazy-init-airhub-clients
Conversationhttps://github.com/aws/sagemaker-python-sdk/pull/5935
Commits2 (2)https://github.com/aws/sagemaker-python-sdk/pull/5935/commits
Checkshttps://github.com/aws/sagemaker-python-sdk/pull/5935/checks
Files changedhttps://github.com/aws/sagemaker-python-sdk/pull/5935/files
fix: lazy-init boto3 clients in AIRHub to avoid NoRegionError at import timehttps://github.com/aws/sagemaker-python-sdk/pull/5935#top
aviruthenhttps://github.com/aviruthen
aws:masterhttps://github.com/aws/sagemaker-python-sdk/tree/master
aviruthen:fix/lazy-init-airhub-clientshttps://github.com/aviruthen/sagemaker-python-sdk/tree/fix/lazy-init-airhub-clients
https://github.com/aviruthen
aviruthenhttps://github.com/aviruthen
Jun 8, 2026https://github.com/aws/sagemaker-python-sdk/pull/5935#issue-4616658123
Please reload this pagehttps://github.com/aws/sagemaker-python-sdk/pull/5935
https://github.com/aviruthen
fix: lazy-init boto3 clients in AIRHub to avoid NoRegionError at impo…https://github.com/aws/sagemaker-python-sdk/pull/5935/commits/aafee019c506baf84c18a09ce216e79cbcc33747
aafee01https://github.com/aws/sagemaker-python-sdk/pull/5935/commits/aafee019c506baf84c18a09ce216e79cbcc33747
https://github.com/aviruthen
aviruthenhttps://github.com/aviruthen
temporarily deployedhttps://github.com/aws/sagemaker-python-sdk/actions/runs/27167073741/job/80196922496
June 8, 2026 21:08https://github.com/aws/sagemaker-python-sdk/pull/5935#event-26492300910
GitHub Actionshttps://github.com/apps/github-actions
https://github.com/aviruthen
aviruthenhttps://github.com/aviruthen
temporarily deployedhttps://github.com/aws/sagemaker-python-sdk/actions/runs/27167073685/job/80196922810
June 8, 2026 21:08https://github.com/aws/sagemaker-python-sdk/pull/5935#event-26492300975
GitHub Actionshttps://github.com/apps/github-actions
https://github.com/zhaoqizqwang
zhaoqizqwanghttps://github.com/zhaoqizqwang
Jun 8, 2026 https://github.com/aws/sagemaker-python-sdk/pull/5935#pullrequestreview-4453499675
View reviewed changes https://github.com/aws/sagemaker-python-sdk/pull/5935/files/a60d19e3b6b7eac570b9119ad1d441957ba917aa
https://github.com/lucasjia-aws
lucasjia-awshttps://github.com/lucasjia-aws
Jun 8, 2026 https://github.com/aws/sagemaker-python-sdk/pull/5935#pullrequestreview-4453518087
View reviewed changes https://github.com/aws/sagemaker-python-sdk/pull/5935/files/a60d19e3b6b7eac570b9119ad1d441957ba917aa
https://github.com/mujtaba1747
mujtaba1747https://github.com/mujtaba1747
Jun 8, 2026 https://github.com/aws/sagemaker-python-sdk/pull/5935#pullrequestreview-4453559772
View reviewed changes https://github.com/aws/sagemaker-python-sdk/pull/5935/files/aafee019c506baf84c18a09ce216e79cbcc33747
sagemaker-train/src/sagemaker/ai_registry/air_hub.pyhttps://github.com/aws/sagemaker-python-sdk/pull/5935/files/aafee019c506baf84c18a09ce216e79cbcc33747#diff-5a55d44f2d1faafb8ff724430c7a0acb7bd227ed2d8f4cb2e1fc803a0dfd1161
mujtaba1747https://github.com/mujtaba1747
Jun 8, 2026https://github.com/aws/sagemaker-python-sdk/pull/5935#discussion_r3376465615
Please reload this pagehttps://github.com/aws/sagemaker-python-sdk/pull/5935
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/aws/sagemaker-python-sdk/pull/5935
https://github.com/mujtaba1747
mujtaba1747https://github.com/mujtaba1747
Jun 8, 2026 https://github.com/aws/sagemaker-python-sdk/pull/5935#pullrequestreview-4453582387
View reviewed changes https://github.com/aws/sagemaker-python-sdk/pull/5935/files/a60d19e3b6b7eac570b9119ad1d441957ba917aa
https://github.com/papriwal
papriwalhttps://github.com/papriwal
Jun 8, 2026 https://github.com/aws/sagemaker-python-sdk/pull/5935#pullrequestreview-4453594249
View reviewed changes https://github.com/aws/sagemaker-python-sdk/pull/5935/files/a60d19e3b6b7eac570b9119ad1d441957ba917aa
https://github.com/sagemaker-bot
sagemaker-bothttps://github.com/sagemaker-bot
Jun 11, 2026 https://github.com/aws/sagemaker-python-sdk/pull/5935#pullrequestreview-4479461765
View reviewed changes https://github.com/aws/sagemaker-python-sdk/pull/5935/files/aafee019c506baf84c18a09ce216e79cbcc33747
sagemaker-bothttps://github.com/sagemaker-bot
https://github.com/aws/sagemaker-python-sdk/pull/5935#pullrequestreview-4479461765
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/aws/sagemaker-python-sdk/pull/5935
sagemaker-train/src/sagemaker/ai_registry/air_hub.pyhttps://github.com/aws/sagemaker-python-sdk/pull/5935/files/aafee019c506baf84c18a09ce216e79cbcc33747#diff-5a55d44f2d1faafb8ff724430c7a0acb7bd227ed2d8f4cb2e1fc803a0dfd1161
sagemaker-bothttps://github.com/sagemaker-bot
Jun 11, 2026https://github.com/aws/sagemaker-python-sdk/pull/5935#discussion_r3398205675
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/aws/sagemaker-python-sdk/pull/5935
sagemaker-train/src/sagemaker/ai_registry/air_hub.pyhttps://github.com/aws/sagemaker-python-sdk/pull/5935/files/aafee019c506baf84c18a09ce216e79cbcc33747#diff-5a55d44f2d1faafb8ff724430c7a0acb7bd227ed2d8f4cb2e1fc803a0dfd1161
sagemaker-bothttps://github.com/sagemaker-bot
Jun 11, 2026https://github.com/aws/sagemaker-python-sdk/pull/5935#discussion_r3398205681
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/aws/sagemaker-python-sdk/pull/5935
sagemaker-train/src/sagemaker/ai_registry/air_hub.pyhttps://github.com/aws/sagemaker-python-sdk/pull/5935/files/aafee019c506baf84c18a09ce216e79cbcc33747#diff-5a55d44f2d1faafb8ff724430c7a0acb7bd227ed2d8f4cb2e1fc803a0dfd1161
sagemaker-bothttps://github.com/sagemaker-bot
Jun 11, 2026https://github.com/aws/sagemaker-python-sdk/pull/5935#discussion_r3398205685
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/aws/sagemaker-python-sdk/pull/5935
sagemaker-train/src/sagemaker/ai_registry/air_hub.pyhttps://github.com/aws/sagemaker-python-sdk/pull/5935/files/aafee019c506baf84c18a09ce216e79cbcc33747#diff-5a55d44f2d1faafb8ff724430c7a0acb7bd227ed2d8f4cb2e1fc803a0dfd1161
sagemaker-bothttps://github.com/sagemaker-bot
Jun 11, 2026https://github.com/aws/sagemaker-python-sdk/pull/5935#discussion_r3398205690
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/aws/sagemaker-python-sdk/pull/5935
https://github.com/mollyheamazon
Merge branch 'master' into fix/lazy-init-airhub-clientshttps://github.com/aws/sagemaker-python-sdk/pull/5935/commits/a60d19e3b6b7eac570b9119ad1d441957ba917aa
a60d19ehttps://github.com/aws/sagemaker-python-sdk/pull/5935/commits/a60d19e3b6b7eac570b9119ad1d441957ba917aa
https://github.com/mollyheamazon
mollyheamazonhttps://github.com/mollyheamazon
temporarily deployedhttps://github.com/aws/sagemaker-python-sdk/actions/runs/27633490037/job/81714719286
June 16, 2026 16:47https://github.com/aws/sagemaker-python-sdk/pull/5935#event-26819735331
GitHub Actionshttps://github.com/apps/github-actions
https://github.com/mollyheamazon
mollyheamazonhttps://github.com/mollyheamazon
temporarily deployedhttps://github.com/aws/sagemaker-python-sdk/actions/runs/27633490245/job/81714776862
June 16, 2026 16:47https://github.com/aws/sagemaker-python-sdk/pull/5935#event-26819747999
GitHub Actionshttps://github.com/apps/github-actions
https://github.com/brifordwylie
brifordwyliehttps://github.com/brifordwylie
Jul 5, 2026 https://github.com/aws/sagemaker-python-sdk/pull/5935#ref-issue-4811462912
SageMakerClient ignores the passed boto3 session for the "sagemaker" client since 2.13.0 — all resource API calls sign with default-chain credentials #5986 https://github.com/aws/sagemaker-python-sdk/issues/5986
https://github.co/hiddenchars
https://github.com/aws/sagemaker-python-sdk/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%2Faws%2Fsagemaker-python-sdk%2Fpull%2F5935
https://github.com/sagemaker-bot
sagemaker-bot https://github.com/sagemaker-bot
https://github.com/aws/sagemaker-python-sdk/pull/5935/files/aafee019c506baf84c18a09ce216e79cbcc33747
https://github.com/mujtaba1747
mujtaba1747 https://github.com/mujtaba1747
https://github.com/aws/sagemaker-python-sdk/pull/5935/files/a60d19e3b6b7eac570b9119ad1d441957ba917aa
https://github.com/zhaoqizqwang
zhaoqizqwang https://github.com/zhaoqizqwang
https://github.com/aws/sagemaker-python-sdk/pull/5935/files/a60d19e3b6b7eac570b9119ad1d441957ba917aa
https://github.com/papriwal
papriwal https://github.com/papriwal
https://github.com/aws/sagemaker-python-sdk/pull/5935/files/a60d19e3b6b7eac570b9119ad1d441957ba917aa
https://github.com/lucasjia-aws
lucasjia-aws https://github.com/lucasjia-aws
https://github.com/aws/sagemaker-python-sdk/pull/5935/files/a60d19e3b6b7eac570b9119ad1d441957ba917aa
Please reload this pagehttps://github.com/aws/sagemaker-python-sdk/pull/5935
https://github.com/aviruthen
https://github.com/mujtaba1747
https://github.com/sagemaker-bot
https://github.com/zhaoqizqwang
https://github.com/papriwal
https://github.com/lucasjia-aws
https://github.com/mollyheamazon
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.