From 33127f9fe0e8bc167039257eaa0d3141208f7d28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@ericsson.com> Date: Thu, 11 Jul 2024 12:12:49 +0200 Subject: [PATCH] fix typing for reraise_as --- CHANGELOG.md | 1 + satella/__init__.py | 2 +- satella/coding/typing.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 64298312..e8dc83ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ # v2.25.4 * add JSONAbleDataObject +* improved typing for reraise_as diff --git a/satella/__init__.py b/satella/__init__.py index 4061a19a..66d2dcd3 100644 --- a/satella/__init__.py +++ b/satella/__init__.py @@ -1 +1 @@ -__version__ = '2.25.4a2' +__version__ = '2.25.4a3' diff --git a/satella/coding/typing.py b/satella/coding/typing.py index 8b79d2cf..9f86680a 100644 --- a/satella/coding/typing.py +++ b/satella/coding/typing.py @@ -17,7 +17,7 @@ NoArgCallable = tp.Callable[[], T] Predicate = tp.Callable[[T], bool] ExceptionClassType = tp.Type[Exception] -ExceptionList = tp.Union[ExceptionClassType, tp.Tuple[ExceptionClassType]] +ExceptionList = tp.Union[ExceptionClassType, tp.Tuple[ExceptionClassType, ...]] class ClassComparable(metaclass=ABCMeta): -- GitLab