Can we have support for typing_extensions.Doc (PEP 727)? #1110
Unanswered
jeroendecroos
asked this question in
Questions
Replies: 1 comment
-
PR: #1111 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Description
You might be familiar with https://peps.python.org/pep-0727/ ;-)
I like the general idea and although it seems the pep won't be accepted in it's current form, the support is there in typing_extension.
Adding it in typer will allow users to integrate nicely with other tools that provide support for typing_extensions.doc (e.g. https://mkdocstrings.github.io/griffe-typingdoc/)
I've done a tentative implementation and will open a PR. I've added tests but not yet documentation. I can add that if this feature has a chance of acceptance.
Operating System
Linux, Windows
Operating System Details
No response
Typer Version
0.15.1 (clone from main)
Python Version
3.12.8
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions