edri 2025.10.1rc1__py3-none-any.whl → 2025.10.2rc1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- edri/api/handlers/base_handler.py +3 -1
- {edri-2025.10.1rc1.dist-info → edri-2025.10.2rc1.dist-info}/METADATA +2 -1
- {edri-2025.10.1rc1.dist-info → edri-2025.10.2rc1.dist-info}/RECORD +5 -5
- {edri-2025.10.1rc1.dist-info → edri-2025.10.2rc1.dist-info}/WHEEL +0 -0
- {edri-2025.10.1rc1.dist-info → edri-2025.10.2rc1.dist-info}/top_level.txt +0 -0
|
@@ -2,7 +2,7 @@ from abc import ABC, abstractmethod
|
|
|
2
2
|
from dataclasses import fields, MISSING
|
|
3
3
|
from logging import getLogger
|
|
4
4
|
from types import UnionType, NoneType
|
|
5
|
-
from typing import Callable, Type, get_origin, Union, get_args, Any, TypedDict, Literal
|
|
5
|
+
from typing import Callable, Type, get_origin, Union, get_args, Any, TypedDict, Literal, TypeAliasType
|
|
6
6
|
from urllib.parse import parse_qs, unquote
|
|
7
7
|
|
|
8
8
|
from edri.dataclass.directive import ResponseDirective
|
|
@@ -91,6 +91,8 @@ class BaseHandler[T: ResponseDirective](ABC):
|
|
|
91
91
|
Raises:
|
|
92
92
|
TypeError: If the value cannot be converted to the specified type.
|
|
93
93
|
"""
|
|
94
|
+
if isinstance(annotation, TypeAliasType):
|
|
95
|
+
annotation = annotation.__value__
|
|
94
96
|
if get_origin(annotation) or isinstance(annotation, UnionType):
|
|
95
97
|
if isinstance(annotation, UnionType) or get_origin(annotation) == Union:
|
|
96
98
|
annotations = get_args(annotation)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: edri
|
|
3
|
-
Version: 2025.10.
|
|
3
|
+
Version: 2025.10.2rc1
|
|
4
4
|
Summary: Event Driven Routing Infrastructure
|
|
5
5
|
Author: Marek Olšan
|
|
6
6
|
Author-email: marek.olsan@gmail.com
|
|
@@ -9,6 +9,7 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
|
10
10
|
Classifier: Programming Language :: Python :: 3.12
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.13
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
12
13
|
Classifier: Operating System :: POSIX
|
|
13
14
|
Classifier: Operating System :: POSIX :: Linux
|
|
14
15
|
Classifier: Intended Audience :: Developers
|
|
@@ -20,7 +20,7 @@ edri/api/extensions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
|
|
|
20
20
|
edri/api/extensions/url_extension.py,sha256=rZKumjR7J6pDTiSLIZf8IzxGgDZP7p2g0Kgs0USug_U,1971
|
|
21
21
|
edri/api/extensions/url_prefix.py,sha256=kNI6g5ZlW0w-J_IMacYLco1EQvmTtMJyEkN6-SK1wC0,491
|
|
22
22
|
edri/api/handlers/__init__.py,sha256=MI6OGDf1rM8jf_uCKK_JYeOGMts62CNy10BwwNlG0Tk,200
|
|
23
|
-
edri/api/handlers/base_handler.py,sha256=
|
|
23
|
+
edri/api/handlers/base_handler.py,sha256=iuVXOmWeCB1ZgLIpq_1QCtAvB7QL1NhPdx064NC2b50,7529
|
|
24
24
|
edri/api/handlers/html_handler.py,sha256=OprcTg1IQDI7eBK-_oHqA60P1H30LA9xIQpD7iV-Neg,7464
|
|
25
25
|
edri/api/handlers/http_handler.py,sha256=_UizS2CTeHMzpWdVT7hU_SRmij6k5P0C9xuYHegJI88,35514
|
|
26
26
|
edri/api/handlers/rest_handler.py,sha256=GAG5lVTsRMCf9IUmYb_pokxyPcOfbnKZ2p3jxfy_-Dw,3300
|
|
@@ -156,7 +156,7 @@ tests/utility/test_validation.py,sha256=OEM9hGzlFoSvZdwf5_pyH-Xg9ISxw0QJFbgMaDP8
|
|
|
156
156
|
tests/utility/manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
157
157
|
tests/utility/manager/test_scheduler.py,sha256=sROffYvSOaWsYQxQGTy6l9Mn_qeNPRmJoXLVPKU3XNY,9153
|
|
158
158
|
tests/utility/manager/test_store.py,sha256=xlo1JUsPLIhPJyQn7AXldAgWDo_O8ba2ns25TEaaGdQ,2821
|
|
159
|
-
edri-2025.10.
|
|
160
|
-
edri-2025.10.
|
|
161
|
-
edri-2025.10.
|
|
162
|
-
edri-2025.10.
|
|
159
|
+
edri-2025.10.2rc1.dist-info/METADATA,sha256=oy8LSYi-cTCMX1WBwU2GWIBfDwU4iCC09aCAVzhuNrI,8346
|
|
160
|
+
edri-2025.10.2rc1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
161
|
+
edri-2025.10.2rc1.dist-info/top_level.txt,sha256=himES6JgPlx4Zt8aDrQEj2fxAd7IDD6MBOsiNZkzKHQ,11
|
|
162
|
+
edri-2025.10.2rc1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|