Skip to content

Typing: Layer.get signature confuses Pyright #131

@madig

Description

@madig

(method) get: (name: str, default: T@get | None = None) -> T@get | Layer | None

It thinks T@get is a return type. Look into typeshed again on how to solve this...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions