modal 0.73.156__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_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
@@ -1,4 +1,4 @@
1
1
  # Copyright Modal Labs 2025
2
2
 
3
3
  # Note: Reset this value to -1 whenever you make a minor `0.X` release of the client.
4
- build_number = 156 # git: a1965fa
4
+ build_number = 157 # git: 69f6246