modal 1.0.6.dev59__py3-none-any.whl → 1.0.6.dev60__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/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.0.6.dev59",
36
+ version: str = "1.0.6.dev60",
37
37
  ):
38
38
  """mdmd:hidden
39
39
  The Modal client object is not intended to be instantiated directly by users.
@@ -163,7 +163,7 @@ class Client:
163
163
  server_url: str,
164
164
  client_type: int,
165
165
  credentials: typing.Optional[tuple[str, str]],
166
- version: str = "1.0.6.dev59",
166
+ version: str = "1.0.6.dev60",
167
167
  ):
168
168
  """mdmd:hidden
169
169
  The Modal client object is not intended to be instantiated directly by users.
modal/functions.pyi CHANGED
@@ -428,7 +428,7 @@ class Function(
428
428
 
429
429
  _call_generator: ___call_generator_spec[typing_extensions.Self]
430
430
 
431
- class __remote_spec(typing_extensions.Protocol[ReturnType_INNER, P_INNER, SUPERSELF]):
431
+ class __remote_spec(typing_extensions.Protocol[P_INNER, ReturnType_INNER, SUPERSELF]):
432
432
  def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> ReturnType_INNER:
433
433
  """Calls the function remotely, executing it with the given arguments and returning the execution's result."""
434
434
  ...
@@ -437,7 +437,7 @@ class Function(
437
437
  """Calls the function remotely, executing it with the given arguments and returning the execution's result."""
438
438
  ...
439
439
 
440
- remote: __remote_spec[modal._functions.ReturnType, modal._functions.P, typing_extensions.Self]
440
+ remote: __remote_spec[modal._functions.P, modal._functions.ReturnType, typing_extensions.Self]
441
441
 
442
442
  class __remote_gen_spec(typing_extensions.Protocol[SUPERSELF]):
443
443
  def __call__(self, /, *args, **kwargs) -> typing.Generator[typing.Any, None, None]:
@@ -464,7 +464,7 @@ class Function(
464
464
  """
465
465
  ...
466
466
 
467
- class ___experimental_spawn_spec(typing_extensions.Protocol[ReturnType_INNER, P_INNER, SUPERSELF]):
467
+ class ___experimental_spawn_spec(typing_extensions.Protocol[P_INNER, ReturnType_INNER, SUPERSELF]):
468
468
  def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> FunctionCall[ReturnType_INNER]:
469
469
  """[Experimental] Calls the function with the given arguments, without waiting for the results.
470
470
 
@@ -488,7 +488,7 @@ class Function(
488
488
  ...
489
489
 
490
490
  _experimental_spawn: ___experimental_spawn_spec[
491
- modal._functions.ReturnType, modal._functions.P, typing_extensions.Self
491
+ modal._functions.P, modal._functions.ReturnType, typing_extensions.Self
492
492
  ]
493
493
 
494
494
  class ___spawn_map_inner_spec(typing_extensions.Protocol[P_INNER, SUPERSELF]):
@@ -497,7 +497,7 @@ class Function(
497
497
 
498
498
  _spawn_map_inner: ___spawn_map_inner_spec[modal._functions.P, typing_extensions.Self]
499
499
 
500
- class __spawn_spec(typing_extensions.Protocol[ReturnType_INNER, P_INNER, SUPERSELF]):
500
+ class __spawn_spec(typing_extensions.Protocol[P_INNER, ReturnType_INNER, SUPERSELF]):
501
501
  def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> FunctionCall[ReturnType_INNER]:
502
502
  """Calls the function with the given arguments, without waiting for the results.
503
503
 
@@ -518,7 +518,7 @@ class Function(
518
518
  """
519
519
  ...
520
520
 
521
- spawn: __spawn_spec[modal._functions.ReturnType, modal._functions.P, typing_extensions.Self]
521
+ spawn: __spawn_spec[modal._functions.P, modal._functions.ReturnType, typing_extensions.Self]
522
522
 
523
523
  def get_raw_f(self) -> collections.abc.Callable[..., typing.Any]:
524
524
  """Return the inner Python object wrapped by this Modal Function."""
modal/image.py CHANGED
@@ -1157,6 +1157,8 @@ class _Image(_Object, type_prefix="im"):
1157
1157
  - Python is on the `$PATH` and dependencies are installed with the first Python on the `$PATH`.
1158
1158
  - Shell supports backticks for substitution
1159
1159
  - `which` command is on the `$PATH`
1160
+
1161
+ Added in v1.1.0.
1160
1162
  """
1161
1163
  pkgs = _flatten_str_args("uv_pip_install", "packages", packages)
1162
1164
 
@@ -1347,6 +1349,8 @@ class _Image(_Object, type_prefix="im"):
1347
1349
  ```python
1348
1350
  image = modal.Image.debian_slim().uv_sync()
1349
1351
  ```
1352
+
1353
+ Added in v1.1.0.
1350
1354
  """
1351
1355
 
1352
1356
  def _normalize_items(items, name) -> list[str]:
modal/image.pyi CHANGED
@@ -470,6 +470,8 @@ class _Image(modal._object._Object):
470
470
  - Python is on the `$PATH` and dependencies are installed with the first Python on the `$PATH`.
471
471
  - Shell supports backticks for substitution
472
472
  - `which` command is on the `$PATH`
473
+
474
+ Added in v1.1.0.
473
475
  """
474
476
  ...
475
477
 
@@ -521,6 +523,8 @@ class _Image(modal._object._Object):
521
523
  ```python
522
524
  image = modal.Image.debian_slim().uv_sync()
523
525
  ```
526
+
527
+ Added in v1.1.0.
524
528
  """
525
529
  ...
526
530
 
@@ -1305,6 +1309,8 @@ class Image(modal.object.Object):
1305
1309
  - Python is on the `$PATH` and dependencies are installed with the first Python on the `$PATH`.
1306
1310
  - Shell supports backticks for substitution
1307
1311
  - `which` command is on the `$PATH`
1312
+
1313
+ Added in v1.1.0.
1308
1314
  """
1309
1315
  ...
1310
1316
 
@@ -1356,6 +1362,8 @@ class Image(modal.object.Object):
1356
1362
  ```python
1357
1363
  image = modal.Image.debian_slim().uv_sync()
1358
1364
  ```
1365
+
1366
+ Added in v1.1.0.
1359
1367
  """
1360
1368
  ...
1361
1369
 
modal/sandbox.py CHANGED
@@ -546,7 +546,10 @@ class _Sandbox(_Object, type_prefix="sb"):
546
546
  return self._tunnels
547
547
 
548
548
  async def reload_volumes(self) -> None:
549
- """Reload all Volumes mounted in the Sandbox."""
549
+ """Reload all Volumes mounted in the Sandbox.
550
+
551
+ Added in v1.1.0.
552
+ """
550
553
  task_id = await self._get_task_id()
551
554
  await retry_transient_errors(
552
555
  self._client.stub.ContainerReloadVolumes,
modal/sandbox.pyi CHANGED
@@ -188,7 +188,10 @@ class _Sandbox(modal._object._Object):
188
188
  ...
189
189
 
190
190
  async def reload_volumes(self) -> None:
191
- """Reload all Volumes mounted in the Sandbox."""
191
+ """Reload all Volumes mounted in the Sandbox.
192
+
193
+ Added in v1.1.0.
194
+ """
192
195
  ...
193
196
 
194
197
  async def terminate(self) -> None:
@@ -615,11 +618,17 @@ class Sandbox(modal.object.Object):
615
618
 
616
619
  class __reload_volumes_spec(typing_extensions.Protocol[SUPERSELF]):
617
620
  def __call__(self, /) -> None:
618
- """Reload all Volumes mounted in the Sandbox."""
621
+ """Reload all Volumes mounted in the Sandbox.
622
+
623
+ Added in v1.1.0.
624
+ """
619
625
  ...
620
626
 
621
627
  async def aio(self, /) -> None:
622
- """Reload all Volumes mounted in the Sandbox."""
628
+ """Reload all Volumes mounted in the Sandbox.
629
+
630
+ Added in v1.1.0.
631
+ """
623
632
  ...
624
633
 
625
634
  reload_volumes: __reload_volumes_spec[typing_extensions.Self]
modal/volume.py CHANGED
@@ -156,6 +156,8 @@ class _Volume(_Object, type_prefix="vo"):
156
156
 
157
157
  The Volume is mounted as a read-only volume in a function. Any file system write operation into the
158
158
  mounted volume will result in an error.
159
+
160
+ Added in v1.0.5.
159
161
  """
160
162
 
161
163
  async def _load(new_volume: _Volume, resolver: Resolver, existing_object_id: Optional[str]):
modal/volume.pyi CHANGED
@@ -121,6 +121,8 @@ class _Volume(modal._object._Object):
121
121
 
122
122
  The Volume is mounted as a read-only volume in a function. Any file system write operation into the
123
123
  mounted volume will result in an error.
124
+
125
+ Added in v1.0.5.
124
126
  """
125
127
  ...
126
128
 
@@ -417,6 +419,8 @@ class Volume(modal.object.Object):
417
419
 
418
420
  The Volume is mounted as a read-only volume in a function. Any file system write operation into the
419
421
  mounted volume will result in an error.
422
+
423
+ Added in v1.0.5.
420
424
  """
421
425
  ...
422
426
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: modal
3
- Version: 1.0.6.dev59
3
+ Version: 1.0.6.dev60
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=cCgX6rYbEB__q2XoAF2OAeH--L0EM4XWZ820YWglKSQ,48134
22
22
  modal/app.pyi,sha256=cXiSTu2bwu6csAUdkOlh7mr9tPvtaS2qWSEhlC1UxAg,43787
23
23
  modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
24
24
  modal/client.py,sha256=pBSZ7lv5dezIL9U9H4tpE0Yz6qA1n0NoNbnJ3KCQMMA,18252
25
- modal/client.pyi,sha256=TAsUVP2Tsp7ip2tk01xZOoukvAkw7gyRV1ePqBIfPJU,15390
25
+ modal/client.pyi,sha256=3Y6BPH6HQuy-IKHWv9aaYC5mqxWuOTklFWQkoFLUM0I,15390
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
@@ -39,10 +39,10 @@ modal/file_io.py,sha256=BVqAJ0sgPUfN8QsYztWiGB4j56he60TncM02KsylnCw,21449
39
39
  modal/file_io.pyi,sha256=cPT_hsplE5iLCXhYOLn1Sp9eDdk7DxdFmicQHanJZyg,15918
40
40
  modal/file_pattern_matcher.py,sha256=urAue8es8jxqX94k9EYoZxxhtfgOlsEES8lbFHOorzc,7734
41
41
  modal/functions.py,sha256=kcNHvqeGBxPI7Cgd57NIBBghkfbeFJzXO44WW0jSmao,325
42
- modal/functions.pyi,sha256=FJe_91dSrMCRNVT-YV1UhtxFKzIvL_C5q8xdk08-wT8,34840
42
+ modal/functions.pyi,sha256=ffW_kkU8AxMuV77ltmjK3nslXW_2iwEjKsT-Cgd4Trs,34840
43
43
  modal/gpu.py,sha256=Fe5ORvVPDIstSq1xjmM6OoNgLYFWvogP9r5BgmD3hYg,6769
44
- modal/image.py,sha256=qTJ6pTcLfYRh112wId7CCNWWmm077w6JoIqxE8BiCoo,102261
45
- modal/image.pyi,sha256=TVy-rnSAP2WgQ5zf_sQLFzb-99Qg9LiQNGXR9psFA_o,68107
44
+ modal/image.py,sha256=yC2m2wfC0jGFN0lr07OJz17LCepDXNVqhRTgtv0OhvI,102313
45
+ modal/image.pyi,sha256=uitnAuPMC3PPCXJX8kaw8Vt0e5bSqxt9j4vQx7DUBrY,68211
46
46
  modal/io_streams.py,sha256=ut9tY_yEtiBsgQ40u_72Ns87IZHfbMxfnh8t6U9RSGA,16204
47
47
  modal/io_streams.pyi,sha256=aOun_jUFKHSJyUY6-7gKvNoxzcULsa8_hxdtEO7v-gk,13980
48
48
  modal/mount.py,sha256=q-pPeVxAmte-G_LDpbFwaNs2Rb2MIpscfnCXzkhxrOI,36734
@@ -65,8 +65,8 @@ modal/retries.py,sha256=IvNLDM0f_GLUDD5VgEDoN09C88yoxSrCquinAuxT1Sc,5205
65
65
  modal/runner.py,sha256=ostdzYpQb-20tlD6dIq7bpWTkZkOhjJBNuMNektqnJA,24068
66
66
  modal/runner.pyi,sha256=lbwLljm1cC8d6PcNvmYQhkE8501V9fg0bYqqKX6G4r4,8489
67
67
  modal/running_app.py,sha256=v61mapYNV1-O-Uaho5EfJlryMLvIT9We0amUOSvSGx8,1188
68
- modal/sandbox.py,sha256=77dRA1JTuohI4sONDMdpvDv8QGnQ-yd96baJmMyxEhg,37585
69
- modal/sandbox.pyi,sha256=hOcdNZ3j5MlPaNZ4NAnoc31BQ1fZqQrEBWnD3m7ZxJg,38392
68
+ modal/sandbox.py,sha256=5n4bM-a1i9ba_1r8UAMJRQv_kBu8XUzes_5PtRdEClQ,37620
69
+ modal/sandbox.pyi,sha256=xmXcfh24MAAneJFU_AEH-eaHfGRWET0LtjQeFr6Qcgs,38513
70
70
  modal/schedule.py,sha256=ng0g0AqNY5GQI9KhkXZQ5Wam5G42glbkqVQsNpBtbDE,3078
71
71
  modal/scheduler_placement.py,sha256=BAREdOY5HzHpzSBqt6jDVR6YC_jYfHMVqOzkyqQfngU,1235
72
72
  modal/secret.py,sha256=bpgtv0urwaBOmmJpMTZIwVWUraQlpeu4hW8pbJiGcOA,10546
@@ -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=0_4KabXKsuE4OXTJ1OuLOtA-b1sesShztMZkkRFK7tA,7605
80
80
  modal/token_flow.pyi,sha256=eirYjyqbRiT3GCKMIPHJPpkvBTu8WxDKqSHehWaJI_4,2533
81
- modal/volume.py,sha256=4AcgWhqq-zgSbmX-Tx7u2oo1gPLW5mxfb_oZfVSzpQs,44449
82
- modal/volume.pyi,sha256=sjr67f0npiRzl2j3blrcMA_QSoogJAS0xLqWI06xWXQ,40727
81
+ modal/volume.py,sha256=aIGp_ZFD6UUqM2XnS19GBqWLc1_xOVBIx2JcFn30aYk,44475
82
+ modal/volume.pyi,sha256=Qo5D0Bojcp8J4t4OoRArrBFaC1MSvFf9jQIL9U6Qz2Q,40779
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
@@ -151,7 +151,7 @@ modal/requirements/2025.06.txt,sha256=KxDaVTOwatHvboDo4lorlgJ7-n-MfAwbPwxJ0zcJqr
151
151
  modal/requirements/PREVIEW.txt,sha256=KxDaVTOwatHvboDo4lorlgJ7-n-MfAwbPwxJ0zcJqrs,312
152
152
  modal/requirements/README.md,sha256=9tK76KP0Uph7O0M5oUgsSwEZDj5y-dcUPsnpR0Sc-Ik,854
153
153
  modal/requirements/base-images.json,sha256=JYSDAgHTl-WrV_TZW5icY-IJEnbe2eQ4CZ_KN6EOZKU,1304
154
- modal-1.0.6.dev59.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
154
+ modal-1.0.6.dev60.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=jYBjFPQBTRA_WaNo9NhlTwo_VSPBb15phQiBWkU1X6E,121
177
+ modal_version/__init__.py,sha256=7_DgQscRs6UtBKEdVgf6SwdElFpxGr9DcskyBhsawhI,121
178
178
  modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
179
- modal-1.0.6.dev59.dist-info/METADATA,sha256=L-giTWZRwgZjEmVrGqeamN00vK008XA90y2gKoBX1vw,2462
180
- modal-1.0.6.dev59.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
181
- modal-1.0.6.dev59.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
182
- modal-1.0.6.dev59.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
183
- modal-1.0.6.dev59.dist-info/RECORD,,
179
+ modal-1.0.6.dev60.dist-info/METADATA,sha256=t2K7VNwJv0XYIqlyTAP-efO3cXHWkheu0UYTYAj8jHE,2462
180
+ modal-1.0.6.dev60.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
181
+ modal-1.0.6.dev60.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
182
+ modal-1.0.6.dev60.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
183
+ modal-1.0.6.dev60.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.0.6.dev59"
4
+ __version__ = "1.0.6.dev60"