polyapi-python 0.3.14.dev1__py3-none-any.whl → 0.3.14.dev2__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/constants.py CHANGED
@@ -3,8 +3,8 @@ JSONSCHEMA_TO_PYTHON_TYPE_MAP = {
3
3
  "number": "float",
4
4
  "string": "str",
5
5
  "boolean": "bool",
6
- "array": "List",
7
- "object": "Dict",
6
+ "array": "list",
7
+ "object": "dict",
8
8
  "function": "Callable",
9
9
  "void": "None",
10
10
  }
@@ -15,10 +15,13 @@ PYTHON_TO_JSONSCHEMA_TYPE_MAP = {
15
15
  "float": "number",
16
16
  "str": "string",
17
17
  "bool": "boolean",
18
- "List": "array",
19
- "Dict": "object",
18
+ "list": "array",
19
+ "dict": "object",
20
20
  "Callable": "function",
21
21
  "None": "void",
22
+ # Keep uppercase aliases for backwards compatibility
23
+ "List": "array",
24
+ "Dict": "object",
22
25
  }
23
26
 
24
27
  BASIC_PYTHON_TYPES = set(PYTHON_TO_JSONSCHEMA_TYPE_MAP.keys())
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: polyapi-python
3
- Version: 0.3.14.dev1
3
+ Version: 0.3.14.dev2
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
@@ -30,9 +30,9 @@ Description-Content-Type: text/markdown
30
30
  License-File: LICENSE
31
31
  Requires-Dist: requests>=2.32.3
32
32
  Requires-Dist: typing_extensions>=4.12.2
33
- Requires-Dist: jsonschema-gentypes==2.6.0
34
- Requires-Dist: pydantic>=2.8.0
35
- Requires-Dist: stdlib_list>=0.10.0
33
+ Requires-Dist: jsonschema-gentypes==2.10.0
34
+ Requires-Dist: pydantic<3.0.0,>=2.8.0
35
+ Requires-Dist: stdlib_list<1.0.0,>=0.10.0
36
36
  Requires-Dist: colorama==0.4.4
37
37
  Requires-Dist: python-socketio[asyncio_client]==5.11.1
38
38
  Requires-Dist: truststore>=0.8.0
@@ -5,7 +5,7 @@ polyapi/auth.py,sha256=l0pGAoYvEWqa2TMsrM9GS8imXu3GsWvpn4eFPy1vksI,6195
5
5
  polyapi/cli.py,sha256=3M6XpMhpvQSHq4X8tBsq7N93YEwyVIqNFkz1tx_6aSs,11107
6
6
  polyapi/client.py,sha256=DW6ljG_xCwAo2yz23A9QfLooE6ZUDvSpdA4e_dCQjiQ,1418
7
7
  polyapi/config.py,sha256=dnowfPKEau5sA4zwBzLK_dYAHA-Wi3AOnMtDNsYwUmM,7520
8
- polyapi/constants.py,sha256=sc-FnS0SngBLvSu1ZWMs0UCf9EYD1u1Yhfr-sZXGLns,607
8
+ polyapi/constants.py,sha256=i3j0-ptd7XEs6ovnYegEhiP0BRs1JSKAq1oE5CWbDVo,707
9
9
  polyapi/deployables.py,sha256=njmqTU0W7d3JdDWhjjjr2UOghEv4bTKUN-3ztJvcC7o,12233
10
10
  polyapi/error_handler.py,sha256=I_e0iz6VM23FLVQWJljxs2NGcl_OODbi43OcbnqBlp8,2398
11
11
  polyapi/exceptions.py,sha256=Zh7i7eCUhDuXEdUYjatkLFTeZkrx1BJ1P5ePgbJ9eIY,89
@@ -26,8 +26,8 @@ polyapi/typedefs.py,sha256=mfll-KrngOW0wzbvDNiIDaDkFMwbsT-MY5y5hzWj9RE,5642
26
26
  polyapi/utils.py,sha256=VN8n_jvphderplI5MDYjSutxVnYbJjHhJznYkwjgstw,13349
27
27
  polyapi/variables.py,sha256=hfSDPGQK6YphNCa9MqE0W88WIFfqCQWgpBDWkExMq-A,7582
28
28
  polyapi/webhook.py,sha256=0ceLwHNjNd2Yx_8MX5jOIxiQ5Lwhy2pe81ProAuKon0,5108
29
- polyapi_python-0.3.14.dev1.dist-info/licenses/LICENSE,sha256=6b_I7aPVp8JXhqQwdw7_B84Ca0S4JGjHj0sr_1VOdB4,1068
30
- polyapi_python-0.3.14.dev1.dist-info/METADATA,sha256=X2RhN7oTKSIFtSQ1wXqKc0Jq9QTWLUBCwyBpgnzmtpw,5913
31
- polyapi_python-0.3.14.dev1.dist-info/WHEEL,sha256=YCfwYGOYMi5Jhw2fU4yNgwErybb2IX5PEwBKV4ZbdBo,91
32
- polyapi_python-0.3.14.dev1.dist-info/top_level.txt,sha256=CEFllOnzowci_50RYJac-M54KD2IdAptFsayVVF_f04,8
33
- polyapi_python-0.3.14.dev1.dist-info/RECORD,,
29
+ polyapi_python-0.3.14.dev2.dist-info/licenses/LICENSE,sha256=6b_I7aPVp8JXhqQwdw7_B84Ca0S4JGjHj0sr_1VOdB4,1068
30
+ polyapi_python-0.3.14.dev2.dist-info/METADATA,sha256=xOFSWEGUStR7z9kepTsvF3CuyEWqYSC9XggXEErB39Q,5928
31
+ polyapi_python-0.3.14.dev2.dist-info/WHEEL,sha256=YCfwYGOYMi5Jhw2fU4yNgwErybb2IX5PEwBKV4ZbdBo,91
32
+ polyapi_python-0.3.14.dev2.dist-info/top_level.txt,sha256=CEFllOnzowci_50RYJac-M54KD2IdAptFsayVVF_f04,8
33
+ polyapi_python-0.3.14.dev2.dist-info/RECORD,,