Skip to content

Missing kwargs in signature help when using Unpack (PEP 692) with extra items (PEP 728) #10996

@Viicos

Description

@Viicos

Code sample in pyright playground

from typing import Any, TypedDict, Unpack


class TD(TypedDict, extra_items=Any):
    a: int


def func(**kwargs: Unpack[TD]): pass



func()
Image

VS Code extension or command-line
pyright

Metadata

Metadata

Assignees

No one assigned

    Labels

    addressed in next versionIssue is fixed and will appear in next published versionbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions