modal 0.73.52__py3-none-any.whl → 0.73.54__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/app.py +3 -0
- modal/client.pyi +2 -2
- {modal-0.73.52.dist-info → modal-0.73.54.dist-info}/METADATA +1 -1
- {modal-0.73.52.dist-info → modal-0.73.54.dist-info}/RECORD +12 -12
- modal_proto/api.proto +3 -2
- modal_proto/api_pb2.py +508 -506
- modal_proto/api_pb2.pyi +5 -1
- modal_version/_version_generated.py +1 -1
- {modal-0.73.52.dist-info → modal-0.73.54.dist-info}/LICENSE +0 -0
- {modal-0.73.52.dist-info → modal-0.73.54.dist-info}/WHEEL +0 -0
- {modal-0.73.52.dist-info → modal-0.73.54.dist-info}/entry_points.txt +0 -0
- {modal-0.73.52.dist-info → modal-0.73.54.dist-info}/top_level.txt +0 -0
modal/app.py
CHANGED
@@ -33,6 +33,7 @@ from ._utils.deprecation import deprecation_error, deprecation_warning, renamed_
|
|
33
33
|
from ._utils.function_utils import FunctionInfo, is_global_object, is_method_fn
|
34
34
|
from ._utils.grpc_utils import retry_transient_errors
|
35
35
|
from ._utils.mount_utils import validate_volumes
|
36
|
+
from ._utils.name_utils import check_object_name
|
36
37
|
from .client import _Client
|
37
38
|
from .cloud_bucket_mount import _CloudBucketMount
|
38
39
|
from .cls import _Cls, parameter
|
@@ -263,6 +264,8 @@ class _App:
|
|
263
264
|
modal.Sandbox.create("echo", "hi", app=app)
|
264
265
|
```
|
265
266
|
"""
|
267
|
+
check_object_name(name, "App")
|
268
|
+
|
266
269
|
if client is None:
|
267
270
|
client = await _Client.from_env()
|
268
271
|
|
modal/client.pyi
CHANGED
@@ -27,7 +27,7 @@ class _Client:
|
|
27
27
|
_snapshotted: bool
|
28
28
|
|
29
29
|
def __init__(
|
30
|
-
self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.73.
|
30
|
+
self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.73.54"
|
31
31
|
): ...
|
32
32
|
def is_closed(self) -> bool: ...
|
33
33
|
@property
|
@@ -85,7 +85,7 @@ class Client:
|
|
85
85
|
_snapshotted: bool
|
86
86
|
|
87
87
|
def __init__(
|
88
|
-
self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.73.
|
88
|
+
self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.73.54"
|
89
89
|
): ...
|
90
90
|
def is_closed(self) -> bool: ...
|
91
91
|
@property
|
@@ -18,11 +18,11 @@ modal/_traceback.py,sha256=IZQzB3fVlUfMHOSyKUgw0H6qv4yHnpyq-XVCNZKfUdA,5023
|
|
18
18
|
modal/_tunnel.py,sha256=zTBxBiuH1O22tS1OliAJdIsSmaZS8PlnifS_6S5z-mk,6320
|
19
19
|
modal/_tunnel.pyi,sha256=JmmDYAy9F1FpgJ_hWx0xkom2nTOFQjn4mTPYlU3PFo4,1245
|
20
20
|
modal/_watcher.py,sha256=K6LYnlmSGQB4tWWI9JADv-tvSvQ1j522FwT71B51CX8,3584
|
21
|
-
modal/app.py,sha256=
|
21
|
+
modal/app.py,sha256=o5mHoHtn41nkvskX_ekJkyfG6MXwj5rqerRi_nnPd0w,44725
|
22
22
|
modal/app.pyi,sha256=0MMCgskIL4r3eq8oBcfm2lLyeao2gXjS3iXaIfmaJ-o,25959
|
23
23
|
modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
|
24
24
|
modal/client.py,sha256=8SQawr7P1PNUCq1UmJMUQXG2jIo4Nmdcs311XqrNLRE,15276
|
25
|
-
modal/client.pyi,sha256=
|
25
|
+
modal/client.pyi,sha256=LprjbulAA-06i_GnsqddKKY06yDMjwtusjYQcg28VaA,7593
|
26
26
|
modal/cloud_bucket_mount.py,sha256=YOe9nnvSr4ZbeCn587d7_VhE9IioZYRvF9VYQTQux08,5914
|
27
27
|
modal/cloud_bucket_mount.pyi,sha256=30T3K1a89l6wzmEJ_J9iWv9SknoGqaZDx59Xs-ZQcmk,1607
|
28
28
|
modal/cls.py,sha256=nJhJr-YuttOmdNWxtMHcBV-q6iQmY5qXkEy9yO43clY,31130
|
@@ -151,10 +151,10 @@ modal_docs/mdmd/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,2
|
|
151
151
|
modal_docs/mdmd/mdmd.py,sha256=Irx49MCCTlBOP4FBdLR--JrpA3-WhsVeriq0LGgsRic,6232
|
152
152
|
modal_docs/mdmd/signatures.py,sha256=XJaZrK7Mdepk5fdX51A8uENiLFNil85Ud0d4MH8H5f0,3218
|
153
153
|
modal_proto/__init__.py,sha256=MIEP8jhXUeGq_eCjYFcqN5b1bxBM4fdk0VESpjWR0fc,28
|
154
|
-
modal_proto/api.proto,sha256=
|
154
|
+
modal_proto/api.proto,sha256=4ITRzGTnCMFHy8ZQHgM6trc_mpbb1Y4tRQ9RyLstPQU,86872
|
155
155
|
modal_proto/api_grpc.py,sha256=FYGqDegM_w_qxdtlxum8k31mDibKoMvmNxv_p9cKdKs,109056
|
156
|
-
modal_proto/api_pb2.py,sha256=
|
157
|
-
modal_proto/api_pb2.pyi,sha256=
|
156
|
+
modal_proto/api_pb2.py,sha256=BEom2Cg_sB9IwaNKV-9inCsN9RYYJzGTLKkYRzRi5q0,312494
|
157
|
+
modal_proto/api_pb2.pyi,sha256=Yx-WLsEPmrzdzA-GHFOfzOlkc_vOsr-KAjVjJY6OzvU,421286
|
158
158
|
modal_proto/api_pb2_grpc.py,sha256=DNp0Et5i_Ey4dKx_1o1LRtYhyWYyT0NzTcAY4EcHn-c,235765
|
159
159
|
modal_proto/api_pb2_grpc.pyi,sha256=RI6tWC3L8EIN4-izFSEGPPJl5Ta0lXPNuHUJaWAr35s,54892
|
160
160
|
modal_proto/modal_api_grpc.py,sha256=UG8WJU81afrWPwItWB4Ag64E9EpyREMpBbAVGVEYJiM,14550
|
@@ -168,10 +168,10 @@ modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0y
|
|
168
168
|
modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
169
169
|
modal_version/__init__.py,sha256=wiJQ53c-OMs0Xf1UeXOxQ7FwlV1VzIjnX6o-pRYZ_Pk,470
|
170
170
|
modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
|
171
|
-
modal_version/_version_generated.py,sha256=
|
172
|
-
modal-0.73.
|
173
|
-
modal-0.73.
|
174
|
-
modal-0.73.
|
175
|
-
modal-0.73.
|
176
|
-
modal-0.73.
|
177
|
-
modal-0.73.
|
171
|
+
modal_version/_version_generated.py,sha256=s2jlryO9xPf8xcGboFikDfwaF7F-1rGoYvZQiLDJfRQ,149
|
172
|
+
modal-0.73.54.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
173
|
+
modal-0.73.54.dist-info/METADATA,sha256=d8cxP_JRVLAGhVsYMGMB3xcOdFTKEy_-mOFT13MlO0I,2452
|
174
|
+
modal-0.73.54.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
175
|
+
modal-0.73.54.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
|
176
|
+
modal-0.73.54.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
|
177
|
+
modal-0.73.54.dist-info/RECORD,,
|
modal_proto/api.proto
CHANGED
@@ -1292,7 +1292,7 @@ message FunctionAsyncInvokeRequest {
|
|
1292
1292
|
string function_id = 1;
|
1293
1293
|
string parent_input_id = 2;
|
1294
1294
|
FunctionInput input = 3;
|
1295
|
-
}
|
1295
|
+
}
|
1296
1296
|
|
1297
1297
|
message FunctionAsyncInvokeResponse {
|
1298
1298
|
bool retry_with_blob_upload = 1;
|
@@ -1370,6 +1370,7 @@ message FunctionCreateRequest {
|
|
1370
1370
|
|
1371
1371
|
message FunctionCreateResponse {
|
1372
1372
|
string function_id = 1;
|
1373
|
+
string __deprecated_web_url = 2 [ deprecated = true]; // Used up until 0.62.212
|
1373
1374
|
Function function = 4;
|
1374
1375
|
FunctionHandleMetadata handle_metadata = 5;
|
1375
1376
|
}
|
@@ -1778,7 +1779,7 @@ message ImageFromIdRequest {
|
|
1778
1779
|
message ImageFromIdResponse {
|
1779
1780
|
string image_id = 1;
|
1780
1781
|
ImageMetadata metadata = 2;
|
1781
|
-
}
|
1782
|
+
}
|
1782
1783
|
|
1783
1784
|
message ImageGetOrCreateRequest {
|
1784
1785
|
Image image = 2;
|