modal 0.72.21__py3-none-any.whl → 0.72.23__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/_container_entrypoint.py +1 -1
- modal/_object.py +279 -0
- modal/_resolver.py +7 -5
- modal/_runtime/user_code_imports.py +7 -7
- modal/_serialization.py +4 -3
- modal/app.py +1 -1
- modal/app.pyi +4 -3
- modal/cli/app.py +1 -1
- modal/cli/container.py +1 -1
- modal/client.py +1 -0
- modal/client.pyi +4 -2
- modal/cls.py +1 -1
- modal/cls.pyi +2 -1
- modal/dict.py +1 -1
- modal/dict.pyi +2 -1
- modal/environments.py +1 -1
- modal/environments.pyi +2 -1
- modal/functions.py +18 -20
- modal/functions.pyi +13 -12
- modal/image.py +6 -6
- modal/image.pyi +2 -1
- modal/mount.py +1 -1
- modal/mount.pyi +2 -1
- modal/network_file_system.py +7 -7
- modal/network_file_system.pyi +2 -1
- modal/object.py +2 -265
- modal/object.pyi +30 -122
- modal/proxy.py +1 -1
- modal/proxy.pyi +2 -1
- modal/queue.py +1 -1
- modal/queue.pyi +2 -1
- modal/runner.py +2 -2
- modal/sandbox.py +1 -1
- modal/sandbox.pyi +2 -1
- modal/secret.py +1 -1
- modal/secret.pyi +2 -1
- modal/volume.py +1 -1
- modal/volume.pyi +2 -1
- {modal-0.72.21.dist-info → modal-0.72.23.dist-info}/METADATA +1 -1
- {modal-0.72.21.dist-info → modal-0.72.23.dist-info}/RECORD +48 -47
- modal_proto/api.proto +1 -1
- modal_proto/api_pb2.py +246 -246
- modal_proto/api_pb2.pyi +5 -2
- modal_version/_version_generated.py +1 -1
- {modal-0.72.21.dist-info → modal-0.72.23.dist-info}/LICENSE +0 -0
- {modal-0.72.21.dist-info → modal-0.72.23.dist-info}/WHEEL +0 -0
- {modal-0.72.21.dist-info → modal-0.72.23.dist-info}/entry_points.txt +0 -0
- {modal-0.72.21.dist-info → modal-0.72.23.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
@@ -7177,16 +7177,19 @@ class SandboxGetTaskIdRequest(google.protobuf.message.Message):
|
|
7177
7177
|
WAIT_UNTIL_READY_FIELD_NUMBER: builtins.int
|
7178
7178
|
sandbox_id: builtins.str
|
7179
7179
|
timeout: builtins.float
|
7180
|
+
"""Legacy clients do not provide a timeout. New clients must always provide a timeout."""
|
7180
7181
|
wait_until_ready: builtins.bool
|
7181
7182
|
"""If true, waits until the container's postStart hook has been run before returning. Useful for detecting init failures."""
|
7182
7183
|
def __init__(
|
7183
7184
|
self,
|
7184
7185
|
*,
|
7185
7186
|
sandbox_id: builtins.str = ...,
|
7186
|
-
timeout: builtins.float = ...,
|
7187
|
+
timeout: builtins.float | None = ...,
|
7187
7188
|
wait_until_ready: builtins.bool = ...,
|
7188
7189
|
) -> None: ...
|
7189
|
-
def
|
7190
|
+
def HasField(self, field_name: typing_extensions.Literal["_timeout", b"_timeout", "timeout", b"timeout"]) -> builtins.bool: ...
|
7191
|
+
def ClearField(self, field_name: typing_extensions.Literal["_timeout", b"_timeout", "sandbox_id", b"sandbox_id", "timeout", b"timeout", "wait_until_ready", b"wait_until_ready"]) -> None: ...
|
7192
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_timeout", b"_timeout"]) -> typing_extensions.Literal["timeout"] | None: ...
|
7190
7193
|
|
7191
7194
|
global___SandboxGetTaskIdRequest = SandboxGetTaskIdRequest
|
7192
7195
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|