Hello folks 👋
Thanks for your efforts on this open source project 🫶 We're experiencing a mypy issue after updating types-authlib to 1.6.6.20251220.
I first opened this issue, and was redirected here by one of the mainters.
Invoking the introspect_token method of the AsyncOAuth2Client raises a [no-untyped-call] violation.
No typing exception is raised.
The function in question is indeed untyped:
typeshed/stubs/Authlib/authlib/oauth2/client.pyi
Line 58 in 90d8559
Until a few months ago, it was technically typed, until we removed unnecessary Incompletes in #14063. In reality, the method had never been typed, it just used an Any alias. Any PR to add missing type annotations is welcome, though!
Hi, I'd like to work on this. I'll submit a PR shortly.
Since we're usually not keeping issues about untyped items open, I'm going to close this for now. That doesn't mean that a fix isn't welcome!
Activity
srittau commented on Dec 22, 2025
The function in question is indeed untyped:
typeshed/stubs/Authlib/authlib/oauth2/client.pyi
Line 58 in 90d8559
Until a few months ago, it was technically typed, until we removed unnecessary Incompletes in #14063. In reality, the method had never been typed, it just used an Any alias. Any PR to add missing type annotations is welcome, though!
nightcityblade commented on Aug 1, 2026
Hi, I'd like to work on this. I'll submit a PR shortly.
srittau commented on Aug 1, 2026
Since we're usually not keeping issues about untyped items open, I'm going to close this for now. That doesn't mean that a fix isn't welcome!