Skip to content

feature: Support PEP 695 Type Parameter Syntax #342

Open
@viccie30

Description

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

Boost priority

  • Boost priority in our backlog through Polar.sh. Higher pledge, higher priority.
  • Minimum pledge by user/organization is $5, minimum amount for boost is $30.
  • View all issues with pledges.
  • We receive the funds once the issue is completed and confirmed by you.
  • Features with the insiders label are released to sponsors first, and tied to a funding goal.
Fund with Polar

Metadata

Assignees

Labels

featureNew feature or requestfundIssue priority can be boosted

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions