René's URL Explorer Experiment


Title: [Authlib] Fix AsyncOAuth2Client missing async context manager methods. by robertuss12 · Pull Request #15190 · python/typeshed · GitHub

Open Graph Title: [Authlib] Fix AsyncOAuth2Client missing async context manager methods. by robertuss12 · Pull Request #15190 · python/typeshed

X Title: [Authlib] Fix AsyncOAuth2Client missing async context manager methods. by robertuss12 · Pull Request #15190 · python/typeshed

Description: After recent changes to Authlib integrations, mypy complains that AsyncOAuth2Client has no attribute __aenter__ and __aexit__ when used as an async context manager. I've looked into it and found that AsyncOAuth2Client inherits these methods from httpx.AsyncClient, but this inheritance is not reflected in the stub file. I've tried to fix it and added a test. I had some problems with pyright tests - I couldn't get it to work without explicitly adding the __aenter__ method. I don't know why, as I haven't used pyright before. If this is a result of issues in my local environment (that's my suspicion due to other problems like unknown imports) and the explicit method is unnecessary, please let me know.

Open Graph Description: After recent changes to Authlib integrations, mypy complains that AsyncOAuth2Client has no attribute __aenter__ and __aexit__ when used as an async context manager. I've looked into it and foun...

X Description: After recent changes to Authlib integrations, mypy complains that AsyncOAuth2Client has no attribute __aenter__ and __aexit__ when used as an async context manager. I've looked into it and ...

Opengraph URL: https://github.com/python/typeshed/pull/15190

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:fe8339dd-bd9b-79a9-8d85-2a3d602bbe93
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idC226:23DC68:2AA7E3E:38D8938:6992E9E9
html-safe-nonce2ae035a112868eec9b1743f15f4f46afee0a479c1a66036afe64d67630d3147a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjI2OjIzREM2ODoyQUE3RTNFOjM4RDg5Mzg6Njk5MkU5RTkiLCJ2aXNpdG9yX2lkIjoiMjc0NjQzMjAxNzYxMjg1OTg4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7bfff8cb8b1b0fc9ac014fa595936654e8687ae3c50a57bc1912d73ae0211a37
hovercard-subject-tagpull_request:3134159298
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/typeshed/pull/15190/checks
twitter:imagehttps://avatars.githubusercontent.com/u/47995308?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/47995308?s=400&v=4
og:image:altAfter recent changes to Authlib integrations, mypy complains that AsyncOAuth2Client has no attribute __aenter__ and __aexit__ when used as an async context manager. I've looked into it and foun...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-cache
go-importgithub.com/python/typeshed git https://github.com/python/typeshed.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id31696383
octolytics-dimension-repository_nwopython/typeshed
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31696383
octolytics-dimension-repository_network_root_nwopython/typeshed
turbo-body-classeslogged-out env-production page-responsive full-width full-width-p-0
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release84dcb133269e3cfe6e0296cc85fbacb92cae92bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python/typeshed/pull/15190/checks#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F15190%2Fchecks
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F15190%2Fchecks
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=python%2Ftypeshed
Reloadhttps://patch-diff.githubusercontent.com/python/typeshed/pull/15190/checks
Reloadhttps://patch-diff.githubusercontent.com/python/typeshed/pull/15190/checks
Reloadhttps://patch-diff.githubusercontent.com/python/typeshed/pull/15190/checks
python https://patch-diff.githubusercontent.com/python
typeshedhttps://patch-diff.githubusercontent.com/python/typeshed
Please reload this pagehttps://patch-diff.githubusercontent.com/python/typeshed/pull/15190/checks
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython%2Ftypeshed
Fork 2k https://patch-diff.githubusercontent.com/login?return_to=%2Fpython%2Ftypeshed
Star 5k https://patch-diff.githubusercontent.com/login?return_to=%2Fpython%2Ftypeshed
Code https://patch-diff.githubusercontent.com/python/typeshed
Issues 213 https://patch-diff.githubusercontent.com/python/typeshed/issues
Pull requests 136 https://patch-diff.githubusercontent.com/python/typeshed/pulls
Actions https://patch-diff.githubusercontent.com/python/typeshed/actions
Projects 0 https://patch-diff.githubusercontent.com/python/typeshed/projects
Security 0 https://patch-diff.githubusercontent.com/python/typeshed/security
Insights https://patch-diff.githubusercontent.com/python/typeshed/pulse
Code https://patch-diff.githubusercontent.com/python/typeshed
Issues https://patch-diff.githubusercontent.com/python/typeshed/issues
Pull requests https://patch-diff.githubusercontent.com/python/typeshed/pulls
Actions https://patch-diff.githubusercontent.com/python/typeshed/actions
Projects https://patch-diff.githubusercontent.com/python/typeshed/projects
Security https://patch-diff.githubusercontent.com/python/typeshed/security
Insights https://patch-diff.githubusercontent.com/python/typeshed/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fpython%2Ftypeshed%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fpython%2Ftypeshed%2Fissues%2Fnew%2Fchoose
robertuss12https://patch-diff.githubusercontent.com/robertuss12
python:mainhttps://patch-diff.githubusercontent.com/python/typeshed/tree/main
robertuss12:fix-AsyncOAuth2Client-async-context-managerhttps://patch-diff.githubusercontent.com/robertuss12/typeshed/tree/fix-AsyncOAuth2Client-async-context-manager
Conversation 4 https://patch-diff.githubusercontent.com/python/typeshed/pull/15190
Commits 1 https://patch-diff.githubusercontent.com/python/typeshed/pull/15190/commits
Checks 47 https://patch-diff.githubusercontent.com/python/typeshed/pull/15190/checks
Files changed https://patch-diff.githubusercontent.com/python/typeshed/pull/15190/files
Please reload this pagehttps://patch-diff.githubusercontent.com/python/typeshed/pull/15190/checks
Please reload this pagehttps://patch-diff.githubusercontent.com/python/typeshed/pull/15190/checks
Sign in for the full log viewhttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F15190%2Fchecks
[Authlib] Fix AsyncOAuth2Client missing async context manager methods. https://patch-diff.githubusercontent.com/python/typeshed/pull/15190/checks#top
Please reload this pagehttps://patch-diff.githubusercontent.com/python/typeshed/pull/15190/checks
Run mypy_primer on: pull_request https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327313
Run (0) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327313/job/59079049875?pr=15190
Run (1) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327313/job/59079049844?pr=15190
Run (2) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327313/job/59079049858?pr=15190
Run (3) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327313/job/59079049852?pr=15190
Join artifacts https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327313/job/59079482319?pr=15190
Test on: pull_request https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318
Check typeshed structure https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050048?pr=15190
mypy: Check stubs (linux, 3.9) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050244?pr=15190
mypy: Check stubs (linux, 3.10) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050237?pr=15190
mypy: Check stubs (linux, 3.11) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050230?pr=15190
mypy: Check stubs (linux, 3.12) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050235?pr=15190
mypy: Check stubs (linux, 3.13) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050224?pr=15190
mypy: Check stubs (linux, 3.14) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050253?pr=15190
mypy: Check stubs (win32, 3.9) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050234?pr=15190
mypy: Check stubs (win32, 3.10) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050217?pr=15190
mypy: Check stubs (win32, 3.11) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050231?pr=15190
mypy: Check stubs (win32, 3.12) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050228?pr=15190
mypy: Check stubs (win32, 3.13) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050267?pr=15190
mypy: Check stubs (win32, 3.14) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050219?pr=15190
mypy: Check stubs (darwin, 3.9) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050255?pr=15190
mypy: Check stubs (darwin, 3.10) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050248?pr=15190
mypy: Check stubs (darwin, 3.11) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050281?pr=15190
mypy: Check stubs (darwin, 3.12) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050327?pr=15190
mypy: Check stubs (darwin, 3.13) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050294?pr=15190
mypy: Check stubs (darwin, 3.14) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050266?pr=15190
mypy: Run test cases https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050050?pr=15190
pyright: Run test cases (Linux, 3.9) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050209?pr=15190
pyright: Run test cases (Linux, 3.10) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050262?pr=15190
pyright: Run test cases (Linux, 3.11) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050233?pr=15190
pyright: Run test cases (Linux, 3.12) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050189?pr=15190
pyright: Run test cases (Linux, 3.13) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050160?pr=15190
pyright: Run test cases (Linux, 3.14) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050181?pr=15190
pyright: Run test cases (Windows, 3.9) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050212?pr=15190
pyright: Run test cases (Windows, 3.10) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050183?pr=15190
pyright: Run test cases (Windows, 3.11) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050195?pr=15190
pyright: Run test cases (Windows, 3.12) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050199?pr=15190
pyright: Run test cases (Windows, 3.13) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050203?pr=15190
pyright: Run test cases (Windows, 3.14) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050236?pr=15190
pyright: Run test cases (Darwin, 3.9) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050225?pr=15190
pyright: Run test cases (Darwin, 3.10) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050226?pr=15190
pyright: Run test cases (Darwin, 3.11) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050243?pr=15190
pyright: Run test cases (Darwin, 3.12) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050260?pr=15190
pyright: Run test cases (Darwin, 3.13) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050272?pr=15190
pyright: Run test cases (Darwin, 3.14) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050270?pr=15190
stub_uploader tests https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327318/job/59079050054?pr=15190
Third-party stubtest on: pull_request https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327353
stubtest: third party (ubuntu-latest) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327353/job/59079050126?pr=15190
stubtest: third party (windows-latest) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327353/job/59079050150?pr=15190
stubtest: third party (macos-latest) https://patch-diff.githubusercontent.com/python/typeshed/actions/runs/20571327353/job/59079050143?pr=15190
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.