modal 0.72.14__py3-none-any.whl → 0.72.15__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 +4 -1
- modal/app.pyi +3 -0
- modal/client.pyi +2 -2
- {modal-0.72.14.dist-info → modal-0.72.15.dist-info}/METADATA +1 -1
- {modal-0.72.14.dist-info → modal-0.72.15.dist-info}/RECORD +10 -10
- modal_version/_version_generated.py +1 -1
- {modal-0.72.14.dist-info → modal-0.72.15.dist-info}/LICENSE +0 -0
- {modal-0.72.14.dist-info → modal-0.72.15.dist-info}/WHEEL +0 -0
- {modal-0.72.14.dist-info → modal-0.72.15.dist-info}/entry_points.txt +0 -0
- {modal-0.72.14.dist-info → modal-0.72.15.dist-info}/top_level.txt +0 -0
modal/app.py
CHANGED
@@ -365,6 +365,7 @@ class _App:
|
|
365
365
|
show_progress: Optional[bool] = None,
|
366
366
|
detach: bool = False,
|
367
367
|
interactive: bool = False,
|
368
|
+
environment_name: Optional[str] = None,
|
368
369
|
) -> AsyncGenerator["_App", None]:
|
369
370
|
"""Context manager that runs an app on Modal.
|
370
371
|
|
@@ -420,7 +421,9 @@ class _App:
|
|
420
421
|
elif show_progress is False:
|
421
422
|
deprecation_warning((2024, 11, 20), "`show_progress=False` is deprecated (and has no effect)")
|
422
423
|
|
423
|
-
async with _run_app(
|
424
|
+
async with _run_app(
|
425
|
+
self, client=client, detach=detach, interactive=interactive, environment_name=environment_name
|
426
|
+
):
|
424
427
|
yield self
|
425
428
|
|
426
429
|
def _get_default_image(self):
|
modal/app.pyi
CHANGED
@@ -132,6 +132,7 @@ class _App:
|
|
132
132
|
show_progress: typing.Optional[bool] = None,
|
133
133
|
detach: bool = False,
|
134
134
|
interactive: bool = False,
|
135
|
+
environment_name: typing.Optional[str] = None,
|
135
136
|
) -> typing.AsyncContextManager[_App]: ...
|
136
137
|
def _get_default_image(self): ...
|
137
138
|
def _get_watch_mounts(self): ...
|
@@ -352,6 +353,7 @@ class App:
|
|
352
353
|
show_progress: typing.Optional[bool] = None,
|
353
354
|
detach: bool = False,
|
354
355
|
interactive: bool = False,
|
356
|
+
environment_name: typing.Optional[str] = None,
|
355
357
|
) -> synchronicity.combined_types.AsyncAndBlockingContextManager[App]: ...
|
356
358
|
def aio(
|
357
359
|
self,
|
@@ -359,6 +361,7 @@ class App:
|
|
359
361
|
show_progress: typing.Optional[bool] = None,
|
360
362
|
detach: bool = False,
|
361
363
|
interactive: bool = False,
|
364
|
+
environment_name: typing.Optional[str] = None,
|
362
365
|
) -> typing.AsyncContextManager[App]: ...
|
363
366
|
|
364
367
|
run: __run_spec
|
modal/client.pyi
CHANGED
@@ -26,7 +26,7 @@ class _Client:
|
|
26
26
|
_stub: typing.Optional[modal_proto.api_grpc.ModalClientStub]
|
27
27
|
|
28
28
|
def __init__(
|
29
|
-
self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.72.
|
29
|
+
self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.72.15"
|
30
30
|
): ...
|
31
31
|
def is_closed(self) -> bool: ...
|
32
32
|
@property
|
@@ -81,7 +81,7 @@ class Client:
|
|
81
81
|
_stub: typing.Optional[modal_proto.api_grpc.ModalClientStub]
|
82
82
|
|
83
83
|
def __init__(
|
84
|
-
self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.72.
|
84
|
+
self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.72.15"
|
85
85
|
): ...
|
86
86
|
def is_closed(self) -> bool: ...
|
87
87
|
@property
|
@@ -15,11 +15,11 @@ modal/_traceback.py,sha256=IZQzB3fVlUfMHOSyKUgw0H6qv4yHnpyq-XVCNZKfUdA,5023
|
|
15
15
|
modal/_tunnel.py,sha256=o-jJhS4vQ6-XswDhHcJWGMZZmD03SC0e9i8fEu1JTjo,6310
|
16
16
|
modal/_tunnel.pyi,sha256=JmmDYAy9F1FpgJ_hWx0xkom2nTOFQjn4mTPYlU3PFo4,1245
|
17
17
|
modal/_watcher.py,sha256=K6LYnlmSGQB4tWWI9JADv-tvSvQ1j522FwT71B51CX8,3584
|
18
|
-
modal/app.py,sha256=
|
19
|
-
modal/app.pyi,sha256=
|
18
|
+
modal/app.py,sha256=kz2EeDJgcGCChVFrb1sRvJDBnAs5uv4nbqPluIIyCCk,45616
|
19
|
+
modal/app.pyi,sha256=tK9nH7EEmD12LpC46e0QTE3Kd-ea4uHP7uMOi3k-Vks,25475
|
20
20
|
modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
|
21
21
|
modal/client.py,sha256=JAnd4-GCN093BwkvOFAK5a6iy5ycxofjpUncMxlrIMw,15253
|
22
|
-
modal/client.pyi,sha256=
|
22
|
+
modal/client.pyi,sha256=K7ffAKc8VsmfERl0B_sczM7xvmz8b9V-0T5sBQI0bRg,7280
|
23
23
|
modal/cloud_bucket_mount.py,sha256=G7T7jWLD0QkmrfKR75mSTwdUZ2xNfj7pkVqb4ipmxmI,5735
|
24
24
|
modal/cloud_bucket_mount.pyi,sha256=CEi7vrH3kDUF4LAy4qP6tfImy2UJuFRcRbsgRNM1wo8,1403
|
25
25
|
modal/cls.py,sha256=iKDSd8cDTH-txXygdV8q1m8XPnflDieDHemMEIqSSkg,31666
|
@@ -165,10 +165,10 @@ modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0y
|
|
165
165
|
modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
166
166
|
modal_version/__init__.py,sha256=kGya2ZlItX2zB7oHORs-wvP4PG8lg_mtbi1QIK3G6SQ,470
|
167
167
|
modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
|
168
|
-
modal_version/_version_generated.py,sha256=
|
169
|
-
modal-0.72.
|
170
|
-
modal-0.72.
|
171
|
-
modal-0.72.
|
172
|
-
modal-0.72.
|
173
|
-
modal-0.72.
|
174
|
-
modal-0.72.
|
168
|
+
modal_version/_version_generated.py,sha256=bngI0z9LjOLbRc_RYMa4RPK6pPL6RRsoYos_WABzv2k,149
|
169
|
+
modal-0.72.15.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
170
|
+
modal-0.72.15.dist-info/METADATA,sha256=NhfdkF8-DzlSJHM7NlVYIh3DOulq4sDL60s0qtoIZnY,2329
|
171
|
+
modal-0.72.15.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
172
|
+
modal-0.72.15.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
|
173
|
+
modal-0.72.15.dist-info/top_level.txt,sha256=1nvYbOSIKcmU50fNrpnQnrrOpj269ei3LzgB6j9xGqg,64
|
174
|
+
modal-0.72.15.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|