-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
infrastructureAnything related to our infrastructureAnything related to our infrastructure
Description
Python 3.12 introduced some syntax to define TypeAlias
's that looks like
type InteralPoint3D = npt.NDArray[ManimPointDType]
Annoyingly for us, this is represented in AST as a TypeAlias
node instead of the AnnAssign
node we're used to. As such, the autoaliasattr directive does not work with this syntax, and type aliases defined using this syntax are not documented.
While manim still has some time before Python 3.12 becomes the minimum supported version and we can begin using this syntax, it would be nice to have it implemented so that fewer worries occur when that eventually happens.
Metadata
Metadata
Assignees
Labels
infrastructureAnything related to our infrastructureAnything related to our infrastructure
Type
Projects
Status
🆕 New