modal 1.1.5.dev46__py3-none-any.whl → 1.1.5.dev48__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.
Potentially problematic release.
This version of modal might be problematic. Click here for more details.
- modal/client.pyi +2 -2
- {modal-1.1.5.dev46.dist-info → modal-1.1.5.dev48.dist-info}/METADATA +1 -1
- {modal-1.1.5.dev46.dist-info → modal-1.1.5.dev48.dist-info}/RECORD +11 -11
- modal_proto/api.proto +6 -0
- modal_proto/api_pb2.py +953 -940
- modal_proto/api_pb2.pyi +29 -2
- modal_version/__init__.py +1 -1
- {modal-1.1.5.dev46.dist-info → modal-1.1.5.dev48.dist-info}/WHEEL +0 -0
- {modal-1.1.5.dev46.dist-info → modal-1.1.5.dev48.dist-info}/entry_points.txt +0 -0
- {modal-1.1.5.dev46.dist-info → modal-1.1.5.dev48.dist-info}/licenses/LICENSE +0 -0
- {modal-1.1.5.dev46.dist-info → modal-1.1.5.dev48.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
|
@@ -1357,6 +1357,21 @@ class AppPublishRequest(google.protobuf.message.Message):
|
|
|
1357
1357
|
) -> None: ...
|
|
1358
1358
|
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
1359
1359
|
|
|
1360
|
+
class TagsEntry(google.protobuf.message.Message):
|
|
1361
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1362
|
+
|
|
1363
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
1364
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
1365
|
+
key: builtins.str
|
|
1366
|
+
value: builtins.str
|
|
1367
|
+
def __init__(
|
|
1368
|
+
self,
|
|
1369
|
+
*,
|
|
1370
|
+
key: builtins.str = ...,
|
|
1371
|
+
value: builtins.str = ...,
|
|
1372
|
+
) -> None: ...
|
|
1373
|
+
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
1374
|
+
|
|
1360
1375
|
APP_ID_FIELD_NUMBER: builtins.int
|
|
1361
1376
|
NAME_FIELD_NUMBER: builtins.int
|
|
1362
1377
|
DEPLOYMENT_TAG_FIELD_NUMBER: builtins.int
|
|
@@ -1367,6 +1382,7 @@ class AppPublishRequest(google.protobuf.message.Message):
|
|
|
1367
1382
|
ROLLBACK_VERSION_FIELD_NUMBER: builtins.int
|
|
1368
1383
|
CLIENT_VERSION_FIELD_NUMBER: builtins.int
|
|
1369
1384
|
COMMIT_INFO_FIELD_NUMBER: builtins.int
|
|
1385
|
+
TAGS_FIELD_NUMBER: builtins.int
|
|
1370
1386
|
app_id: builtins.str
|
|
1371
1387
|
name: builtins.str
|
|
1372
1388
|
deployment_tag: builtins.str
|
|
@@ -1389,6 +1405,9 @@ class AppPublishRequest(google.protobuf.message.Message):
|
|
|
1389
1405
|
@property
|
|
1390
1406
|
def commit_info(self) -> global___CommitInfo:
|
|
1391
1407
|
"""Git information for deployment tracking"""
|
|
1408
|
+
@property
|
|
1409
|
+
def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
1410
|
+
"""Additional metadata to attach to the App"""
|
|
1392
1411
|
def __init__(
|
|
1393
1412
|
self,
|
|
1394
1413
|
*,
|
|
@@ -1402,9 +1421,10 @@ class AppPublishRequest(google.protobuf.message.Message):
|
|
|
1402
1421
|
rollback_version: builtins.int = ...,
|
|
1403
1422
|
client_version: builtins.str = ...,
|
|
1404
1423
|
commit_info: global___CommitInfo | None = ...,
|
|
1424
|
+
tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
1405
1425
|
) -> None: ...
|
|
1406
1426
|
def HasField(self, field_name: typing_extensions.Literal["commit_info", b"commit_info"]) -> builtins.bool: ...
|
|
1407
|
-
def ClearField(self, field_name: typing_extensions.Literal["app_id", b"app_id", "app_state", b"app_state", "class_ids", b"class_ids", "client_version", b"client_version", "commit_info", b"commit_info", "definition_ids", b"definition_ids", "deployment_tag", b"deployment_tag", "function_ids", b"function_ids", "name", b"name", "rollback_version", b"rollback_version"]) -> None: ...
|
|
1427
|
+
def ClearField(self, field_name: typing_extensions.Literal["app_id", b"app_id", "app_state", b"app_state", "class_ids", b"class_ids", "client_version", b"client_version", "commit_info", b"commit_info", "definition_ids", b"definition_ids", "deployment_tag", b"deployment_tag", "function_ids", b"function_ids", "name", b"name", "rollback_version", b"rollback_version", "tags", b"tags"]) -> None: ...
|
|
1408
1428
|
|
|
1409
1429
|
global___AppPublishRequest = AppPublishRequest
|
|
1410
1430
|
|
|
@@ -8590,6 +8610,7 @@ class Sandbox(google.protobuf.message.Message):
|
|
|
8590
8610
|
EXPERIMENTAL_OPTIONS_FIELD_NUMBER: builtins.int
|
|
8591
8611
|
PRELOAD_PATH_PREFIXES_FIELD_NUMBER: builtins.int
|
|
8592
8612
|
IDLE_TIMEOUT_SECS_FIELD_NUMBER: builtins.int
|
|
8613
|
+
DIRECT_SANDBOX_COMMANDS_ENABLED_FIELD_NUMBER: builtins.int
|
|
8593
8614
|
@property
|
|
8594
8615
|
def entrypoint_args(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
8595
8616
|
@property
|
|
@@ -8656,6 +8677,11 @@ class Sandbox(google.protobuf.message.Message):
|
|
|
8656
8677
|
"""Internal use only."""
|
|
8657
8678
|
idle_timeout_secs: builtins.int
|
|
8658
8679
|
"""Optional idle timeout in seconds. If set, the sandbox will be terminated after being idle for this duration."""
|
|
8680
|
+
direct_sandbox_commands_enabled: builtins.bool
|
|
8681
|
+
"""If set, the sandbox will be created with direct sandbox commands enabled.
|
|
8682
|
+
Exec commands for the sandbox will be issued directly to the sandbox
|
|
8683
|
+
command router running on the Modal worker.
|
|
8684
|
+
"""
|
|
8659
8685
|
def __init__(
|
|
8660
8686
|
self,
|
|
8661
8687
|
*,
|
|
@@ -8690,9 +8716,10 @@ class Sandbox(google.protobuf.message.Message):
|
|
|
8690
8716
|
experimental_options: collections.abc.Mapping[builtins.str, builtins.bool] | None = ...,
|
|
8691
8717
|
preload_path_prefixes: collections.abc.Iterable[builtins.str] | None = ...,
|
|
8692
8718
|
idle_timeout_secs: builtins.int | None = ...,
|
|
8719
|
+
direct_sandbox_commands_enabled: builtins.bool = ...,
|
|
8693
8720
|
) -> None: ...
|
|
8694
8721
|
def HasField(self, field_name: typing_extensions.Literal["_idle_timeout_secs", b"_idle_timeout_secs", "_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", "idle_timeout_secs", b"idle_timeout_secs", "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: ...
|
|
8695
|
-
def ClearField(self, field_name: typing_extensions.Literal["_idle_timeout_secs", b"_idle_timeout_secs", "_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", "idle_timeout_secs", b"idle_timeout_secs", "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", "preload_path_prefixes", b"preload_path_prefixes", "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: ...
|
|
8722
|
+
def ClearField(self, field_name: typing_extensions.Literal["_idle_timeout_secs", b"_idle_timeout_secs", "_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", "direct_sandbox_commands_enabled", b"direct_sandbox_commands_enabled", "enable_snapshot", b"enable_snapshot", "entrypoint_args", b"entrypoint_args", "experimental_options", b"experimental_options", "i6pn_enabled", b"i6pn_enabled", "idle_timeout_secs", b"idle_timeout_secs", "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", "preload_path_prefixes", b"preload_path_prefixes", "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: ...
|
|
8696
8723
|
@typing.overload
|
|
8697
8724
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_idle_timeout_secs", b"_idle_timeout_secs"]) -> typing_extensions.Literal["idle_timeout_secs"] | None: ...
|
|
8698
8725
|
@typing.overload
|
modal_version/__init__.py
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|