Is your feature request related to a problem? Please describe.
Sometimes it's a bit redundant to add a type annotation. See for example copier-org/copier#203 (comment)
Describe the solution you'd like
Instead of using None
or _empty
, we could make sure to always fallback to the attribute's type with type(attr)
.
Typically done here: https://github.com/pawamoy/pytkdocs/blob/master/src/pytkdocs/loader.py#L699
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too