Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Support PEP 695 Type Parameter Syntax #342

Open
viccie30 opened this issue Dec 17, 2024 · 1 comment · May be fixed by #348
Open

feature: Support PEP 695 Type Parameter Syntax #342

viccie30 opened this issue Dec 17, 2024 · 1 comment · May be fixed by #348
Assignees
Labels
feature New feature or request fund Issue priority can be boosted

Comments

@viccie30
Copy link
Contributor

viccie30 commented Dec 17, 2024

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
@viccie30 viccie30 added the feature New feature or request label Dec 17, 2024
@pawamoy pawamoy added the fund Issue priority can be boosted label Dec 18, 2024
@pawamoy
Copy link
Member

pawamoy commented Dec 18, 2024

Yup, it's time we support the new language features 🙂

@viccie30 viccie30 linked a pull request Jan 5, 2025 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request fund Issue priority can be boosted
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants