polyapi-python 0.3.1.dev8__py3-none-any.whl → 0.3.1.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/sync.py CHANGED
@@ -54,7 +54,9 @@ def sync_function_and_get_id(deployable: SyncDeployment, code: str) -> str:
54
54
  "name": deployable["name"],
55
55
  "description": deployable["description"],
56
56
  "code": code,
57
- "typeSchemas": deployable["typeSchemas"],
57
+ "language": "python",
58
+ "returnType": deployable["types"]["returns"]["type"],
59
+ "returnTypeSchema": deployable["types"]["returns"]["typeSchema"],
58
60
  **deployable["config"],
59
61
  "arguments": [{**p, "type": get_jsonschema_type(p["type"]) } for p in deployable["types"]["params"]],
60
62
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: polyapi-python
3
- Version: 0.3.1.dev8
3
+ Version: 0.3.1.dev9
4
4
  Summary: The Python Client for PolyAPI, the IPaaS by Developers for Developers
5
5
  Author-email: Dan Fellin <dan@polyapi.io>
6
6
  License: MIT License
@@ -18,13 +18,13 @@ polyapi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
18
  polyapi/rendered_spec.py,sha256=uaNzBhP4cX7iGfKwzZv0dxMagWzsGeDr0cQYx_AyIhQ,2153
19
19
  polyapi/schema.py,sha256=VVMHAT5yU47cRC7xF44BrmUSemlk5oIKSxH2HTVPaQ8,3169
20
20
  polyapi/server.py,sha256=NzQCZFSAJK7XiRw1kiU_i9uMvgYK7i8qh7UX2xjytJU,1908
21
- polyapi/sync.py,sha256=4AMEu7900T-3UmUl7FC8GaubGxu_n8MP6BLf5SLhLBk,6170
21
+ polyapi/sync.py,sha256=umI20a_EMRJ4OJeDlJviLM4QiXl9pLzH0T2TiEhIv2A,6286
22
22
  polyapi/typedefs.py,sha256=jmKprGFQSxmJXvwV53p-MFMcStmTp-tsgsynWjoVmU0,1986
23
23
  polyapi/utils.py,sha256=jzCh-ivKMcgp5fIXynhYmP9UyzsISr9bGGEzdPP8n3w,7644
24
24
  polyapi/variables.py,sha256=d36-trnfTL_8m2NkorMiImb4O3UrJbiFV38CHxV5i0A,4200
25
25
  polyapi/webhook.py,sha256=LWv28c2MLz_OKBI_Nn7WR4C-gs1SWgbdXsoxIIf-9UI,4886
26
- polyapi_python-0.3.1.dev8.dist-info/LICENSE,sha256=Hi0kDr56Dsy0uYIwNt4r9G7tI8x8miXRTlyvbeplCP8,1068
27
- polyapi_python-0.3.1.dev8.dist-info/METADATA,sha256=t1pHAF2Pg0l30M-d3IHPFfLrv-pD8HuwQqGbVwIkSds,5326
28
- polyapi_python-0.3.1.dev8.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
29
- polyapi_python-0.3.1.dev8.dist-info/top_level.txt,sha256=CEFllOnzowci_50RYJac-M54KD2IdAptFsayVVF_f04,8
30
- polyapi_python-0.3.1.dev8.dist-info/RECORD,,
26
+ polyapi_python-0.3.1.dev9.dist-info/LICENSE,sha256=Hi0kDr56Dsy0uYIwNt4r9G7tI8x8miXRTlyvbeplCP8,1068
27
+ polyapi_python-0.3.1.dev9.dist-info/METADATA,sha256=VV6QMnrjYHJr6PulEF9ZcJxH6klfpbKm3913kaCoGxU,5326
28
+ polyapi_python-0.3.1.dev9.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
29
+ polyapi_python-0.3.1.dev9.dist-info/top_level.txt,sha256=CEFllOnzowci_50RYJac-M54KD2IdAptFsayVVF_f04,8
30
+ polyapi_python-0.3.1.dev9.dist-info/RECORD,,