Skip to content

Commit e51c270

Browse files
authored
[commands] Update docs to include proper walkthrough (#426)
* Add ability to parse Unions into ext.commands * pipe was 3.10, not 3.8 * Add start of commands walkthrough * Fix optional parsing when optional is the last argument * Add Annotated support * Run black * Add more command walkthrough * revamp errors with proper useful messages and details on objects * Final touches to the walkthrough * update changelog with changes * add changelog entry * run black * update function names past cookie section
1 parent 4ae7f4a commit e51c270

17 files changed

+618
-8
lines changed

docs/changelog.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@ Master
3131
- ``Optional[T]`` / ``T | None``
3232
- ``Annotated[T, converter]`` (accessible through the ``typing_extensions`` module on older python versions)
3333

34+
- ext.commands
35+
- Additions
36+
- Added support for the following typing constructs in command signatures:
37+
- ``Union[A, B]`` / ``A | B``
38+
- ``Optional[T]`` / ``T | None``
39+
- ``Annotated[T, converter]`` (accessible through the ``typing_extensions`` module on older python versions)
40+
41+
- Docs
42+
- Added walkthrough for ext.commands
3443

3544
2.7.0
3645
======

0 commit comments

Comments
 (0)