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 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(self, client=client, detach=detach, interactive=interactive):
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.14"
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.14"
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: modal
3
- Version: 0.72.14
3
+ Version: 0.72.15
4
4
  Summary: Python client library for Modal
5
5
  Author: Modal Labs
6
6
  Author-email: support@modal.com
@@ -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=1h8v96KuIg_SAdWDK9gNWVOYYFciBIerhldRPjvDgxs,45511
19
- modal/app.pyi,sha256=Gx7gxjfQ70sxhbwfpx1VjvzEON-ZEMTJ_Vy8qt0oQvo,25302
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=GQWztWiyEIfPTabqLPkp7W-UD1k0TP2V3Fz18FzHYIw,7280
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=akfNCe9ewTF8ZA9Rqpqg5WBGCylfEOseJrnKAd1MYKs,149
169
- modal-0.72.14.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
170
- modal-0.72.14.dist-info/METADATA,sha256=9QVZVvT7IvNfwSEaIq2WacjZI3QBQwGfnGXzMyJkUdU,2329
171
- modal-0.72.14.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
172
- modal-0.72.14.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
173
- modal-0.72.14.dist-info/top_level.txt,sha256=1nvYbOSIKcmU50fNrpnQnrrOpj269ei3LzgB6j9xGqg,64
174
- modal-0.72.14.dist-info/RECORD,,
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,,
@@ -1,4 +1,4 @@
1
1
  # Copyright Modal Labs 2025
2
2
 
3
3
  # Note: Reset this value to -1 whenever you make a minor `0.X` release of the client.
4
- build_number = 14 # git: 6e1e498
4
+ build_number = 15 # git: c56e533