modal 0.73.155__py3-none-any.whl → 0.73.157__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/_functions.py +4 -1
- modal/client.pyi +2 -2
- modal/cls.py +4 -1
- {modal-0.73.155.dist-info → modal-0.73.157.dist-info}/METADATA +1 -1
- {modal-0.73.155.dist-info → modal-0.73.157.dist-info}/RECORD +13 -13
- modal_proto/api.proto +5 -2
- modal_proto/api_pb2.py +700 -698
- modal_proto/api_pb2.pyi +10 -3
- modal_version/_version_generated.py +1 -1
- {modal-0.73.155.dist-info → modal-0.73.157.dist-info}/LICENSE +0 -0
- {modal-0.73.155.dist-info → modal-0.73.157.dist-info}/WHEEL +0 -0
- {modal-0.73.155.dist-info → modal-0.73.157.dist-info}/entry_points.txt +0 -0
- {modal-0.73.155.dist-info → modal-0.73.157.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
@@ -2553,7 +2553,11 @@ class ContainerExecRequest(google.protobuf.message.Message):
|
|
2553
2553
|
@property
|
2554
2554
|
def command(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
2555
2555
|
@property
|
2556
|
-
def pty_info(self) -> global___PTYInfo:
|
2556
|
+
def pty_info(self) -> global___PTYInfo:
|
2557
|
+
"""If pty_info is provided, open a PTY, but also this container exec is treated an
|
2558
|
+
"interactive shell" request, and it will be terminated if messages are not periodically
|
2559
|
+
sent on the stdin stream on some interval (currently 40 seconds).
|
2560
|
+
"""
|
2557
2561
|
terminate_container_on_exit: builtins.bool
|
2558
2562
|
"""Send SIGTERM to running container on exit of exec command."""
|
2559
2563
|
runtime_debug: builtins.bool
|
@@ -2578,8 +2582,11 @@ class ContainerExecRequest(google.protobuf.message.Message):
|
|
2578
2582
|
workdir: builtins.str | None = ...,
|
2579
2583
|
secret_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
2580
2584
|
) -> None: ...
|
2581
|
-
def HasField(self, field_name: typing_extensions.Literal["_workdir", b"_workdir", "pty_info", b"pty_info", "workdir", b"workdir"]) -> builtins.bool: ...
|
2582
|
-
def ClearField(self, field_name: typing_extensions.Literal["_workdir", b"_workdir", "command", b"command", "pty_info", b"pty_info", "runtime_debug", b"runtime_debug", "secret_ids", b"secret_ids", "stderr_output", b"stderr_output", "stdout_output", b"stdout_output", "task_id", b"task_id", "terminate_container_on_exit", b"terminate_container_on_exit", "timeout_secs", b"timeout_secs", "workdir", b"workdir"]) -> None: ...
|
2585
|
+
def HasField(self, field_name: typing_extensions.Literal["_pty_info", b"_pty_info", "_workdir", b"_workdir", "pty_info", b"pty_info", "workdir", b"workdir"]) -> builtins.bool: ...
|
2586
|
+
def ClearField(self, field_name: typing_extensions.Literal["_pty_info", b"_pty_info", "_workdir", b"_workdir", "command", b"command", "pty_info", b"pty_info", "runtime_debug", b"runtime_debug", "secret_ids", b"secret_ids", "stderr_output", b"stderr_output", "stdout_output", b"stdout_output", "task_id", b"task_id", "terminate_container_on_exit", b"terminate_container_on_exit", "timeout_secs", b"timeout_secs", "workdir", b"workdir"]) -> None: ...
|
2587
|
+
@typing.overload
|
2588
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_pty_info", b"_pty_info"]) -> typing_extensions.Literal["pty_info"] | None: ...
|
2589
|
+
@typing.overload
|
2583
2590
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_workdir", b"_workdir"]) -> typing_extensions.Literal["workdir"] | None: ...
|
2584
2591
|
|
2585
2592
|
global___ContainerExecRequest = ContainerExecRequest
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|