polyapi-python 0.3.1.dev12__py3-none-any.whl → 0.3.1.dev14__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/__init__.py +1 -2
- polyapi/typedefs.py +7 -7
- {polyapi_python-0.3.1.dev12.dist-info → polyapi_python-0.3.1.dev14.dist-info}/METADATA +3 -3
- {polyapi_python-0.3.1.dev12.dist-info → polyapi_python-0.3.1.dev14.dist-info}/RECORD +7 -7
- {polyapi_python-0.3.1.dev12.dist-info → polyapi_python-0.3.1.dev14.dist-info}/WHEEL +1 -1
- {polyapi_python-0.3.1.dev12.dist-info → polyapi_python-0.3.1.dev14.dist-info}/LICENSE +0 -0
- {polyapi_python-0.3.1.dev12.dist-info → polyapi_python-0.3.1.dev14.dist-info}/top_level.txt +0 -0
polyapi/__init__.py
CHANGED
|
@@ -11,8 +11,7 @@ __all__ = ["poly"]
|
|
|
11
11
|
if len(sys.argv) > 1 and sys.argv[1] not in CLI_COMMANDS:
|
|
12
12
|
currdir = os.path.dirname(os.path.abspath(__file__))
|
|
13
13
|
if not os.path.isdir(os.path.join(currdir, "poly")):
|
|
14
|
-
print(
|
|
15
|
-
# print("No 'poly' found. Please run 'python3 -m polyapi generate' to generate the 'poly' library for your tenant.")
|
|
14
|
+
print("No 'poly' found. Please run 'python3 -m polyapi generate' to generate the 'poly' library for your tenant.")
|
|
16
15
|
sys.exit(1)
|
|
17
16
|
|
|
18
17
|
|
polyapi/typedefs.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from typing import Any, List, Literal, Dict, Union
|
|
1
|
+
from typing import Any, List, Literal, Dict, Union
|
|
2
2
|
from typing_extensions import NotRequired, TypedDict
|
|
3
3
|
|
|
4
4
|
|
|
@@ -61,14 +61,14 @@ Visibility = Union[Literal['PUBLIC'], Literal['TENANT'], Literal['ENVIRONMENT']]
|
|
|
61
61
|
class PolyDeployable(TypedDict, total=False):
|
|
62
62
|
context: str
|
|
63
63
|
name: str
|
|
64
|
-
disable_ai:
|
|
64
|
+
disable_ai: NotRequired[bool] # Optional field to disable AI
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
class PolyServerFunction(PolyDeployable):
|
|
68
|
-
logs_enabled:
|
|
69
|
-
always_on:
|
|
70
|
-
visibility:
|
|
68
|
+
logs_enabled: NotRequired[bool]
|
|
69
|
+
always_on: NotRequired[bool]
|
|
70
|
+
visibility: NotRequired[Visibility]
|
|
71
71
|
|
|
72
72
|
class PolyClientFunction(PolyDeployable):
|
|
73
|
-
logs_enabled:
|
|
74
|
-
visibility:
|
|
73
|
+
logs_enabled: NotRequired[bool]
|
|
74
|
+
visibility: NotRequired[Visibility]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: polyapi-python
|
|
3
|
-
Version: 0.3.1.
|
|
3
|
+
Version: 0.3.1.dev14
|
|
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
|
|
@@ -29,10 +29,10 @@ Requires-Python: >=3.10
|
|
|
29
29
|
Description-Content-Type: text/markdown
|
|
30
30
|
License-File: LICENSE
|
|
31
31
|
Requires-Dist: requests==2.31.0
|
|
32
|
-
Requires-Dist:
|
|
32
|
+
Requires-Dist: typing_extensions==4.10.0
|
|
33
33
|
Requires-Dist: jsonschema-gentypes==2.6.0
|
|
34
34
|
Requires-Dist: pydantic==2.6.4
|
|
35
|
-
Requires-Dist:
|
|
35
|
+
Requires-Dist: stdlib_list==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
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
polyapi/__init__.py,sha256=
|
|
1
|
+
polyapi/__init__.py,sha256=a1Poy1kaTncYnUg6nWRcTjVm-R1CUQk12UX7VYQ9d5k,616
|
|
2
2
|
polyapi/__main__.py,sha256=V4zhAh_YGxno5f_KSrlkELxcuDh9bR3WSd0n-2r-qQQ,93
|
|
3
3
|
polyapi/api.py,sha256=e-8nOzq6SXD7_YPVBlW82_9wVxDCc8XD9ioMv_QvnH0,1877
|
|
4
4
|
polyapi/auth.py,sha256=zrIGatjba5GwUTNjKj1GHQWTEDP9B-HrSzCKbLFoqvc,5336
|
|
@@ -19,12 +19,12 @@ 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
21
|
polyapi/sync.py,sha256=icxMb-h8zkeN7rHZUOe-JiwkmMx2Ze5qum1ZI0bfQdk,6391
|
|
22
|
-
polyapi/typedefs.py,sha256=
|
|
22
|
+
polyapi/typedefs.py,sha256=U0i30Y9CgoUBWeMUbpM28S8eVOEU9NfdckK1VAop3A0,1994
|
|
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.
|
|
27
|
-
polyapi_python-0.3.1.
|
|
28
|
-
polyapi_python-0.3.1.
|
|
29
|
-
polyapi_python-0.3.1.
|
|
30
|
-
polyapi_python-0.3.1.
|
|
26
|
+
polyapi_python-0.3.1.dev14.dist-info/LICENSE,sha256=Hi0kDr56Dsy0uYIwNt4r9G7tI8x8miXRTlyvbeplCP8,1068
|
|
27
|
+
polyapi_python-0.3.1.dev14.dist-info/METADATA,sha256=fGaZjWbwwjA7YpsKp3tK1Kc_4jSIy_-SzEXWURrPMgg,5327
|
|
28
|
+
polyapi_python-0.3.1.dev14.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
29
|
+
polyapi_python-0.3.1.dev14.dist-info/top_level.txt,sha256=CEFllOnzowci_50RYJac-M54KD2IdAptFsayVVF_f04,8
|
|
30
|
+
polyapi_python-0.3.1.dev14.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|