modAL 1.3.1.dev29__py3-none-any.whl → 1.3.1.dev31__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.
- modal/__main__.py +2 -1
- modal/cli/_traceback.py +2 -1
- modal/client.pyi +2 -2
- {modal-1.3.1.dev29.dist-info → modal-1.3.1.dev31.dist-info}/METADATA +1 -1
- {modal-1.3.1.dev29.dist-info → modal-1.3.1.dev31.dist-info}/RECORD +13 -13
- modal_proto/api.proto +2 -0
- modal_proto/api_pb2.py +314 -314
- modal_proto/api_pb2.pyi +9 -2
- modal_version/__init__.py +1 -1
- {modal-1.3.1.dev29.dist-info → modal-1.3.1.dev31.dist-info}/WHEEL +0 -0
- {modal-1.3.1.dev29.dist-info → modal-1.3.1.dev31.dist-info}/entry_points.txt +0 -0
- {modal-1.3.1.dev29.dist-info → modal-1.3.1.dev31.dist-info}/licenses/LICENSE +0 -0
- {modal-1.3.1.dev29.dist-info → modal-1.3.1.dev31.dist-info}/top_level.txt +0 -0
modal/__main__.py
CHANGED
|
@@ -35,6 +35,7 @@ def main():
|
|
|
35
35
|
):
|
|
36
36
|
raise
|
|
37
37
|
|
|
38
|
+
from rich.markup import escape
|
|
38
39
|
from rich.panel import Panel
|
|
39
40
|
|
|
40
41
|
title = "Error"
|
|
@@ -43,7 +44,7 @@ def main():
|
|
|
43
44
|
content = f"{content}\n\nNote: {' '.join(notes)}"
|
|
44
45
|
|
|
45
46
|
console = make_console(stderr=True)
|
|
46
|
-
panel = Panel(content, title=title, title_align="left", border_style="red")
|
|
47
|
+
panel = Panel(escape(content), title=title, title_align="left", border_style="red")
|
|
47
48
|
console.print(panel, highlight=False)
|
|
48
49
|
sys.exit(1)
|
|
49
50
|
|
modal/cli/_traceback.py
CHANGED
|
@@ -7,6 +7,7 @@ import warnings
|
|
|
7
7
|
from typing import Optional
|
|
8
8
|
|
|
9
9
|
from rich.console import RenderResult, group
|
|
10
|
+
from rich.markup import escape
|
|
10
11
|
from rich.panel import Panel
|
|
11
12
|
from rich.syntax import Syntax
|
|
12
13
|
from rich.text import Text
|
|
@@ -189,7 +190,7 @@ def highlight_modal_warnings() -> None:
|
|
|
189
190
|
if date:
|
|
190
191
|
title += f" ({date})"
|
|
191
192
|
panel = Panel(
|
|
192
|
-
message,
|
|
193
|
+
escape(message),
|
|
193
194
|
border_style="yellow",
|
|
194
195
|
title=title,
|
|
195
196
|
title_align="left",
|
modal/client.pyi
CHANGED
|
@@ -35,7 +35,7 @@ class _Client:
|
|
|
35
35
|
server_url: str,
|
|
36
36
|
client_type: int,
|
|
37
37
|
credentials: typing.Optional[tuple[str, str]],
|
|
38
|
-
version: str = "1.3.1.
|
|
38
|
+
version: str = "1.3.1.dev31",
|
|
39
39
|
):
|
|
40
40
|
"""mdmd:hidden
|
|
41
41
|
The Modal client object is not intended to be instantiated directly by users.
|
|
@@ -166,7 +166,7 @@ class Client:
|
|
|
166
166
|
server_url: str,
|
|
167
167
|
client_type: int,
|
|
168
168
|
credentials: typing.Optional[tuple[str, str]],
|
|
169
|
-
version: str = "1.3.1.
|
|
169
|
+
version: str = "1.3.1.dev31",
|
|
170
170
|
):
|
|
171
171
|
"""mdmd:hidden
|
|
172
172
|
The Modal client object is not intended to be instantiated directly by users.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
modal/__init__.py,sha256=K84VA1KG2BCeg_rF47a1QXE3H_uunFmYJmyFZ-2TrYU,2684
|
|
2
|
-
modal/__main__.py,sha256=
|
|
2
|
+
modal/__main__.py,sha256=9w-NF9zFKgpY7D9kNx8DkP0sjqOhw2ip6JCdIZMoYiA,1644
|
|
3
3
|
modal/_billing.py,sha256=plJei3pEERVQMc_r7GvN1OKT9GAFdrI8Jl4biDw2CXY,3170
|
|
4
4
|
modal/_clustered_functions.py,sha256=7amiOxErtlciWeBJBL2KvaxerUomJpTAJ3qElflFHQA,2884
|
|
5
5
|
modal/_clustered_functions.pyi,sha256=JmYwAGOLEnD5AF-gYF9O5tu-SgGjeoJz-X1j48b1Ijg,1157
|
|
@@ -27,7 +27,7 @@ modal/app.pyi,sha256=0myfmGDqVoEoxTUWFG_Z4-0KFMlXZXe8k5hcFzl8k2I,50863
|
|
|
27
27
|
modal/billing.py,sha256=zmQ3bcCJlwa4KD1IA_QgdWpm1pn13c-7qfy79iEauYI,195
|
|
28
28
|
modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
|
|
29
29
|
modal/client.py,sha256=K-QI0NvoX7Ir3TIywVRM8wbWaTQk6jqjbkTah1kmJlg,14602
|
|
30
|
-
modal/client.pyi,sha256=
|
|
30
|
+
modal/client.pyi,sha256=oRddhVAAhc9gnx1mJ6WOUge2uWDO9DNdu9foWymE3MQ,14672
|
|
31
31
|
modal/cloud_bucket_mount.py,sha256=cvVj5Rt4nDHoQbTneoJPTaAcnl_Ab_mrsjnnzd0v9OI,6013
|
|
32
32
|
modal/cloud_bucket_mount.pyi,sha256=vXusGMOUk9HjCs4lhxteuCK4xLQclPfugGWKo7LECEA,7539
|
|
33
33
|
modal/cls.py,sha256=DNXcOrd9l2DoX-nLGdpwXm-N9V0BbQEvWA7d2UwFf44,41510
|
|
@@ -135,7 +135,7 @@ modal/builder/README.md,sha256=9tK76KP0Uph7O0M5oUgsSwEZDj5y-dcUPsnpR0Sc-Ik,854
|
|
|
135
135
|
modal/builder/base-images.json,sha256=9zgY2-a2U_iEBBe60VNLQvErJQosRhQuXXRqcG6mHGg,1348
|
|
136
136
|
modal/cli/__init__.py,sha256=6FRleWQxBDT19y7OayO4lBOzuL6Bs9r0rLINYYYbHwQ,769
|
|
137
137
|
modal/cli/_download.py,sha256=_Q_CG1Qb4cjVSAwHGGPOPoNTsmK9gHvF-HNWCNdFjaY,4900
|
|
138
|
-
modal/cli/_traceback.py,sha256=
|
|
138
|
+
modal/cli/_traceback.py,sha256=EqsLTVtnrAgo9b7vVDr5TV_bAGP30VTLfcoDOAcrNLI,7363
|
|
139
139
|
modal/cli/app.py,sha256=rbuAG92my-1eZN0olk6p2eD4oBnyBliUsrCOUW-U-9k,7832
|
|
140
140
|
modal/cli/cluster.py,sha256=BLcKDpwpDmlqE2UC4V0qNpJKiQ-ZXfI9g_SE7u6vnIU,3347
|
|
141
141
|
modal/cli/config.py,sha256=7xgglsSf5pKfE7ZLz-uZf9S11NBuNbUkUbcZ5nFk8Y0,1721
|
|
@@ -161,7 +161,7 @@ modal/experimental/__init__.py,sha256=GOuo3t4-Le0ZVddiHIOw0MQxkdTJge-bVbhDvgnblm
|
|
|
161
161
|
modal/experimental/flash.py,sha256=37gU4dX2kdGnbV9UXS2jLe8O-Z0Ed6p00xSobo9t9Bo,30930
|
|
162
162
|
modal/experimental/flash.pyi,sha256=W62a0AhmLUuH9a0n8Y3-DYhyEEFH3-bRUQFphOQfKHg,16418
|
|
163
163
|
modal/experimental/ipython.py,sha256=TrCfmol9LGsRZMeDoeMPx3Hv3BFqQhYnmD_iH0pqdhk,2904
|
|
164
|
-
modal-1.3.1.
|
|
164
|
+
modal-1.3.1.dev31.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
|
165
165
|
modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
|
|
166
166
|
modal_docs/gen_cli_docs.py,sha256=c1yfBS_x--gL5bs0N4ihMwqwX8l3IBWSkBAKNNIi6bQ,3801
|
|
167
167
|
modal_docs/gen_reference_docs.py,sha256=d_CQUGQ0rfw28u75I2mov9AlS773z9rG40-yq5o7g2U,6359
|
|
@@ -169,10 +169,10 @@ modal_docs/mdmd/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,2
|
|
|
169
169
|
modal_docs/mdmd/mdmd.py,sha256=tUTImNd4UMFk1opkaw8J672gX8AkBO5gbY2S_NMxsxs,7140
|
|
170
170
|
modal_docs/mdmd/signatures.py,sha256=XJaZrK7Mdepk5fdX51A8uENiLFNil85Ud0d4MH8H5f0,3218
|
|
171
171
|
modal_proto/__init__.py,sha256=MIEP8jhXUeGq_eCjYFcqN5b1bxBM4fdk0VESpjWR0fc,28
|
|
172
|
-
modal_proto/api.proto,sha256=
|
|
172
|
+
modal_proto/api.proto,sha256=g_zEGP5abwFgsZQBqxZSHYnjgpyAIpC5IaIg1m9iL8Y,112449
|
|
173
173
|
modal_proto/api_grpc.py,sha256=ozNudkNLbPLp2bFm0bJtb0FHK9ACvJXXnGy771noCKc,135188
|
|
174
|
-
modal_proto/api_pb2.py,sha256=
|
|
175
|
-
modal_proto/api_pb2.pyi,sha256=
|
|
174
|
+
modal_proto/api_pb2.py,sha256=x2EEvvJEUWvI_YpDGhmB58zO7E0FiWlajTw-0A5IHKY,389103
|
|
175
|
+
modal_proto/api_pb2.pyi,sha256=yRH74q8BjkgTWyzVk_iGJbJDb5UkQW2Cl7XQf0TBykg,550601
|
|
176
176
|
modal_proto/api_pb2_grpc.py,sha256=hHdfvfbS6HELZXTmHNfxlgPxFRDSc2B81G8YRtLwuHM,291347
|
|
177
177
|
modal_proto/api_pb2_grpc.pyi,sha256=cqpXpAVrLoMQMCCyzyW5oXSFKmUPC9Y2wkTOpwNeAGM,68141
|
|
178
178
|
modal_proto/modal_api_grpc.py,sha256=ls_o6oVYm8iup0nbKGPqs-CcJZJrry0eIY51mQFJRUc,21407
|
|
@@ -183,10 +183,10 @@ modal_proto/task_command_router_pb2.py,sha256=2Y8wRvnq4_7RiQ-5ZAPIgXaxrHv_MXzgS5
|
|
|
183
183
|
modal_proto/task_command_router_pb2.pyi,sha256=yI4tFteErLlonFA2HyaWtONfhY_VGSe7KCWFIspvmkE,16323
|
|
184
184
|
modal_proto/task_command_router_pb2_grpc.py,sha256=q2VWfK2-4uDcPaPLhAqPZkgxhuQRYnWmwUcnEbPbGuk,13895
|
|
185
185
|
modal_proto/task_command_router_pb2_grpc.pyi,sha256=e1MM10VGUgDkm041v53QeTglGQPzTpA0FUsFtezjp74,4536
|
|
186
|
-
modal_version/__init__.py,sha256=
|
|
186
|
+
modal_version/__init__.py,sha256=hGYv6-FFI14aLksTIbjV3DoaN8QcOKVWA2XJAaZ3778,121
|
|
187
187
|
modal_version/__main__.py,sha256=nLUbubxKx7GXNzJIkTB7M7_u8080LyLM0IS0rzFkC_c,119
|
|
188
|
-
modal-1.3.1.
|
|
189
|
-
modal-1.3.1.
|
|
190
|
-
modal-1.3.1.
|
|
191
|
-
modal-1.3.1.
|
|
192
|
-
modal-1.3.1.
|
|
188
|
+
modal-1.3.1.dev31.dist-info/METADATA,sha256=KJLsk8ULNY_KUfpjV6znRgOqZb1ZhvTUCzwD0cVgEfk,2582
|
|
189
|
+
modal-1.3.1.dev31.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
|
190
|
+
modal-1.3.1.dev31.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
|
|
191
|
+
modal-1.3.1.dev31.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
|
|
192
|
+
modal-1.3.1.dev31.dist-info/RECORD,,
|