v2.7.0a1
·
399 commits
to master
since this release
2.7.0a1 - 2022-09-24
Added
- Support for marking positional message arguments as optional when using annotation parsing.
tanjun.annotations.Defaultfor setting the default for an argument while leaving the actual parameter required.
Changed
tanjun.annotations.Flagwill no longer unset any previously set aliases.
Deprecated
tanjun.annotations.Flag.defaultand thedefaultargument fortanjun.annotations.Flag.__init__.tanjun.annotations.Defaultshould be used instead.
Fixed
- Don't ignore parameter annotations when the top-level type-hint is a union.