Always add Optional[] when an arg has a default of None
Open
bug
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Description
Methods that have `arg=None` arguments are sometimes not marked as `Optional` because they are never passed a `None` parameter during the run. It would be nice if it could infer that.
Contributor guide
Assessment
This issue has not been assessed yet.