polyapi-python 0.2.5.dev9__py3-none-any.whl → 0.2.5.dev10__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.
- polyapi/schema.py +3 -1
- {polyapi_python-0.2.5.dev9.dist-info → polyapi_python-0.2.5.dev10.dist-info}/METADATA +1 -1
- {polyapi_python-0.2.5.dev9.dist-info → polyapi_python-0.2.5.dev10.dist-info}/RECORD +6 -6
- {polyapi_python-0.2.5.dev9.dist-info → polyapi_python-0.2.5.dev10.dist-info}/LICENSE +0 -0
- {polyapi_python-0.2.5.dev9.dist-info → polyapi_python-0.2.5.dev10.dist-info}/WHEEL +0 -0
- {polyapi_python-0.2.5.dev9.dist-info → polyapi_python-0.2.5.dev10.dist-info}/top_level.txt +0 -0
polyapi/schema.py
CHANGED
|
@@ -36,8 +36,10 @@ def wrapped_generate_schema_types(type_spec: dict, root, fallback_type):
|
|
|
36
36
|
if not root:
|
|
37
37
|
root = "MyList" if fallback_type == "List" else "MyDict"
|
|
38
38
|
|
|
39
|
+
root = clean_title(root)
|
|
40
|
+
|
|
39
41
|
try:
|
|
40
|
-
return
|
|
42
|
+
return root, generate_schema_types(type_spec, root=root)
|
|
41
43
|
except RecursionError:
|
|
42
44
|
# some schemas are so huge, our library cant handle it
|
|
43
45
|
# TODO identify critical recursion penalty and maybe switch underlying logic to iterative?
|
|
@@ -13,14 +13,14 @@ polyapi/function_cli.py,sha256=4G4xqDCF7HSVERXRJx1D3uytNI1_mhaU-bNFeNRsQ3E,9231
|
|
|
13
13
|
polyapi/generate.py,sha256=dtS6Wyb_lq9FrOs7NA_ceKCX9rogx2_3Fp57_hGwdDc,7957
|
|
14
14
|
polyapi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
15
|
polyapi/rendered_spec.py,sha256=yfOqZRx8BOkw5QfdrUx1m1SY2ne0Q1BolPmuSYIWwow,2230
|
|
16
|
-
polyapi/schema.py,sha256=
|
|
16
|
+
polyapi/schema.py,sha256=K7ayGu6K5vBTTvqr-Iqhf1QttqRFaXoJmtmGJRuDSTI,3577
|
|
17
17
|
polyapi/server.py,sha256=n-nMGjXoq9T9ZwE2EBDkAaxJ7UytConGaHthkjbkCXA,1894
|
|
18
18
|
polyapi/typedefs.py,sha256=mRqwd2LKofxNn_VSKxBzixni2j-tai8mfTQ0Wi2aLNM,1487
|
|
19
19
|
polyapi/utils.py,sha256=f003Y5qP1uuyMKrvvaIUYS1TSGfSZjLnwPiXR5o4eA8,6530
|
|
20
20
|
polyapi/variables.py,sha256=d36-trnfTL_8m2NkorMiImb4O3UrJbiFV38CHxV5i0A,4200
|
|
21
21
|
polyapi/webhook.py,sha256=GvnS49Vl4k5STTvv4KKUnUAyn27OhIHHXChFmiI53Cs,4849
|
|
22
|
-
polyapi_python-0.2.5.
|
|
23
|
-
polyapi_python-0.2.5.
|
|
24
|
-
polyapi_python-0.2.5.
|
|
25
|
-
polyapi_python-0.2.5.
|
|
26
|
-
polyapi_python-0.2.5.
|
|
22
|
+
polyapi_python-0.2.5.dev10.dist-info/LICENSE,sha256=Hi0kDr56Dsy0uYIwNt4r9G7tI8x8miXRTlyvbeplCP8,1068
|
|
23
|
+
polyapi_python-0.2.5.dev10.dist-info/METADATA,sha256=xnUY6R6lpBq01nLMnja7YeWblDbkSk-Sg97_B1Q2MwA,4868
|
|
24
|
+
polyapi_python-0.2.5.dev10.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
25
|
+
polyapi_python-0.2.5.dev10.dist-info/top_level.txt,sha256=CEFllOnzowci_50RYJac-M54KD2IdAptFsayVVF_f04,8
|
|
26
|
+
polyapi_python-0.2.5.dev10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|