libentry 1.20__py3-none-any.whl → 1.21__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.
- libentry/schema.py +6 -2
- {libentry-1.20.dist-info → libentry-1.21.dist-info}/METADATA +16 -8
- {libentry-1.20.dist-info → libentry-1.21.dist-info}/RECORD +8 -8
- {libentry-1.20.dist-info → libentry-1.21.dist-info}/WHEEL +1 -1
- {libentry-1.20.dist-info → libentry-1.21.dist-info}/entry_points.txt +0 -1
- {libentry-1.20.dist-info → libentry-1.21.dist-info}/LICENSE +0 -0
- {libentry-1.20.dist-info → libentry-1.21.dist-info}/top_level.txt +0 -0
- {libentry-1.20.dist-info → libentry-1.21.dist-info}/zip-safe +0 -0
libentry/schema.py
CHANGED
@@ -57,11 +57,15 @@ def parse_type(annotation, context: MutableMapping[str, Schema]) -> Union[str, L
|
|
57
57
|
origin=origin
|
58
58
|
)
|
59
59
|
|
60
|
-
|
61
|
-
for parser in parser_list:
|
60
|
+
for parser in _GENERIC_PARSERS:
|
62
61
|
output = parser(pc)
|
63
62
|
if output is not None:
|
64
63
|
return output
|
64
|
+
if isinstance(origin, type):
|
65
|
+
for parser in _TYPE_PARSERS:
|
66
|
+
output = parser(pc)
|
67
|
+
if output is not None:
|
68
|
+
return output
|
65
69
|
raise TypeError(f"Unsupported type \"{origin}\".")
|
66
70
|
|
67
71
|
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: libentry
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.21
|
4
4
|
Summary: Entries for experimental utilities.
|
5
5
|
Home-page: https://github.com/XoriieInpottn/libentry
|
6
6
|
Author: xi
|
@@ -9,13 +9,23 @@ License: Apache-2.0 license
|
|
9
9
|
Platform: any
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
11
11
|
Description-Content-Type: text/markdown
|
12
|
-
|
12
|
+
License-File: LICENSE
|
13
|
+
Requires-Dist: pydantic
|
13
14
|
Requires-Dist: PyYAML
|
14
|
-
Requires-Dist: gunicorn
|
15
15
|
Requires-Dist: numpy
|
16
|
-
Requires-Dist: psutil
|
17
|
-
Requires-Dist: pydantic
|
18
16
|
Requires-Dist: urllib3
|
17
|
+
Requires-Dist: Flask
|
18
|
+
Requires-Dist: gunicorn
|
19
|
+
Dynamic: author
|
20
|
+
Dynamic: author-email
|
21
|
+
Dynamic: classifier
|
22
|
+
Dynamic: description
|
23
|
+
Dynamic: description-content-type
|
24
|
+
Dynamic: home-page
|
25
|
+
Dynamic: license
|
26
|
+
Dynamic: platform
|
27
|
+
Dynamic: requires-dist
|
28
|
+
Dynamic: summary
|
19
29
|
|
20
30
|
# libentry
|
21
31
|
|
@@ -29,5 +39,3 @@ Requires-Dist: urllib3
|
|
29
39
|
2. Use its post() or get() method to send the request.
|
30
40
|
|
31
41
|
|
32
|
-
|
33
|
-
|
@@ -6,7 +6,7 @@ libentry/executor.py,sha256=cTV0WxJi0nU1TP-cOwmeodN8DD6L1691M2HIQsJtGrU,6582
|
|
6
6
|
libentry/experiment.py,sha256=ejgAHDXWIe9x4haUzIFuz1WasLY0_aD1z_vyEVGjTu8,4922
|
7
7
|
libentry/json.py,sha256=1-Kv5ZRb5dBrOTU84n6sZtYZV3xE-O6wEt_--ynbSaU,1209
|
8
8
|
libentry/logging.py,sha256=IiYoCUzm8XTK1fduA-NA0FI2Qz_m81NEPV3d3tEfgdI,1349
|
9
|
-
libentry/schema.py,sha256=
|
9
|
+
libentry/schema.py,sha256=o6JcdR00Yj4_Qjmlo100OlQpMVnl0PgvvwVVrL9limw,8268
|
10
10
|
libentry/server.py,sha256=gYPoZXd0umlDYZf-6ZV0_vJadg3YQvnLDc6JFDJh9jc,1503
|
11
11
|
libentry/test_api.py,sha256=GFmirvxfCAQ-nhh6QXyB5EpF4WaENCc3Eoymuk5JxBQ,4448
|
12
12
|
libentry/service/__init__.py,sha256=1oLL20yLB1GL9IbFiZD8OReDqiCpFr-yetIR6x1cNkI,23
|
@@ -16,10 +16,10 @@ libentry/service/list.py,sha256=ElHWhTgShGOhaxMUEwVbMXos0NQKjHsODboiQ-3AMwE,1397
|
|
16
16
|
libentry/service/running.py,sha256=FrPJoJX6wYxcHIysoatAxhW3LajCCm0Gx6l7__6sULQ,5105
|
17
17
|
libentry/service/start.py,sha256=mZT7b9rVULvzy9GTZwxWnciCHgv9dbGN2JbxM60OMn4,1270
|
18
18
|
libentry/service/stop.py,sha256=wOpwZgrEJ7QirntfvibGq-XsTC6b3ELhzRW2zezh-0s,1187
|
19
|
-
libentry-1.
|
20
|
-
libentry-1.
|
21
|
-
libentry-1.
|
22
|
-
libentry-1.
|
23
|
-
libentry-1.
|
24
|
-
libentry-1.
|
25
|
-
libentry-1.
|
19
|
+
libentry-1.21.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
20
|
+
libentry-1.21.dist-info/METADATA,sha256=_WRBE701A14mz9idf8wRi6UnN6ZSo9e8X1KyjNxj1zw,1017
|
21
|
+
libentry-1.21.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
22
|
+
libentry-1.21.dist-info/entry_points.txt,sha256=1v_nLVDsjvVJp9SWhl4ef2zZrsLTBtFWgrYFgqvQBgc,61
|
23
|
+
libentry-1.21.dist-info/top_level.txt,sha256=u2uF6-X5fn2Erf9PYXOg_6tntPqTpyT-yzUZrltEd6I,9
|
24
|
+
libentry-1.21.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
25
|
+
libentry-1.21.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|