str-to-obj 2025.2__tar.gz → 2025.3__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {str_to_obj-2025.2 → str_to_obj-2025.3}/PKG-INFO +1 -1
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj/type/hint_tree.py +4 -3
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj/version.py +1 -1
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj.egg-info/PKG-INFO +1 -1
- {str_to_obj-2025.2 → str_to_obj-2025.3}/MANIFEST.in +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/README-COPYRIGHT-utf8.txt +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/README-LICENCE-utf8.txt +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/README.rst +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/documentation/wiki/description.asciidoc +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj/__init__.py +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj/api/catalog.py +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj/api/type.py +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj/catalog/boolean.py +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj/catalog/callable.py +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj/catalog/choices.py +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj/catalog/collection.py +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj/catalog/number.py +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj/catalog/path.py +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj/interface/console.py +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj/main.py +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj/runtime/type.py +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj/runtime/value.py +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj/task/casting.py +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj/task/comparison.py +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj/task/inspection.py +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj/type/annotation.py +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj/type/hint.py +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj/type/type.py +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj/type/value.py +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj.egg-info/SOURCES.txt +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj.egg-info/dependency_links.txt +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj.egg-info/requires.txt +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/package/str_to_obj.egg-info/top_level.txt +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/pyproject.toml +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/requirements.txt +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/setup.cfg +0 -0
- {str_to_obj-2025.2 → str_to_obj-2025.3}/setup.py +0 -0
@@ -17,9 +17,10 @@ from str_to_obj.type.hint import (
|
|
17
17
|
any_hint_h,
|
18
18
|
complex_hint_additions_h,
|
19
19
|
non_complex_hint_h,
|
20
|
-
simple_hint_h,
|
21
20
|
)
|
22
21
|
|
22
|
+
hint_node_type_h = non_complex_hint_h | t.UnionType | t.EllipsisType | type[t.NoneType]
|
23
|
+
|
23
24
|
|
24
25
|
@d.dataclass(slots=True, repr=False, eq=False)
|
25
26
|
class _hint_node_t:
|
@@ -29,7 +30,7 @@ class _hint_node_t:
|
|
29
30
|
otherwise.
|
30
31
|
"""
|
31
32
|
|
32
|
-
type:
|
33
|
+
type: hint_node_type_h
|
33
34
|
annotations: tuple[annotation_t, ...] = d.field(default_factory=tuple)
|
34
35
|
literal_s: tuple[h.Any, ...] | None = None
|
35
36
|
|
@@ -112,7 +113,7 @@ class hint_t(_hint_node_t):
|
|
112
113
|
return output
|
113
114
|
|
114
115
|
@property
|
115
|
-
def template(self) -> type[
|
116
|
+
def template(self) -> type[hint_node_type_h] | dict[int, h.Any] | None:
|
116
117
|
""""""
|
117
118
|
if self.type is t.NoneType:
|
118
119
|
return None
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|