modal 0.72.41__py3-none-any.whl → 0.72.43__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/_object.py +0 -1
- modal/client.pyi +2 -2
- modal/mount.py +1 -1
- modal/partial_function.py +5 -3
- {modal-0.72.41.dist-info → modal-0.72.43.dist-info}/METADATA +1 -1
- {modal-0.72.41.dist-info → modal-0.72.43.dist-info}/RECORD +11 -11
- modal_version/_version_generated.py +1 -1
- {modal-0.72.41.dist-info → modal-0.72.43.dist-info}/LICENSE +0 -0
- {modal-0.72.41.dist-info → modal-0.72.43.dist-info}/WHEEL +0 -0
- {modal-0.72.41.dist-info → modal-0.72.43.dist-info}/entry_points.txt +0 -0
- {modal-0.72.41.dist-info → modal-0.72.43.dist-info}/top_level.txt +0 -0
modal/_object.py
CHANGED
@@ -246,7 +246,6 @@ class _Object:
|
|
246
246
|
"\n\nNote that it is rarely necessary to explicitly hydrate objects, as most methods"
|
247
247
|
" will lazily hydrate when needed.",
|
248
248
|
show_source=False, # synchronicity interferes with attributing source correctly
|
249
|
-
pending=True,
|
250
249
|
)
|
251
250
|
await self.hydrate(client)
|
252
251
|
|
modal/client.pyi
CHANGED
@@ -27,7 +27,7 @@ class _Client:
|
|
27
27
|
_snapshotted: bool
|
28
28
|
|
29
29
|
def __init__(
|
30
|
-
self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.72.
|
30
|
+
self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.72.43"
|
31
31
|
): ...
|
32
32
|
def is_closed(self) -> bool: ...
|
33
33
|
@property
|
@@ -85,7 +85,7 @@ class Client:
|
|
85
85
|
_snapshotted: bool
|
86
86
|
|
87
87
|
def __init__(
|
88
|
-
self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.72.
|
88
|
+
self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.72.43"
|
89
89
|
): ...
|
90
90
|
def is_closed(self) -> bool: ...
|
91
91
|
@property
|
modal/mount.py
CHANGED
@@ -259,7 +259,7 @@ class NonLocalMountError(Exception):
|
|
259
259
|
|
260
260
|
class _Mount(_Object, type_prefix="mo"):
|
261
261
|
"""
|
262
|
-
**Deprecated**: Mounts should not be used explicitly anymore, use
|
262
|
+
**Deprecated**: Mounts should not be used explicitly anymore, use `Image.add_local_*` commands instead.
|
263
263
|
|
264
264
|
Create a mount for a local directory or file that can be attached
|
265
265
|
to one or more Modal functions.
|
modal/partial_function.py
CHANGED
@@ -533,10 +533,12 @@ def _build(
|
|
533
533
|
_warn_parentheses_missing=None, *, force: bool = False, timeout: int = 86400
|
534
534
|
) -> Callable[[Union[Callable[[Any], Any], _PartialFunction]], _PartialFunction]:
|
535
535
|
"""
|
536
|
-
Decorator for methods that
|
537
|
-
in a `modal.Image`.
|
536
|
+
Decorator for methods that execute at _build time_ to create a new Image layer.
|
538
537
|
|
539
|
-
|
538
|
+
**Deprecated**: This function is deprecated. We recommend using `modal.Volume`
|
539
|
+
to store large assets (such as model weights) instead of writing them to the
|
540
|
+
Image during the build process. For other use cases, you can replace this
|
541
|
+
decorator with the `Image.run_function` method.
|
540
542
|
|
541
543
|
**Usage**
|
542
544
|
|
@@ -5,7 +5,7 @@ modal/_clustered_functions.pyi,sha256=vllkegc99A0jrUOWa8mdlSbdp6uz36TsHhGxysAOpa
|
|
5
5
|
modal/_container_entrypoint.py,sha256=iHSNqLCTK4uXzcmhF5ou5AqOYovk4hMfV3BZYYDrFKc,29554
|
6
6
|
modal/_ipython.py,sha256=TW1fkVOmZL3YYqdS2YlM1hqpf654Yf8ZyybHdBnlhSw,301
|
7
7
|
modal/_location.py,sha256=S3lSxIU3h9HkWpkJ3Pwo0pqjIOSB1fjeSgUsY3x7eec,1202
|
8
|
-
modal/_object.py,sha256=
|
8
|
+
modal/_object.py,sha256=ItQcsMNkz9Y3kdTsvfNarbW-paJ2qabDyQ7njaqY0XI,11359
|
9
9
|
modal/_output.py,sha256=0fWX_KQwhER--U81ys16CL-pA5A-LN20C0EZjElKGJQ,25410
|
10
10
|
modal/_proxy_tunnel.py,sha256=gnKyCfmVB7x2d1A6c-JDysNIP3kEFxmXzhcXhPrzPn0,1906
|
11
11
|
modal/_pty.py,sha256=JZfPDDpzqICZqtyPI_oMJf_9w-p_lLNuzHhwhodUXio,1329
|
@@ -20,7 +20,7 @@ modal/app.py,sha256=UOuqlCKlFAjOXCacXmoEMM90FnqFwPRXUhLh0Gi6xzg,45344
|
|
20
20
|
modal/app.pyi,sha256=aZJkeqsnsv72R7OTLXcifom0c-NBU6xgVhRc9yEt9nE,25760
|
21
21
|
modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
|
22
22
|
modal/client.py,sha256=8SQawr7P1PNUCq1UmJMUQXG2jIo4Nmdcs311XqrNLRE,15276
|
23
|
-
modal/client.pyi,sha256=
|
23
|
+
modal/client.pyi,sha256=9MJxssXnRtmzWk7jiBB6M6tLvjjLFzyv3iEooz3cYnQ,7593
|
24
24
|
modal/cloud_bucket_mount.py,sha256=YOe9nnvSr4ZbeCn587d7_VhE9IioZYRvF9VYQTQux08,5914
|
25
25
|
modal/cloud_bucket_mount.pyi,sha256=30T3K1a89l6wzmEJ_J9iWv9SknoGqaZDx59Xs-ZQcmk,1607
|
26
26
|
modal/cls.py,sha256=xHgZZAmymplw0I2YZGAA8raBboixdNKKTrnsxQZI7G8,32159
|
@@ -45,7 +45,7 @@ modal/image.py,sha256=leeY7fLfFjS0IqTi3D4cRxIDOb80BPtb3jsQfqvVJ8c,90912
|
|
45
45
|
modal/image.pyi,sha256=QMKS6E3CsZr5DoyNqGpcJPBYJTJZSvtAQIsAhPVd_E4,26347
|
46
46
|
modal/io_streams.py,sha256=QkQiizKRzd5bnbKQsap31LJgBYlAnj4-XkV_50xPYX0,15079
|
47
47
|
modal/io_streams.pyi,sha256=bJ7ZLmSmJ0nKoa6r4FJpbqvzdUVa0lEe0Fa-MMpMezU,5071
|
48
|
-
modal/mount.py,sha256=
|
48
|
+
modal/mount.py,sha256=JuZZ2IJuypv1_9qK8R_LepX5oEWFTALdjIVA7_9HNC0,31802
|
49
49
|
modal/mount.pyi,sha256=dvdr4joSpW7oKnKyg9eDD0obFfekwZtW65j4NEomivQ,12523
|
50
50
|
modal/network_file_system.py,sha256=Jcr5Whar0MgA2YItJLJWmzHDnkkDlcOzO63TRkA64zA,14407
|
51
51
|
modal/network_file_system.pyi,sha256=4N3eqMbTSlqmS8VV_aJK-uvrgJC8xnf_YtW5FHfRfc8,8156
|
@@ -54,7 +54,7 @@ modal/object.pyi,sha256=kyJkRQcVv3ct7zSAxvvXcuhBVeH914v80uSlqeS7cA4,5632
|
|
54
54
|
modal/output.py,sha256=N0xf4qeudEaYrslzdAl35VKV8rapstgIM2e9wO8_iy0,1967
|
55
55
|
modal/parallel_map.py,sha256=POBTyiWabe2e4qBNlsjjksiu1AAPEsNqI-mM8cgNFco,16042
|
56
56
|
modal/parallel_map.pyi,sha256=0ltjcIpPUqPGGOWmHqzCfBu5y3ISjRZDrqOJhiNhfYk,2522
|
57
|
-
modal/partial_function.py,sha256=
|
57
|
+
modal/partial_function.py,sha256=zr-9onLYZDF2NDm_BXj2zBL9eZy52T5S7U2OhHF2dao,28529
|
58
58
|
modal/partial_function.pyi,sha256=pXB6u36SX1C0KsxBnyu7zDXDrV0DbjZJn4sb37_kilE,9817
|
59
59
|
modal/proxy.py,sha256=NrOevrWxG3G7-zlyRzG6BcIvop7AWLeyahZxitbBaOk,1418
|
60
60
|
modal/proxy.pyi,sha256=1OEKIVUyC-xb7fHMzngakQso0nTsK60TVhXtlcMj6Wk,390
|
@@ -167,10 +167,10 @@ modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0y
|
|
167
167
|
modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
168
168
|
modal_version/__init__.py,sha256=kGya2ZlItX2zB7oHORs-wvP4PG8lg_mtbi1QIK3G6SQ,470
|
169
169
|
modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
|
170
|
-
modal_version/_version_generated.py,sha256=
|
171
|
-
modal-0.72.
|
172
|
-
modal-0.72.
|
173
|
-
modal-0.72.
|
174
|
-
modal-0.72.
|
175
|
-
modal-0.72.
|
176
|
-
modal-0.72.
|
170
|
+
modal_version/_version_generated.py,sha256=SNf-Mdjb52S_fw0p_EhSK9XMZX_GfmD3Muw6Q5Rzkc0,149
|
171
|
+
modal-0.72.43.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
172
|
+
modal-0.72.43.dist-info/METADATA,sha256=DJDWXdnxgppYVIclfy57RytUi4VIzwVPtwJ8WqXROCE,2329
|
173
|
+
modal-0.72.43.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
174
|
+
modal-0.72.43.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
|
175
|
+
modal-0.72.43.dist-info/top_level.txt,sha256=1nvYbOSIKcmU50fNrpnQnrrOpj269ei3LzgB6j9xGqg,64
|
176
|
+
modal-0.72.43.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|