Skip to content

No hover result for .get() on TypedDict instance #9289

Open

Description

This is a regression caused by 8ddffa4 which is the fix for #9252:

Repro steps:

  1. Hover over get on the last line of the code below:
from typing_extensions import TypedDict

class Cls(TypedDict):
    a: int
    b: str

dct: Cls = {"a": 1, "b": "2"}
dct.get("a")

Actual:

Nothing. No popup. Hovering over other tokens still works as expected.

Expected:

This is what I see with 1.1.345 and with 7c7703a which is the commit right before 8ddffa4.
Image

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

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions