modal 0.72.28__py3-none-any.whl → 0.72.30__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/cloud_bucket_mount.py +4 -0
- modal/cloud_bucket_mount.pyi +4 -0
- {modal-0.72.28.dist-info → modal-0.72.30.dist-info}/METADATA +1 -1
- {modal-0.72.28.dist-info → modal-0.72.30.dist-info}/RECORD +13 -13
- modal_proto/api.proto +4 -2
- modal_proto/api_pb2.py +682 -682
- modal_proto/api_pb2.pyi +14 -7
- modal_version/_version_generated.py +1 -1
- {modal-0.72.28.dist-info → modal-0.72.30.dist-info}/LICENSE +0 -0
- {modal-0.72.28.dist-info → modal-0.72.30.dist-info}/WHEEL +0 -0
- {modal-0.72.28.dist-info → modal-0.72.30.dist-info}/entry_points.txt +0 -0
- {modal-0.72.28.dist-info → modal-0.72.30.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
@@ -2237,6 +2237,7 @@ class CloudBucketMount(google.protobuf.message.Message):
|
|
2237
2237
|
REQUESTER_PAYS_FIELD_NUMBER: builtins.int
|
2238
2238
|
BUCKET_ENDPOINT_URL_FIELD_NUMBER: builtins.int
|
2239
2239
|
KEY_PREFIX_FIELD_NUMBER: builtins.int
|
2240
|
+
OIDC_AUTH_ROLE_ARN_FIELD_NUMBER: builtins.int
|
2240
2241
|
bucket_name: builtins.str
|
2241
2242
|
mount_path: builtins.str
|
2242
2243
|
credentials_secret_id: builtins.str
|
@@ -2245,6 +2246,7 @@ class CloudBucketMount(google.protobuf.message.Message):
|
|
2245
2246
|
requester_pays: builtins.bool
|
2246
2247
|
bucket_endpoint_url: builtins.str
|
2247
2248
|
key_prefix: builtins.str
|
2249
|
+
oidc_auth_role_arn: builtins.str
|
2248
2250
|
def __init__(
|
2249
2251
|
self,
|
2250
2252
|
*,
|
@@ -2256,13 +2258,16 @@ class CloudBucketMount(google.protobuf.message.Message):
|
|
2256
2258
|
requester_pays: builtins.bool = ...,
|
2257
2259
|
bucket_endpoint_url: builtins.str | None = ...,
|
2258
2260
|
key_prefix: builtins.str | None = ...,
|
2261
|
+
oidc_auth_role_arn: builtins.str | None = ...,
|
2259
2262
|
) -> None: ...
|
2260
|
-
def HasField(self, field_name: typing_extensions.Literal["_bucket_endpoint_url", b"_bucket_endpoint_url", "_key_prefix", b"_key_prefix", "bucket_endpoint_url", b"bucket_endpoint_url", "key_prefix", b"key_prefix"]) -> builtins.bool: ...
|
2261
|
-
def ClearField(self, field_name: typing_extensions.Literal["_bucket_endpoint_url", b"_bucket_endpoint_url", "_key_prefix", b"_key_prefix", "bucket_endpoint_url", b"bucket_endpoint_url", "bucket_name", b"bucket_name", "bucket_type", b"bucket_type", "credentials_secret_id", b"credentials_secret_id", "key_prefix", b"key_prefix", "mount_path", b"mount_path", "read_only", b"read_only", "requester_pays", b"requester_pays"]) -> None: ...
|
2263
|
+
def HasField(self, field_name: typing_extensions.Literal["_bucket_endpoint_url", b"_bucket_endpoint_url", "_key_prefix", b"_key_prefix", "_oidc_auth_role_arn", b"_oidc_auth_role_arn", "bucket_endpoint_url", b"bucket_endpoint_url", "key_prefix", b"key_prefix", "oidc_auth_role_arn", b"oidc_auth_role_arn"]) -> builtins.bool: ...
|
2264
|
+
def ClearField(self, field_name: typing_extensions.Literal["_bucket_endpoint_url", b"_bucket_endpoint_url", "_key_prefix", b"_key_prefix", "_oidc_auth_role_arn", b"_oidc_auth_role_arn", "bucket_endpoint_url", b"bucket_endpoint_url", "bucket_name", b"bucket_name", "bucket_type", b"bucket_type", "credentials_secret_id", b"credentials_secret_id", "key_prefix", b"key_prefix", "mount_path", b"mount_path", "oidc_auth_role_arn", b"oidc_auth_role_arn", "read_only", b"read_only", "requester_pays", b"requester_pays"]) -> None: ...
|
2262
2265
|
@typing.overload
|
2263
2266
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_bucket_endpoint_url", b"_bucket_endpoint_url"]) -> typing_extensions.Literal["bucket_endpoint_url"] | None: ...
|
2264
2267
|
@typing.overload
|
2265
2268
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_key_prefix", b"_key_prefix"]) -> typing_extensions.Literal["key_prefix"] | None: ...
|
2269
|
+
@typing.overload
|
2270
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_oidc_auth_role_arn", b"_oidc_auth_role_arn"]) -> typing_extensions.Literal["oidc_auth_role_arn"] | None: ...
|
2266
2271
|
|
2267
2272
|
global___CloudBucketMount = CloudBucketMount
|
2268
2273
|
|
@@ -7047,7 +7052,7 @@ class Sandbox(google.protobuf.message.Message):
|
|
7047
7052
|
I6PN_ENABLED_FIELD_NUMBER: builtins.int
|
7048
7053
|
NETWORK_ACCESS_FIELD_NUMBER: builtins.int
|
7049
7054
|
PROXY_ID_FIELD_NUMBER: builtins.int
|
7050
|
-
|
7055
|
+
ENABLE_SNAPSHOT_FIELD_NUMBER: builtins.int
|
7051
7056
|
SNAPSHOT_VERSION_FIELD_NUMBER: builtins.int
|
7052
7057
|
@property
|
7053
7058
|
def entrypoint_args(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
@@ -7085,8 +7090,10 @@ class Sandbox(google.protobuf.message.Message):
|
|
7085
7090
|
def network_access(self) -> global___NetworkAccess:
|
7086
7091
|
"""Network access configuration beyond simple allow/block."""
|
7087
7092
|
proxy_id: builtins.str
|
7088
|
-
|
7089
|
-
"""Enable memory
|
7093
|
+
enable_snapshot: builtins.bool
|
7094
|
+
"""Enable snapshotting the sandbox (both memory and filesystem).
|
7095
|
+
This doesn't need to be enabled to save the filesystem as an image (i.e. a filesystem-only snapshot).
|
7096
|
+
"""
|
7090
7097
|
snapshot_version: builtins.int
|
7091
7098
|
"""Used to pin gVisor version for memory-snapshottable sandboxes.
|
7092
7099
|
This field is set by the server, not the client.
|
@@ -7115,11 +7122,11 @@ class Sandbox(google.protobuf.message.Message):
|
|
7115
7122
|
i6pn_enabled: builtins.bool = ...,
|
7116
7123
|
network_access: global___NetworkAccess | None = ...,
|
7117
7124
|
proxy_id: builtins.str | None = ...,
|
7118
|
-
|
7125
|
+
enable_snapshot: builtins.bool = ...,
|
7119
7126
|
snapshot_version: builtins.int | None = ...,
|
7120
7127
|
) -> None: ...
|
7121
7128
|
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: ...
|
7122
|
-
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", "
|
7129
|
+
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", "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: ...
|
7123
7130
|
@typing.overload
|
7124
7131
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_proxy_id", b"_proxy_id"]) -> typing_extensions.Literal["proxy_id"] | None: ...
|
7125
7132
|
@typing.overload
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|