str-to-obj 2024.7__py3-none-any.whl → 2024.9__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.
- str_to_obj/catalog/boolean.py +2 -2
- str_to_obj/type/hint_tree.py +2 -2
- str_to_obj/version.py +1 -1
- {str_to_obj-2024.7.dist-info → str_to_obj-2024.9.dist-info}/METADATA +1 -1
- {str_to_obj-2024.7.dist-info → str_to_obj-2024.9.dist-info}/RECORD +7 -7
- {str_to_obj-2024.7.dist-info → str_to_obj-2024.9.dist-info}/WHEEL +1 -1
- {str_to_obj-2024.7.dist-info → str_to_obj-2024.9.dist-info}/top_level.txt +0 -0
str_to_obj/catalog/boolean.py
CHANGED
@@ -8,7 +8,7 @@ import dataclasses as d
|
|
8
8
|
import typing as h
|
9
9
|
from enum import Enum as enum_t
|
10
10
|
|
11
|
-
from logger_36.
|
11
|
+
from logger_36.content import MessageWithActualExpected
|
12
12
|
from str_to_obj.type.annotation import annotation_t
|
13
13
|
from str_to_obj.type.hint import annotated_hint_t
|
14
14
|
|
@@ -42,7 +42,7 @@ class boolean_t(annotation_t):
|
|
42
42
|
mode = boolean_mode_e[mode].value
|
43
43
|
else:
|
44
44
|
raise ValueError(
|
45
|
-
|
45
|
+
MessageWithActualExpected(
|
46
46
|
"Invalid boolean mode",
|
47
47
|
actual=mode,
|
48
48
|
expected=" or ".join(_BOOLEAN_MODES),
|
str_to_obj/type/hint_tree.py
CHANGED
@@ -9,7 +9,7 @@ import re as regx
|
|
9
9
|
import types as t
|
10
10
|
import typing as h
|
11
11
|
|
12
|
-
from logger_36.
|
12
|
+
from logger_36.content import MessageWithActualExpected
|
13
13
|
from str_to_obj.catalog.choices import choices_t
|
14
14
|
from str_to_obj.task.inspection import HintComponents
|
15
15
|
from str_to_obj.type.annotation import annotation_t
|
@@ -54,7 +54,7 @@ class hint_t(_hint_node_t):
|
|
54
54
|
if isinstance(hint, annotation_t):
|
55
55
|
# This is a common mistake in specifications.
|
56
56
|
raise ValueError(
|
57
|
-
|
57
|
+
MessageWithActualExpected(
|
58
58
|
"Invalid hint type", actual=type(hint).__name__, expected=any_hint_h
|
59
59
|
)
|
60
60
|
)
|
str_to_obj/version.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
str_to_obj/__init__.py,sha256=PCxTXaZiI5pN2HqQPeS4q6r-QgwBrDGwGplHCWACQzA,2318
|
2
2
|
str_to_obj/main.py,sha256=07IFp92qZnSnrcFEq0nNWlo8V45mSQDB6YMvQEMko9k,3373
|
3
|
-
str_to_obj/version.py,sha256=
|
3
|
+
str_to_obj/version.py,sha256=E_3VrZEA1owZlxkL4WlA1GMNLq-LqxAddvk8sba-NDk,2206
|
4
4
|
str_to_obj/api/catalog.py,sha256=6ka6JciGdHFP93lg0yq2LO3iZBHfq0upZfXxQSg1izk,2521
|
5
5
|
str_to_obj/api/type.py,sha256=yxD5wTtnh_h8Wa9_k1eex-nrkjtfh4ZJI6Db6hJHI9w,2468
|
6
|
-
str_to_obj/catalog/boolean.py,sha256=
|
6
|
+
str_to_obj/catalog/boolean.py,sha256=G2ZkLqf1e3cpMzjiGgd3E0aAVs6_xlpzG3U2LiOFbio,3508
|
7
7
|
str_to_obj/catalog/callable.py,sha256=NCoogYzVBUSqiYEj_DoG-szqQdnYhvSj0xdyvg1W7Jw,3626
|
8
8
|
str_to_obj/catalog/choices.py,sha256=eZp_id2gWxgnzw7_RVEgy01s86c0Ci4MbRFZsRJMjJ8,3855
|
9
9
|
str_to_obj/catalog/collection.py,sha256=OkwsgiMFrdvIvLqp1e_bgjBix677knrCSo-vOes86pQ,6767
|
@@ -17,10 +17,10 @@ str_to_obj/task/comparison.py,sha256=HBzv7gBtOnROsC6Sq-FYpgd_MKzVJreboNiqkza3vJ8
|
|
17
17
|
str_to_obj/task/inspection.py,sha256=M8YnYq4A_Zz7rC2kgTYSSSawTnG2dCug5FBoCOBJ5g8,3127
|
18
18
|
str_to_obj/type/annotation.py,sha256=xXShME2Q344N3QlsqKtU6ttne54tTVC3b62CHU1TGUM,3838
|
19
19
|
str_to_obj/type/hint.py,sha256=w-yos8eD4CHQsXPfnqeqAc-ozyDWqzw46FOWDtAh7dM,2810
|
20
|
-
str_to_obj/type/hint_tree.py,sha256=
|
20
|
+
str_to_obj/type/hint_tree.py,sha256=0A0X-waAWLs8Q3MQ4FXlqQaIUXz6cDhBgw8vloIj0x4,7895
|
21
21
|
str_to_obj/type/type.py,sha256=ywc7GpzM1BsoQ3F0qk4wZ2DG1KZllw-PNv_umIGt8hA,4147
|
22
22
|
str_to_obj/type/value.py,sha256=r9Ko5HHant1JGbsO7vH1unRBr9guc61Jz2piuJT0BjM,2533
|
23
|
-
str_to_obj-2024.
|
24
|
-
str_to_obj-2024.
|
25
|
-
str_to_obj-2024.
|
26
|
-
str_to_obj-2024.
|
23
|
+
str_to_obj-2024.9.dist-info/METADATA,sha256=LiSzh_-1zQGm9oNB9HHDTb3O50K5wH5xs3Ql7p7expg,6464
|
24
|
+
str_to_obj-2024.9.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
25
|
+
str_to_obj-2024.9.dist-info/top_level.txt,sha256=h-6bR_TAnXRGVSLTeNPlivlaG64xYM3E__Xg7sCgeug,11
|
26
|
+
str_to_obj-2024.9.dist-info/RECORD,,
|
File without changes
|