modal 0.72.56__py3-none-any.whl → 0.72.58__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/mount.py +1 -1
- modal/sandbox.py +3 -1
- {modal-0.72.56.dist-info → modal-0.72.58.dist-info}/METADATA +1 -1
- {modal-0.72.56.dist-info → modal-0.72.58.dist-info}/RECORD +10 -10
- modal_version/_version_generated.py +1 -1
- {modal-0.72.56.dist-info → modal-0.72.58.dist-info}/LICENSE +0 -0
- {modal-0.72.56.dist-info → modal-0.72.58.dist-info}/WHEEL +0 -0
- {modal-0.72.56.dist-info → modal-0.72.58.dist-info}/entry_points.txt +0 -0
- {modal-0.72.56.dist-info → modal-0.72.58.dist-info}/top_level.txt +0 -0
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.58"
|
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.58"
|
89
89
|
): ...
|
90
90
|
def is_closed(self) -> bool: ...
|
91
91
|
@property
|
modal/mount.py
CHANGED
@@ -697,7 +697,7 @@ class _Mount(_Object, type_prefix="mo"):
|
|
697
697
|
response = await resolver.client.stub.MountGetOrCreate(req)
|
698
698
|
provider._hydrate(response.mount_id, resolver.client, response.handle_metadata)
|
699
699
|
|
700
|
-
return _Mount._from_loader(_load, "Mount()")
|
700
|
+
return _Mount._from_loader(_load, "Mount()", hydrate_lazily=True)
|
701
701
|
|
702
702
|
@classmethod
|
703
703
|
@renamed_parameter((2024, 12, 18), "label", "name")
|
modal/sandbox.py
CHANGED
@@ -581,7 +581,9 @@ class _Sandbox(_Object, type_prefix="sb"):
|
|
581
581
|
)
|
582
582
|
sandbox = await _Sandbox.from_id(restore_resp.sandbox_id, client)
|
583
583
|
|
584
|
-
task_id_req = api_pb2.SandboxGetTaskIdRequest(
|
584
|
+
task_id_req = api_pb2.SandboxGetTaskIdRequest(
|
585
|
+
sandbox_id=restore_resp.sandbox_id, wait_until_ready=True, timeout=55.0
|
586
|
+
)
|
585
587
|
resp = await retry_transient_errors(client.stub.SandboxGetTaskId, task_id_req)
|
586
588
|
if resp.task_result.status not in [
|
587
589
|
api_pb2.GenericResult.GENERIC_STATUS_UNSPECIFIED,
|
@@ -20,7 +20,7 @@ modal/app.py,sha256=KNfzLlkI2dJPl9LY8AgW76whZpwIvYKi2E2p9u4F3N4,43659
|
|
20
20
|
modal/app.pyi,sha256=vnQhENaQBhJO6el-ieOcw3NEeYQ314SFXRDtjij4DM8,25324
|
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=gsjGMbhZz-Uf7JXkTF8H6cHyaeEvw9FaWdLmaDufd_8,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=7k3_FwhPUzewRXRZP8bcVJA9AZstoxGJuHKQ5Db-YoY,32683
|
@@ -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=oXjSr0p666oBVcYBTCvAB4C6BZ4ZTXHqGtHPOB1yu-Y,32137
|
49
49
|
modal/mount.pyi,sha256=dvdr4joSpW7oKnKyg9eDD0obFfekwZtW65j4NEomivQ,12523
|
50
50
|
modal/network_file_system.py,sha256=WXdyL7du_fvjvuG6hSAREyJ83sSEP2xSLAIAhBsisdI,14869
|
51
51
|
modal/network_file_system.pyi,sha256=4N3eqMbTSlqmS8VV_aJK-uvrgJC8xnf_YtW5FHfRfc8,8156
|
@@ -65,7 +65,7 @@ modal/retries.py,sha256=HKR2Q9aNPWkMjQ5nwobqYTuZaSuw0a8lI2zrtY5IW98,5230
|
|
65
65
|
modal/runner.py,sha256=0SCMgKO8lZ9W1C7le1EcgViKERMXpi_-QBd6PF_MH0Q,24450
|
66
66
|
modal/runner.pyi,sha256=YmP4EOCNjjkwSIPi2Gl6hF_ji_ytkxz9dw3iB9KXaOI,5275
|
67
67
|
modal/running_app.py,sha256=v61mapYNV1-O-Uaho5EfJlryMLvIT9We0amUOSvSGx8,1188
|
68
|
-
modal/sandbox.py,sha256=
|
68
|
+
modal/sandbox.py,sha256=fMvBs3KZV08kT9jo8roT7yNS78ENGef2xHIAuuXeuK4,31809
|
69
69
|
modal/sandbox.pyi,sha256=qncEvzK76h_ehrs03vlroQyLThWiMsjKhD0DnCNc6zI,22663
|
70
70
|
modal/schedule.py,sha256=0ZFpKs1bOxeo5n3HZjoL7OE2ktsb-_oGtq-WJEPO4tY,2615
|
71
71
|
modal/scheduler_placement.py,sha256=BAREdOY5HzHpzSBqt6jDVR6YC_jYfHMVqOzkyqQfngU,1235
|
@@ -169,10 +169,10 @@ modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0y
|
|
169
169
|
modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
170
170
|
modal_version/__init__.py,sha256=kGya2ZlItX2zB7oHORs-wvP4PG8lg_mtbi1QIK3G6SQ,470
|
171
171
|
modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
|
172
|
-
modal_version/_version_generated.py,sha256=
|
173
|
-
modal-0.72.
|
174
|
-
modal-0.72.
|
175
|
-
modal-0.72.
|
176
|
-
modal-0.72.
|
177
|
-
modal-0.72.
|
178
|
-
modal-0.72.
|
172
|
+
modal_version/_version_generated.py,sha256=v1gL7H7ZV7NC7iyLvrFPw5ocRiCpg-RX1pTZBLZoArI,149
|
173
|
+
modal-0.72.58.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
174
|
+
modal-0.72.58.dist-info/METADATA,sha256=zEdu-EyhKB6_vG5I0megzcrrhGQ1JDENfvrmEU1ZbVQ,2329
|
175
|
+
modal-0.72.58.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
176
|
+
modal-0.72.58.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
|
177
|
+
modal-0.72.58.dist-info/top_level.txt,sha256=1nvYbOSIKcmU50fNrpnQnrrOpj269ei3LzgB6j9xGqg,64
|
178
|
+
modal-0.72.58.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|