Skip to content

invalid-type-form when using ty #336

@alirezanobakht13

Description

@alirezanobakht13

I'm using ty as my language server and I get the following error for Key (from jaxtyping import Key):

`typing.Annotated` requires at least two arguments when used in a type expression ty([invalid-type-form](https://ty.dev/rules#invalid-type-form))

is it necessary to annotate key with array? like Key[Array, "s1 s2"]?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions