Skip to content

TYP: npt._ArrayLikeInt_co does not exist #61387

Open
@jorenham

Description

@jorenham

NumpySorter = Optional[npt._ArrayLikeInt_co] # type: ignore[name-defined]

I wouldn't recommend using these private internal type-aliases at all, but if you must, then you probably should import it from numpy._typing, because it is not exported by numpy.typing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Typingtype annotations, mypy/pyright type checking

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions