modal 1.1.1.dev44__py3-none-any.whl → 1.1.2.dev1__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.

Potentially problematic release.


This version of modal might be problematic. Click here for more details.

modal/cli/launch.py CHANGED
@@ -6,8 +6,10 @@ import os
6
6
  from pathlib import Path
7
7
  from typing import Any, Optional
8
8
 
9
+ import rich.panel
9
10
  from typer import Typer
10
11
 
12
+ from .._output import make_console
11
13
  from ..exception import _CliUserExecutionError
12
14
  from ..output import enable_output
13
15
  from ..runner import run_app
@@ -61,6 +63,17 @@ def jupyter(
61
63
  volume: Optional[str] = None, # Attach a persisted `modal.Volume` by name (creating if missing).
62
64
  detach: bool = False, # Run the app in "detached" mode to persist after local client disconnects
63
65
  ):
66
+ console = make_console()
67
+ console.print(
68
+ rich.panel.Panel(
69
+ (
70
+ "[link=https://modal.com/notebooks]Try Modal Notebooks! "
71
+ "modal.com/notebooks[/link]\n"
72
+ "Notebooks have a new UI, saved content, real-time collaboration and more."
73
+ ),
74
+ ),
75
+ style="bold cyan",
76
+ )
64
77
  args = {
65
78
  "cpu": cpu,
66
79
  "memory": memory,
modal/client.pyi CHANGED
@@ -33,7 +33,7 @@ class _Client:
33
33
  server_url: str,
34
34
  client_type: int,
35
35
  credentials: typing.Optional[tuple[str, str]],
36
- version: str = "1.1.1.dev44",
36
+ version: str = "1.1.2.dev1",
37
37
  ):
38
38
  """mdmd:hidden
39
39
  The Modal client object is not intended to be instantiated directly by users.
@@ -164,7 +164,7 @@ class Client:
164
164
  server_url: str,
165
165
  client_type: int,
166
166
  credentials: typing.Optional[tuple[str, str]],
167
- version: str = "1.1.1.dev44",
167
+ version: str = "1.1.2.dev1",
168
168
  ):
169
169
  """mdmd:hidden
170
170
  The Modal client object is not intended to be instantiated directly by users.
modal/volume.py CHANGED
@@ -377,7 +377,7 @@ class _Volume(_Object, type_prefix="vo"):
377
377
 
378
378
  @live_method
379
379
  async def commit(self):
380
- """Commit changes to the volume.
380
+ """Commit changes to a mounted volume.
381
381
 
382
382
  If successful, the changes made are now persisted in durable storage and available to other containers accessing
383
383
  the volume.
modal/volume.pyi CHANGED
@@ -248,7 +248,7 @@ class _Volume(modal._object._Object):
248
248
 
249
249
  async def _do_reload(self, lock=True): ...
250
250
  async def commit(self):
251
- """Commit changes to the volume.
251
+ """Commit changes to a mounted volume.
252
252
 
253
253
  If successful, the changes made are now persisted in durable storage and available to other containers accessing
254
254
  the volume.
@@ -616,7 +616,7 @@ class Volume(modal.object.Object):
616
616
 
617
617
  class __commit_spec(typing_extensions.Protocol[SUPERSELF]):
618
618
  def __call__(self, /):
619
- """Commit changes to the volume.
619
+ """Commit changes to a mounted volume.
620
620
 
621
621
  If successful, the changes made are now persisted in durable storage and available to other containers accessing
622
622
  the volume.
@@ -624,7 +624,7 @@ class Volume(modal.object.Object):
624
624
  ...
625
625
 
626
626
  async def aio(self, /):
627
- """Commit changes to the volume.
627
+ """Commit changes to a mounted volume.
628
628
 
629
629
  If successful, the changes made are now persisted in durable storage and available to other containers accessing
630
630
  the volume.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: modal
3
- Version: 1.1.1.dev44
3
+ Version: 1.1.2.dev1
4
4
  Summary: Python client library for Modal
5
5
  Author-email: Modal Labs <support@modal.com>
6
6
  License: Apache-2.0
@@ -22,7 +22,7 @@ modal/app.py,sha256=kpq4kXp7pch688y6g55QYAC10wqPTU5FXKoWPMirA3E,47899
22
22
  modal/app.pyi,sha256=-jKXlGDBWRPVsuenBhdMRqawK-L2eiJ7gHbmSblhltg,43525
23
23
  modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
24
24
  modal/client.py,sha256=kyAIVB3Ay-XKJizQ_1ufUFB__EagV0MLmHJpyYyJ7J0,18636
25
- modal/client.pyi,sha256=vIhdpiz_vkRCPexKcG97KNhPQ20G-QFeJRcPeLYiQfQ,15831
25
+ modal/client.pyi,sha256=N127WAlDoprR-z-t-PNM__9ghnlqrgGZoLwjyoq6CeA,15829
26
26
  modal/cloud_bucket_mount.py,sha256=YOe9nnvSr4ZbeCn587d7_VhE9IioZYRvF9VYQTQux08,5914
27
27
  modal/cloud_bucket_mount.pyi,sha256=-qSfYAQvIoO_l2wsCCGTG5ZUwQieNKXdAO00yP1-LYU,7394
28
28
  modal/cls.py,sha256=7A0xGnugQzm8dOfnKMjLjtqekRlRtQ0jPFRYgq6xdUM,40018
@@ -78,8 +78,8 @@ modal/snapshot.pyi,sha256=0q83hlmWxAhDu8xwZyL5VmYh0i8Tigf7S60or2k30L8,1682
78
78
  modal/stream_type.py,sha256=A6320qoAAWhEfwOCZfGtymQTu5AfLfJXXgARqooTPvY,417
79
79
  modal/token_flow.py,sha256=GWpar0gANs71vm9Bd_Cj87UG1K3ljTURbkEjG3JLsrY,7616
80
80
  modal/token_flow.pyi,sha256=eirYjyqbRiT3GCKMIPHJPpkvBTu8WxDKqSHehWaJI_4,2533
81
- modal/volume.py,sha256=6sMyykbz9lvwzClAOW9Pdbl9naXo9CipYf65t-eJdrs,45418
82
- modal/volume.pyi,sha256=lMXzeyeC85ji8g2j0Ghy1WQrk2A2J0LPVpLFpabbr6A,41933
81
+ modal/volume.py,sha256=784Wz4XeLYPGWChfpRbukvGK2Ujazf7-lHwDxUNoKfY,45424
82
+ modal/volume.pyi,sha256=YIzDSxDxy_pNrcWWX0cpAoNkFWwC-kzSnQQAaGeSW0Y,41951
83
83
  modal/_runtime/__init__.py,sha256=MIEP8jhXUeGq_eCjYFcqN5b1bxBM4fdk0VESpjWR0fc,28
84
84
  modal/_runtime/asgi.py,sha256=_2xSTsDD27Cit7xnMs4lzkJA2wzer2_N4Oa3BkXFzVA,22521
85
85
  modal/_runtime/container_io_manager.py,sha256=hjkK4gke_A8_mULSfm3F1hZKR0C61lKbRUI8mHS-LGE,45464
@@ -135,7 +135,7 @@ modal/cli/dict.py,sha256=XsySnxSOcfF9ZehHO3whRgFuxZGGNE_I87Hiye36wE4,4655
135
135
  modal/cli/entry_point.py,sha256=M9ZeIsYx7rxdc6XP2iOIptVzmpj39D3rU8nfW7Dc3CQ,4388
136
136
  modal/cli/environment.py,sha256=Ayddkiq9jdj3XYDJ8ZmUqFpPPH8xajYlbexRkzGtUcg,4334
137
137
  modal/cli/import_refs.py,sha256=X59Z5JwgliRO6C-cIFto2Pr7o3SwlZMKQPKA0aI4ZK4,13927
138
- modal/cli/launch.py,sha256=0_sBu6bv2xJEPWi-rbGS6Ri9ggnkWQvrGlgpYSUBMyY,3097
138
+ modal/cli/launch.py,sha256=G8jNDQwsRAnq0QBEDMabTWY588JfEJjLgHEpoDS4Oeo,3510
139
139
  modal/cli/network_file_system.py,sha256=I9IqTpVfk32uKYwGd8LTldkQx6UKYrQYNZ26q7Ab5Oo,8126
140
140
  modal/cli/profile.py,sha256=r5hnA_GPe_2zwgv6n0Mi8XQXyejQgShb17yjD4dPXcw,3212
141
141
  modal/cli/queues.py,sha256=6Ck7B-Eu3ZEV6oOX0GxnVMQ5k9DWrIZPYXxaHVqUhKU,4565
@@ -151,7 +151,7 @@ modal/experimental/__init__.py,sha256=nuc7AL4r_Fs08DD5dciWFZhrV1nanwoClOfdTcudU0
151
151
  modal/experimental/flash.py,sha256=viXQumCIFp5VFsPFURdFTBTjP_QnsAi8nSWXAMmfjeQ,19744
152
152
  modal/experimental/flash.pyi,sha256=A8_qJGtGoXEzKDdHbvhmCw7oqfneFEvJQK3ZdTOvUdU,10830
153
153
  modal/experimental/ipython.py,sha256=TrCfmol9LGsRZMeDoeMPx3Hv3BFqQhYnmD_iH0pqdhk,2904
154
- modal-1.1.1.dev44.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
154
+ modal-1.1.2.dev1.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
155
155
  modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
156
156
  modal_docs/gen_cli_docs.py,sha256=c1yfBS_x--gL5bs0N4ihMwqwX8l3IBWSkBAKNNIi6bQ,3801
157
157
  modal_docs/gen_reference_docs.py,sha256=d_CQUGQ0rfw28u75I2mov9AlS773z9rG40-yq5o7g2U,6359
@@ -174,10 +174,10 @@ modal_proto/options_pb2.pyi,sha256=l7DBrbLO7q3Ir-XDkWsajm0d0TQqqrfuX54i4BMpdQg,1
174
174
  modal_proto/options_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
175
175
  modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0yJSI,247
176
176
  modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
177
- modal_version/__init__.py,sha256=hR_nl7HUS3EYXDfStfBHO0ndbZEzuHyHLbJvQvXR3_g,121
177
+ modal_version/__init__.py,sha256=QhKJATnW0n04QX6nZ_NXvCkltGgcthdrdoln0_Cxerc,120
178
178
  modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
179
- modal-1.1.1.dev44.dist-info/METADATA,sha256=VUIWbFXSw8XKvOrzYBS9rUfJv67fk-axKhZT9FiKS-w,2460
180
- modal-1.1.1.dev44.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
181
- modal-1.1.1.dev44.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
182
- modal-1.1.1.dev44.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
183
- modal-1.1.1.dev44.dist-info/RECORD,,
179
+ modal-1.1.2.dev1.dist-info/METADATA,sha256=esQDLnKJAchGt31Fe-t0WydP-nBFTgQNXjNmZNn2tic,2459
180
+ modal-1.1.2.dev1.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
181
+ modal-1.1.2.dev1.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
182
+ modal-1.1.2.dev1.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
183
+ modal-1.1.2.dev1.dist-info/RECORD,,
modal_version/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # Copyright Modal Labs 2025
2
2
  """Supplies the current version of the modal client library."""
3
3
 
4
- __version__ = "1.1.1.dev44"
4
+ __version__ = "1.1.2.dev1"