Skip to content

feature: Support PEP 695 Type Parameter Syntax #342

Open
@viccie30

Description

@viccie30

Is your feature request related to a problem? Please describe.

Since Python 3.12 it is possible to create compile-time only type aliases with the new type statement. Sadly, griffe does not appear to parse these new statements yet. It also does not seem to parse type parameters in class and function definitions.

Describe the solution you'd like

I would like for griffe to parse these new constructs.

Describe alternatives you've considered

N/A, I prefer to continue using mkdocstring instead of alternatives.

Additional context

N/A

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions