v2.12.0
·
158 commits
to master
since this release
2.12.0 - 2023-03-12
Added
- Support for declaring the options for a command using
**kwargs: typing.Unpack[TypedDict]when using the annotations parsing impl intanjun.annotations. tanjun.abc.NO_PASSfor marking command options as being not passed when they weren't provided.
Changed
- Marked deprecated classes, functions and overloads as deprecated using
typing.deprecated.
Deprecated class aliases are now separate classes to allow warning on init.
Deprecated
- Renamed
tanjun.parsing.UNDEFINED_DEFAULTandtanjun.commands.slash.UNDEFINED_DEFAULTtotanjun.abc.NO_DEFAULT. tanjun.parsing.UndefinedT.