diff options
author | David Lord <davidism@gmail.com> | 2021-05-12 08:33:15 -0700 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2021-05-12 09:08:07 -0700 |
commit | 5a74def4c506c044301a79a0dfc00593b047b662 (patch) | |
tree | fa3a80dfd111e4ed4bb65d7c22c566e58d69e694 /CHANGES.rst | |
parent | 447b6bbb5440d1e59f685bcddca5abcb784e3923 (diff) | |
download | click-5a74def4c506c044301a79a0dfc00593b047b662.tar.gz |
ctx.obj is marked Any instead of Optional[Any]
This makes typing more convenient since it's a completely generic object
and won't be None if users are using it.
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 a8a616c..c3b342d 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -7,6 +7,8 @@ Unreleased - Mark top-level names as exported so type checking understand imports in user projects. :issue:`1879` +- Annotate ``Context.obj`` as ``Any`` so type checking allows all + operations on the arbitrary object. :issue:` Version 8.0.0 |