modal 1.0.6.dev58__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 +2 -2
- modal/image.py +4 -0
- modal/image.pyi +8 -0
- modal/sandbox.py +4 -1
- modal/sandbox.pyi +12 -3
- modal/volume.py +2 -0
- modal/volume.pyi +4 -0
- {modal-1.0.6.dev58.dist-info → modal-1.0.6.dev60.dist-info}/METADATA +1 -1
- {modal-1.0.6.dev58.dist-info → modal-1.0.6.dev60.dist-info}/RECORD +14 -14
- modal_version/__init__.py +1 -1
- {modal-1.0.6.dev58.dist-info → modal-1.0.6.dev60.dist-info}/WHEEL +0 -0
- {modal-1.0.6.dev58.dist-info → modal-1.0.6.dev60.dist-info}/entry_points.txt +0 -0
- {modal-1.0.6.dev58.dist-info → modal-1.0.6.dev60.dist-info}/licenses/LICENSE +0 -0
- {modal-1.0.6.dev58.dist-info → modal-1.0.6.dev60.dist-info}/top_level.txt +0 -0
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.
|
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.
|
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/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
|
|
@@ -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=
|
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
|
@@ -41,8 +41,8 @@ modal/file_pattern_matcher.py,sha256=urAue8es8jxqX94k9EYoZxxhtfgOlsEES8lbFHOorzc
|
|
41
41
|
modal/functions.py,sha256=kcNHvqeGBxPI7Cgd57NIBBghkfbeFJzXO44WW0jSmao,325
|
42
42
|
modal/functions.pyi,sha256=ffW_kkU8AxMuV77ltmjK3nslXW_2iwEjKsT-Cgd4Trs,34840
|
43
43
|
modal/gpu.py,sha256=Fe5ORvVPDIstSq1xjmM6OoNgLYFWvogP9r5BgmD3hYg,6769
|
44
|
-
modal/image.py,sha256=
|
45
|
-
modal/image.pyi,sha256=
|
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=
|
69
|
-
modal/sandbox.pyi,sha256=
|
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=
|
82
|
-
modal/volume.pyi,sha256=
|
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.
|
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=
|
177
|
+
modal_version/__init__.py,sha256=7_DgQscRs6UtBKEdVgf6SwdElFpxGr9DcskyBhsawhI,121
|
178
178
|
modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
|
179
|
-
modal-1.0.6.
|
180
|
-
modal-1.0.6.
|
181
|
-
modal-1.0.6.
|
182
|
-
modal-1.0.6.
|
183
|
-
modal-1.0.6.
|
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
File without changes
|
File without changes
|
File without changes
|
File without changes
|