FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

introspect_token raises no-untyped-call violation in 1.6.6.20251220 · Issue #15164 · python/typeshed · GitHub

Repository navigation

introspect_token raises no-untyped-call violation in 1.6.6.20251220 #15164

Closed as not planned

Description

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.

Bug behavior

Invoking the introspect_token method of the AsyncOAuth2Client raises a [no-untyped-call] violation.

Expected behavior

No typing exception is raised.

Relevant logs

Activity

  1. srittau commented on Dec 22, 2025

    Collaborator

    The function in question is indeed untyped:

    def introspect_token(self, url, token=None, token_type_hint=None, body=None, auth=None, headers=None, **kwargs): ...

    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!

  2. added
    stubs: incompleteAnnotations or sub-modules missing from an existing package or module
    on Dec 22, 2025
  3. nightcityblade commented on Aug 1, 2026

    Contributor

    Hi, I'd like to work on this. I'll submit a PR shortly.

  4. srittau commented on Aug 1, 2026

    Collaborator

    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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stubs: incompleteAnnotations or sub-modules missing from an existing package or module

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL