polyapi-python 0.3.8.dev8__py3-none-any.whl → 0.3.8.dev9__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/deployables.py +1 -0
- polyapi/parser.py +7 -1
- polyapi/typedefs.py +1 -0
- {polyapi_python-0.3.8.dev8.dist-info → polyapi_python-0.3.8.dev9.dist-info}/METADATA +1 -1
- {polyapi_python-0.3.8.dev8.dist-info → polyapi_python-0.3.8.dev9.dist-info}/RECORD +8 -8
- {polyapi_python-0.3.8.dev8.dist-info → polyapi_python-0.3.8.dev9.dist-info}/WHEEL +0 -0
- {polyapi_python-0.3.8.dev8.dist-info → polyapi_python-0.3.8.dev9.dist-info}/licenses/LICENSE +0 -0
- {polyapi_python-0.3.8.dev8.dist-info → polyapi_python-0.3.8.dev9.dist-info}/top_level.txt +0 -0
polyapi/deployables.py
CHANGED
polyapi/parser.py
CHANGED
|
@@ -513,7 +513,13 @@ def parse_function_code(code: str, name: Optional[str] = "", context: Optional[s
|
|
|
513
513
|
deployable["context"] = context or deployable["config"].get("context", "")
|
|
514
514
|
deployable["name"] = name or deployable["config"].get("name", "")
|
|
515
515
|
deployable["disableAi"] = deployable["config"].get("disableAi", False)
|
|
516
|
-
deployable["description"] = deployable["
|
|
516
|
+
deployable["description"] = deployable["config"].get("description", "")
|
|
517
|
+
if deployable["description"]:
|
|
518
|
+
if deployable["description"] != deployable["types"].get("description", ""):
|
|
519
|
+
deployable["types"]["description"] = deployable["description"]
|
|
520
|
+
deployable["dirty"] = True
|
|
521
|
+
else:
|
|
522
|
+
deployable["description"] = deployable["types"].get("description", "")
|
|
517
523
|
if not deployable["name"]:
|
|
518
524
|
print_red("ERROR")
|
|
519
525
|
print("Function config is missing a name.")
|
polyapi/typedefs.py
CHANGED
|
@@ -6,13 +6,13 @@ polyapi/cli.py,sha256=unKqAoZ1hTGAeyYRfNQ6jO15Um7N4F95k__1qFue5bI,10659
|
|
|
6
6
|
polyapi/client.py,sha256=DW6ljG_xCwAo2yz23A9QfLooE6ZUDvSpdA4e_dCQjiQ,1418
|
|
7
7
|
polyapi/config.py,sha256=cAMv2n9tGN_BTvqt7V32o5F86qRhxAKyey_PoId2D8s,7638
|
|
8
8
|
polyapi/constants.py,sha256=sc-FnS0SngBLvSu1ZWMs0UCf9EYD1u1Yhfr-sZXGLns,607
|
|
9
|
-
polyapi/deployables.py,sha256=
|
|
9
|
+
polyapi/deployables.py,sha256=8x-Y7MlpWnTqsWhidmO6yVZe2nTChzma6hJNVsfg94s,12113
|
|
10
10
|
polyapi/error_handler.py,sha256=I_e0iz6VM23FLVQWJljxs2NGcl_OODbi43OcbnqBlp8,2398
|
|
11
11
|
polyapi/exceptions.py,sha256=Zh7i7eCUhDuXEdUYjatkLFTeZkrx1BJ1P5ePgbJ9eIY,89
|
|
12
12
|
polyapi/execute.py,sha256=sjI6BMBYPSCD6UngV9DzpJIRSU6p02aShNaTXhDExtY,3457
|
|
13
13
|
polyapi/function_cli.py,sha256=H0sVrbvRBXw_xeApe2MvQw8p_xE7jVTTOU-07Dg041A,4220
|
|
14
14
|
polyapi/generate.py,sha256=slCw9AOvQHQ8UtEaumFI1NoRvjH2Dj3Y33u7imQqi8c,19521
|
|
15
|
-
polyapi/parser.py,sha256=
|
|
15
|
+
polyapi/parser.py,sha256=20ZE7kSXx3UL7QVSIYYxzsnJlygVbsaDAg9q7c41WxQ,20695
|
|
16
16
|
polyapi/poly_schemas.py,sha256=TC_pCuK2lGCxEruW-og4fcQzliPZEbCGzrjAOLB-kXw,7061
|
|
17
17
|
polyapi/prepare.py,sha256=pRWBhpgqMtKP04P9F6PIA3eCkOpCxQSv9TZdR3qR34I,7216
|
|
18
18
|
polyapi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -20,12 +20,12 @@ polyapi/rendered_spec.py,sha256=nJEj2vRgG3N20fU4s-ThRtOIwAuTzXwXuOBIkXljDVc,2240
|
|
|
20
20
|
polyapi/schema.py,sha256=Czh94VsbVCOT44Eym3fzO5p-g3icjPHpebE40-JOPuY,4709
|
|
21
21
|
polyapi/server.py,sha256=YXWxhYBx-hluwDQ8Jvfpy2s8ogz0GsNTMcZVNcP5ca8,2147
|
|
22
22
|
polyapi/sync.py,sha256=PGdC0feBBjEVrF3d9EluW_OAxbWuzSrfh84czma8kWg,6476
|
|
23
|
-
polyapi/typedefs.py,sha256=
|
|
23
|
+
polyapi/typedefs.py,sha256=vJLZYBNmR3i8yQEDYlu1UfvtJyg6E1R1QyGlgFUm2rU,2362
|
|
24
24
|
polyapi/utils.py,sha256=1F7Dwst_PbPuUBUSxx5r8d2DHDgqHtu07QW92T_YSdw,12454
|
|
25
25
|
polyapi/variables.py,sha256=VAp2d5I-4WLYHCPF1w3pqU4-z8_XRQpYW-ddOw6G5S4,7268
|
|
26
26
|
polyapi/webhook.py,sha256=gWYXHz0PnB_uY_lnHeUlg3EIHfTGwF-Tc6UaatldZBw,5333
|
|
27
|
-
polyapi_python-0.3.8.
|
|
28
|
-
polyapi_python-0.3.8.
|
|
29
|
-
polyapi_python-0.3.8.
|
|
30
|
-
polyapi_python-0.3.8.
|
|
31
|
-
polyapi_python-0.3.8.
|
|
27
|
+
polyapi_python-0.3.8.dev9.dist-info/licenses/LICENSE,sha256=6b_I7aPVp8JXhqQwdw7_B84Ca0S4JGjHj0sr_1VOdB4,1068
|
|
28
|
+
polyapi_python-0.3.8.dev9.dist-info/METADATA,sha256=BJ99UKHoY-SonR3ELntHs-2vCKg4XvDBnYRa4TPf7q8,5782
|
|
29
|
+
polyapi_python-0.3.8.dev9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
30
|
+
polyapi_python-0.3.8.dev9.dist-info/top_level.txt,sha256=CEFllOnzowci_50RYJac-M54KD2IdAptFsayVVF_f04,8
|
|
31
|
+
polyapi_python-0.3.8.dev9.dist-info/RECORD,,
|
|
File without changes
|
{polyapi_python-0.3.8.dev8.dist-info → polyapi_python-0.3.8.dev9.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|