modal 1.1.1.dev2__py3-none-any.whl → 1.1.1.dev4__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/sandbox.py +74 -4
- modal/sandbox.pyi +93 -3
- {modal-1.1.1.dev2.dist-info → modal-1.1.1.dev4.dist-info}/METADATA +1 -1
- {modal-1.1.1.dev2.dist-info → modal-1.1.1.dev4.dist-info}/RECORD +14 -14
- modal_proto/api.proto +3 -0
- modal_proto/api_pb2.py +321 -308
- modal_proto/api_pb2.pyi +21 -1
- modal_version/__init__.py +1 -1
- {modal-1.1.1.dev2.dist-info → modal-1.1.1.dev4.dist-info}/WHEEL +0 -0
- {modal-1.1.1.dev2.dist-info → modal-1.1.1.dev4.dist-info}/entry_points.txt +0 -0
- {modal-1.1.1.dev2.dist-info → modal-1.1.1.dev4.dist-info}/licenses/LICENSE +0 -0
- {modal-1.1.1.dev2.dist-info → modal-1.1.1.dev4.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
@@ -7944,6 +7944,21 @@ global___S3Mount = S3Mount
|
|
7944
7944
|
class Sandbox(google.protobuf.message.Message):
|
7945
7945
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
7946
7946
|
|
7947
|
+
class ExperimentalOptionsEntry(google.protobuf.message.Message):
|
7948
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
7949
|
+
|
7950
|
+
KEY_FIELD_NUMBER: builtins.int
|
7951
|
+
VALUE_FIELD_NUMBER: builtins.int
|
7952
|
+
key: builtins.str
|
7953
|
+
value: builtins.bool
|
7954
|
+
def __init__(
|
7955
|
+
self,
|
7956
|
+
*,
|
7957
|
+
key: builtins.str = ...,
|
7958
|
+
value: builtins.bool = ...,
|
7959
|
+
) -> None: ...
|
7960
|
+
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
|
7961
|
+
|
7947
7962
|
ENTRYPOINT_ARGS_FIELD_NUMBER: builtins.int
|
7948
7963
|
MOUNT_IDS_FIELD_NUMBER: builtins.int
|
7949
7964
|
IMAGE_ID_FIELD_NUMBER: builtins.int
|
@@ -7972,6 +7987,7 @@ class Sandbox(google.protobuf.message.Message):
|
|
7972
7987
|
RUNTIME_FIELD_NUMBER: builtins.int
|
7973
7988
|
VERBOSE_FIELD_NUMBER: builtins.int
|
7974
7989
|
NAME_FIELD_NUMBER: builtins.int
|
7990
|
+
EXPERIMENTAL_OPTIONS_FIELD_NUMBER: builtins.int
|
7975
7991
|
@property
|
7976
7992
|
def entrypoint_args(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
7977
7993
|
@property
|
@@ -8029,6 +8045,9 @@ class Sandbox(google.protobuf.message.Message):
|
|
8029
8045
|
"""If set, the sandbox will be created with verbose logging enabled."""
|
8030
8046
|
name: builtins.str
|
8031
8047
|
"""If set, the sandbox will be created with a name."""
|
8048
|
+
@property
|
8049
|
+
def experimental_options(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.bool]:
|
8050
|
+
"""Experimental options"""
|
8032
8051
|
def __init__(
|
8033
8052
|
self,
|
8034
8053
|
*,
|
@@ -8060,9 +8079,10 @@ class Sandbox(google.protobuf.message.Message):
|
|
8060
8079
|
runtime: builtins.str | None = ...,
|
8061
8080
|
verbose: builtins.bool = ...,
|
8062
8081
|
name: builtins.str | None = ...,
|
8082
|
+
experimental_options: collections.abc.Mapping[builtins.str, builtins.bool] | None = ...,
|
8063
8083
|
) -> None: ...
|
8064
8084
|
def HasField(self, field_name: typing_extensions.Literal["_name", b"_name", "_proxy_id", b"_proxy_id", "_runsc_runtime_version", b"_runsc_runtime_version", "_runtime", b"_runtime", "_scheduler_placement", b"_scheduler_placement", "_snapshot_version", b"_snapshot_version", "_workdir", b"_workdir", "name", b"name", "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", "runtime", b"runtime", "scheduler_placement", b"scheduler_placement", "snapshot_version", b"snapshot_version", "workdir", b"workdir"]) -> builtins.bool: ...
|
8065
|
-
def ClearField(self, field_name: typing_extensions.Literal["_name", b"_name", "_proxy_id", b"_proxy_id", "_runsc_runtime_version", b"_runsc_runtime_version", "_runtime", b"_runtime", "_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", "name", b"name", "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", b"runtime", "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", "verbose", b"verbose", "volume_mounts", b"volume_mounts", "workdir", b"workdir", "worker_id", b"worker_id"]) -> None: ...
|
8085
|
+
def ClearField(self, field_name: typing_extensions.Literal["_name", b"_name", "_proxy_id", b"_proxy_id", "_runsc_runtime_version", b"_runsc_runtime_version", "_runtime", b"_runtime", "_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", "experimental_options", b"experimental_options", "i6pn_enabled", b"i6pn_enabled", "image_id", b"image_id", "mount_ids", b"mount_ids", "name", b"name", "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", b"runtime", "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", "verbose", b"verbose", "volume_mounts", b"volume_mounts", "workdir", b"workdir", "worker_id", b"worker_id"]) -> None: ...
|
8066
8086
|
@typing.overload
|
8067
8087
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_name", b"_name"]) -> typing_extensions.Literal["name"] | None: ...
|
8068
8088
|
@typing.overload
|
modal_version/__init__.py
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|