Skip to content

Support call expression in function argument #10277

@pasunx

Description

@pasunx
from typing import TypedDict

def register(user: TypedDict("User", { # I know that I can define User as variable
            "name": str,               # but I think it might ok to support this
            "age": int
        }, total = False)) -> None: ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions