diff options
author | matejcik <ja@matejcik.cz> | 2022-03-11 10:28:42 +0100 |
---|---|---|
committer | matejcik <ja@matejcik.cz> | 2022-03-11 11:23:16 +0100 |
commit | a0bbbf2033c6b4eab480c53e6cbb0fd2d737badd (patch) | |
tree | 9e903d19b4a2ee34f07836d5ca16721ee4d294bd /CHANGES.rst | |
parent | d14ee193d01096113d5de0428b8552bcd5f368e9 (diff) | |
download | click-a0bbbf2033c6b4eab480c53e6cbb0fd2d737badd.tar.gz |
correctly annotate return type of @command(cls=XYZ)
Diffstat (limited to 'CHANGES.rst')
-rw-r--r-- | CHANGES.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index 440589a..8662316 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -43,6 +43,8 @@ Version 8.1.0 - It's possible to pass a list of ``params`` to ``@command``. Any params defined with decorators are appended to the passed params. :issue:`2131`. +- ``@command`` decorator is annotated as returning the correct type if + a ``cls`` argument is used. :issue:`2211` Version 8.0.4 |