modal 0.73.21__py3-none-any.whl → 0.73.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/client.pyi +2 -2
- modal/functions.pyi +6 -6
- modal/gpu.py +26 -36
- {modal-0.73.21.dist-info → modal-0.73.23.dist-info}/METADATA +1 -1
- {modal-0.73.21.dist-info → modal-0.73.23.dist-info}/RECORD +13 -13
- modal_proto/api.proto +4 -0
- modal_proto/api_pb2.py +270 -270
- modal_proto/api_pb2.pyi +10 -2
- modal_version/_version_generated.py +1 -1
- {modal-0.73.21.dist-info → modal-0.73.23.dist-info}/LICENSE +0 -0
- {modal-0.73.21.dist-info → modal-0.73.23.dist-info}/WHEEL +0 -0
- {modal-0.73.21.dist-info → modal-0.73.23.dist-info}/entry_points.txt +0 -0
- {modal-0.73.21.dist-info → modal-0.73.23.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
@@ -7191,6 +7191,7 @@ class Sandbox(google.protobuf.message.Message):
|
|
7191
7191
|
ENABLE_SNAPSHOT_FIELD_NUMBER: builtins.int
|
7192
7192
|
SNAPSHOT_VERSION_FIELD_NUMBER: builtins.int
|
7193
7193
|
CLOUD_PROVIDER_STR_FIELD_NUMBER: builtins.int
|
7194
|
+
RUNSC_RUNTIME_VERSION_FIELD_NUMBER: builtins.int
|
7194
7195
|
@property
|
7195
7196
|
def entrypoint_args(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
7196
7197
|
@property
|
@@ -7238,6 +7239,10 @@ class Sandbox(google.protobuf.message.Message):
|
|
7238
7239
|
"""
|
7239
7240
|
cloud_provider_str: builtins.str
|
7240
7241
|
"""Supersedes cloud_provider"""
|
7242
|
+
runsc_runtime_version: builtins.str
|
7243
|
+
"""Specifies container runtime behavior for sandboxes which are restored from a snapshot.
|
7244
|
+
Set by the backend at snapshot creation time.
|
7245
|
+
"""
|
7241
7246
|
def __init__(
|
7242
7247
|
self,
|
7243
7248
|
*,
|
@@ -7265,12 +7270,15 @@ class Sandbox(google.protobuf.message.Message):
|
|
7265
7270
|
enable_snapshot: builtins.bool = ...,
|
7266
7271
|
snapshot_version: builtins.int | None = ...,
|
7267
7272
|
cloud_provider_str: builtins.str = ...,
|
7273
|
+
runsc_runtime_version: builtins.str | None = ...,
|
7268
7274
|
) -> None: ...
|
7269
|
-
def HasField(self, field_name: typing_extensions.Literal["_proxy_id", b"_proxy_id", "_scheduler_placement", b"_scheduler_placement", "_snapshot_version", b"_snapshot_version", "_workdir", b"_workdir", "network_access", b"network_access", "open_ports", b"open_ports", "open_ports_oneof", b"open_ports_oneof", "proxy_id", b"proxy_id", "pty_info", b"pty_info", "resources", b"resources", "scheduler_placement", b"scheduler_placement", "snapshot_version", b"snapshot_version", "workdir", b"workdir"]) -> builtins.bool: ...
|
7270
|
-
def ClearField(self, field_name: typing_extensions.Literal["_proxy_id", b"_proxy_id", "_scheduler_placement", b"_scheduler_placement", "_snapshot_version", b"_snapshot_version", "_workdir", b"_workdir", "block_network", b"block_network", "cloud_bucket_mounts", b"cloud_bucket_mounts", "cloud_provider", b"cloud_provider", "cloud_provider_str", b"cloud_provider_str", "enable_snapshot", b"enable_snapshot", "entrypoint_args", b"entrypoint_args", "i6pn_enabled", b"i6pn_enabled", "image_id", b"image_id", "mount_ids", b"mount_ids", "network_access", b"network_access", "nfs_mounts", b"nfs_mounts", "open_ports", b"open_ports", "open_ports_oneof", b"open_ports_oneof", "proxy_id", b"proxy_id", "pty_info", b"pty_info", "resources", b"resources", "runtime_debug", b"runtime_debug", "s3_mounts", b"s3_mounts", "scheduler_placement", b"scheduler_placement", "secret_ids", b"secret_ids", "snapshot_version", b"snapshot_version", "timeout_secs", b"timeout_secs", "volume_mounts", b"volume_mounts", "workdir", b"workdir", "worker_id", b"worker_id"]) -> None: ...
|
7275
|
+
def HasField(self, field_name: typing_extensions.Literal["_proxy_id", b"_proxy_id", "_runsc_runtime_version", b"_runsc_runtime_version", "_scheduler_placement", b"_scheduler_placement", "_snapshot_version", b"_snapshot_version", "_workdir", b"_workdir", "network_access", b"network_access", "open_ports", b"open_ports", "open_ports_oneof", b"open_ports_oneof", "proxy_id", b"proxy_id", "pty_info", b"pty_info", "resources", b"resources", "runsc_runtime_version", b"runsc_runtime_version", "scheduler_placement", b"scheduler_placement", "snapshot_version", b"snapshot_version", "workdir", b"workdir"]) -> builtins.bool: ...
|
7276
|
+
def ClearField(self, field_name: typing_extensions.Literal["_proxy_id", b"_proxy_id", "_runsc_runtime_version", b"_runsc_runtime_version", "_scheduler_placement", b"_scheduler_placement", "_snapshot_version", b"_snapshot_version", "_workdir", b"_workdir", "block_network", b"block_network", "cloud_bucket_mounts", b"cloud_bucket_mounts", "cloud_provider", b"cloud_provider", "cloud_provider_str", b"cloud_provider_str", "enable_snapshot", b"enable_snapshot", "entrypoint_args", b"entrypoint_args", "i6pn_enabled", b"i6pn_enabled", "image_id", b"image_id", "mount_ids", b"mount_ids", "network_access", b"network_access", "nfs_mounts", b"nfs_mounts", "open_ports", b"open_ports", "open_ports_oneof", b"open_ports_oneof", "proxy_id", b"proxy_id", "pty_info", b"pty_info", "resources", b"resources", "runsc_runtime_version", b"runsc_runtime_version", "runtime_debug", b"runtime_debug", "s3_mounts", b"s3_mounts", "scheduler_placement", b"scheduler_placement", "secret_ids", b"secret_ids", "snapshot_version", b"snapshot_version", "timeout_secs", b"timeout_secs", "volume_mounts", b"volume_mounts", "workdir", b"workdir", "worker_id", b"worker_id"]) -> None: ...
|
7271
7277
|
@typing.overload
|
7272
7278
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_proxy_id", b"_proxy_id"]) -> typing_extensions.Literal["proxy_id"] | None: ...
|
7273
7279
|
@typing.overload
|
7280
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_runsc_runtime_version", b"_runsc_runtime_version"]) -> typing_extensions.Literal["runsc_runtime_version"] | None: ...
|
7281
|
+
@typing.overload
|
7274
7282
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_scheduler_placement", b"_scheduler_placement"]) -> typing_extensions.Literal["scheduler_placement"] | None: ...
|
7275
7283
|
@typing.overload
|
7276
7284
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_snapshot_version", b"_snapshot_version"]) -> typing_extensions.Literal["snapshot_version"] | None: ...
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|