modal 0.73.70__py3-none-any.whl → 0.73.71__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/sandbox.py +7 -4
- {modal-0.73.70.dist-info → modal-0.73.71.dist-info}/METADATA +1 -1
- {modal-0.73.70.dist-info → modal-0.73.71.dist-info}/RECORD +10 -10
- modal_docs/gen_reference_docs.py +2 -1
- modal_version/_version_generated.py +1 -1
- {modal-0.73.70.dist-info → modal-0.73.71.dist-info}/LICENSE +0 -0
- {modal-0.73.70.dist-info → modal-0.73.71.dist-info}/WHEEL +0 -0
- {modal-0.73.70.dist-info → modal-0.73.71.dist-info}/entry_points.txt +0 -0
- {modal-0.73.70.dist-info → modal-0.73.71.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.73.
|
30
|
+
self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.73.71"
|
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.73.
|
88
|
+
self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.73.71"
|
89
89
|
): ...
|
90
90
|
def is_closed(self) -> bool: ...
|
91
91
|
@property
|
modal/sandbox.py
CHANGED
@@ -520,8 +520,10 @@ class _Sandbox(_Object, type_prefix="sb"):
|
|
520
520
|
# Internal option to set terminal size and metadata
|
521
521
|
_pty_info: Optional[api_pb2.PTYInfo] = None,
|
522
522
|
):
|
523
|
-
"""Execute a command in the Sandbox and return
|
524
|
-
|
523
|
+
"""Execute a command in the Sandbox and return a ContainerProcess handle.
|
524
|
+
|
525
|
+
See the [`ContainerProcess`](/docs/reference/modal.container_process#modalcontainer_processcontainerprocess)
|
526
|
+
docs for more information.
|
525
527
|
|
526
528
|
**Usage**
|
527
529
|
|
@@ -623,8 +625,9 @@ class _Sandbox(_Object, type_prefix="sb"):
|
|
623
625
|
path: str,
|
624
626
|
mode: Union["_typeshed.OpenTextMode", "_typeshed.OpenBinaryMode"] = "r",
|
625
627
|
):
|
626
|
-
"""Open a file in the Sandbox and return
|
627
|
-
|
628
|
+
"""Open a file in the Sandbox and return a FileIO handle.
|
629
|
+
|
630
|
+
See the [`FileIO`](/docs/reference/modal.file_io#modalfile_iofileio) docs for more information.
|
628
631
|
|
629
632
|
**Usage**
|
630
633
|
|
@@ -22,7 +22,7 @@ modal/app.py,sha256=o5mHoHtn41nkvskX_ekJkyfG6MXwj5rqerRi_nnPd0w,44725
|
|
22
22
|
modal/app.pyi,sha256=0MMCgskIL4r3eq8oBcfm2lLyeao2gXjS3iXaIfmaJ-o,25959
|
23
23
|
modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
|
24
24
|
modal/client.py,sha256=8SQawr7P1PNUCq1UmJMUQXG2jIo4Nmdcs311XqrNLRE,15276
|
25
|
-
modal/client.pyi,sha256=
|
25
|
+
modal/client.pyi,sha256=3oiz7QLu7Gh4ZeRKMpUKsZ5WX500UMOiVMTWjM2GSds,7593
|
26
26
|
modal/cloud_bucket_mount.py,sha256=YOe9nnvSr4ZbeCn587d7_VhE9IioZYRvF9VYQTQux08,5914
|
27
27
|
modal/cloud_bucket_mount.pyi,sha256=30T3K1a89l6wzmEJ_J9iWv9SknoGqaZDx59Xs-ZQcmk,1607
|
28
28
|
modal/cls.py,sha256=wztMTYkhJyW9iUVqx4_Gga4bJJpUiPgGsS6iacUqy-A,30001
|
@@ -67,7 +67,7 @@ modal/retries.py,sha256=HKR2Q9aNPWkMjQ5nwobqYTuZaSuw0a8lI2zrtY5IW98,5230
|
|
67
67
|
modal/runner.py,sha256=fdUyDGN-bWu_aZBvxBO_MIgEuucsA0PgDKDHBn5k8J0,24451
|
68
68
|
modal/runner.pyi,sha256=RYEYsnofrvVroYefWLhWAy8I_uwXV9fRNuJaVgcNzrg,5278
|
69
69
|
modal/running_app.py,sha256=v61mapYNV1-O-Uaho5EfJlryMLvIT9We0amUOSvSGx8,1188
|
70
|
-
modal/sandbox.py,sha256=
|
70
|
+
modal/sandbox.py,sha256=Rfe4BW2hjjpWjsYSnHiM6KXPDrXCXpCv0bZrYaKzYxQ,32371
|
71
71
|
modal/sandbox.pyi,sha256=cLmSwI1ab-2DgEuXNf6S1PiK63wfUR9dHtxlZtSOuX8,22719
|
72
72
|
modal/schedule.py,sha256=0ZFpKs1bOxeo5n3HZjoL7OE2ktsb-_oGtq-WJEPO4tY,2615
|
73
73
|
modal/scheduler_placement.py,sha256=BAREdOY5HzHpzSBqt6jDVR6YC_jYfHMVqOzkyqQfngU,1235
|
@@ -146,7 +146,7 @@ modal/requirements/README.md,sha256=9tK76KP0Uph7O0M5oUgsSwEZDj5y-dcUPsnpR0Sc-Ik,
|
|
146
146
|
modal/requirements/base-images.json,sha256=kLNo5Sqmnhp9H6Hr9IcaGJFrRaRg1yfuepUWkm-y8iQ,571
|
147
147
|
modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
|
148
148
|
modal_docs/gen_cli_docs.py,sha256=c1yfBS_x--gL5bs0N4ihMwqwX8l3IBWSkBAKNNIi6bQ,3801
|
149
|
-
modal_docs/gen_reference_docs.py,sha256=
|
149
|
+
modal_docs/gen_reference_docs.py,sha256=cvTgltucqYLLIX84QxAwf51Z5Vc2n6cLxS8VcrxNCAo,6401
|
150
150
|
modal_docs/mdmd/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
|
151
151
|
modal_docs/mdmd/mdmd.py,sha256=Irx49MCCTlBOP4FBdLR--JrpA3-WhsVeriq0LGgsRic,6232
|
152
152
|
modal_docs/mdmd/signatures.py,sha256=XJaZrK7Mdepk5fdX51A8uENiLFNil85Ud0d4MH8H5f0,3218
|
@@ -168,10 +168,10 @@ modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0y
|
|
168
168
|
modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
169
169
|
modal_version/__init__.py,sha256=wiJQ53c-OMs0Xf1UeXOxQ7FwlV1VzIjnX6o-pRYZ_Pk,470
|
170
170
|
modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
|
171
|
-
modal_version/_version_generated.py,sha256=
|
172
|
-
modal-0.73.
|
173
|
-
modal-0.73.
|
174
|
-
modal-0.73.
|
175
|
-
modal-0.73.
|
176
|
-
modal-0.73.
|
177
|
-
modal-0.73.
|
171
|
+
modal_version/_version_generated.py,sha256=Oep0v2_Xt-dtY4_u9gYDTc1JXueE408kFzHTxHZGDBk,149
|
172
|
+
modal-0.73.71.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
173
|
+
modal-0.73.71.dist-info/METADATA,sha256=Xx419QehojWLaT0x5mz3B6Dh1ho8sJOmCfRu295QlFs,2452
|
174
|
+
modal-0.73.71.dist-info/WHEEL,sha256=nn6H5-ilmfVryoAQl3ZQ2l8SH5imPWFpm1A5FgEuFV4,91
|
175
|
+
modal-0.73.71.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
|
176
|
+
modal-0.73.71.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
|
177
|
+
modal-0.73.71.dist-info/RECORD,,
|
modal_docs/gen_reference_docs.py
CHANGED
@@ -77,10 +77,11 @@ def run(output_dir: str = None):
|
|
77
77
|
base_title_level = "#"
|
78
78
|
forced_module_docs = [
|
79
79
|
("modal.call_graph", "modal.call_graph"),
|
80
|
+
("modal.container_process", "modal.container_process"),
|
80
81
|
("modal.gpu", "modal.gpu"),
|
81
82
|
("modal.runner", "modal.runner"),
|
82
83
|
("modal.io_streams", "modal.io_streams"),
|
83
|
-
("modal.
|
84
|
+
("modal.file_io", "modal.file_io"),
|
84
85
|
]
|
85
86
|
# These aren't defined in `modal`, but should still be documented as top-level entries.
|
86
87
|
forced_members: set[str] = set()
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|