modal 0.72.26__py3-none-any.whl → 0.72.27__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
@@ -6071,13 +6071,13 @@ class NotebookKernelPublishResultsRequest(google.protobuf.message.Message):
6071
6071
 
6072
6072
  CELL_ID_FIELD_NUMBER: builtins.int
6073
6073
  OUTPUT_FIELD_NUMBER: builtins.int
6074
- CLEAR_OUTPUTS_FIELD_NUMBER: builtins.int
6074
+ CLEAR_OUTPUT_FIELD_NUMBER: builtins.int
6075
6075
  EXECUTE_REPLY_FIELD_NUMBER: builtins.int
6076
6076
  cell_id: builtins.str
6077
6077
  @property
6078
6078
  def output(self) -> global___NotebookOutput:
6079
6079
  """Persistent output that is saved in the notebook."""
6080
- clear_outputs: builtins.bool
6080
+ clear_output: builtins.bool
6081
6081
  """Clear all previous outputs of the cell."""
6082
6082
  @property
6083
6083
  def execute_reply(self) -> global___NotebookKernelPublishResultsRequest.ExecuteReply:
@@ -6087,12 +6087,12 @@ class NotebookKernelPublishResultsRequest(google.protobuf.message.Message):
6087
6087
  *,
6088
6088
  cell_id: builtins.str = ...,
6089
6089
  output: global___NotebookOutput | None = ...,
6090
- clear_outputs: builtins.bool = ...,
6090
+ clear_output: builtins.bool = ...,
6091
6091
  execute_reply: global___NotebookKernelPublishResultsRequest.ExecuteReply | None = ...,
6092
6092
  ) -> None: ...
6093
- def HasField(self, field_name: typing_extensions.Literal["clear_outputs", b"clear_outputs", "execute_reply", b"execute_reply", "output", b"output", "result_type", b"result_type"]) -> builtins.bool: ...
6094
- def ClearField(self, field_name: typing_extensions.Literal["cell_id", b"cell_id", "clear_outputs", b"clear_outputs", "execute_reply", b"execute_reply", "output", b"output", "result_type", b"result_type"]) -> None: ...
6095
- def WhichOneof(self, oneof_group: typing_extensions.Literal["result_type", b"result_type"]) -> typing_extensions.Literal["output", "clear_outputs", "execute_reply"] | None: ...
6093
+ def HasField(self, field_name: typing_extensions.Literal["clear_output", b"clear_output", "execute_reply", b"execute_reply", "output", b"output", "result_type", b"result_type"]) -> builtins.bool: ...
6094
+ def ClearField(self, field_name: typing_extensions.Literal["cell_id", b"cell_id", "clear_output", b"clear_output", "execute_reply", b"execute_reply", "output", b"output", "result_type", b"result_type"]) -> None: ...
6095
+ def WhichOneof(self, oneof_group: typing_extensions.Literal["result_type", b"result_type"]) -> typing_extensions.Literal["output", "clear_output", "execute_reply"] | None: ...
6096
6096
 
6097
6097
  NOTEBOOK_ID_FIELD_NUMBER: builtins.int
6098
6098
  RESULTS_FIELD_NUMBER: builtins.int
@@ -6149,19 +6149,24 @@ class NotebookOutput(google.protobuf.message.Message):
6149
6149
 
6150
6150
  DATA_FIELD_NUMBER: builtins.int
6151
6151
  METADATA_FIELD_NUMBER: builtins.int
6152
+ TRANSIENT_DISPLAY_ID_FIELD_NUMBER: builtins.int
6152
6153
  @property
6153
6154
  def data(self) -> google.protobuf.struct_pb2.Struct:
6154
6155
  """mimebundle"""
6155
6156
  @property
6156
6157
  def metadata(self) -> google.protobuf.struct_pb2.Struct: ...
6158
+ transient_display_id: builtins.str
6159
+ """This should not be included in saved notebook."""
6157
6160
  def __init__(
6158
6161
  self,
6159
6162
  *,
6160
6163
  data: google.protobuf.struct_pb2.Struct | None = ...,
6161
6164
  metadata: google.protobuf.struct_pb2.Struct | None = ...,
6165
+ transient_display_id: builtins.str | None = ...,
6162
6166
  ) -> None: ...
6163
- def HasField(self, field_name: typing_extensions.Literal["data", b"data", "metadata", b"metadata"]) -> builtins.bool: ...
6164
- def ClearField(self, field_name: typing_extensions.Literal["data", b"data", "metadata", b"metadata"]) -> None: ...
6167
+ def HasField(self, field_name: typing_extensions.Literal["_transient_display_id", b"_transient_display_id", "data", b"data", "metadata", b"metadata", "transient_display_id", b"transient_display_id"]) -> builtins.bool: ...
6168
+ def ClearField(self, field_name: typing_extensions.Literal["_transient_display_id", b"_transient_display_id", "data", b"data", "metadata", b"metadata", "transient_display_id", b"transient_display_id"]) -> None: ...
6169
+ def WhichOneof(self, oneof_group: typing_extensions.Literal["_transient_display_id", b"_transient_display_id"]) -> typing_extensions.Literal["transient_display_id"] | None: ...
6165
6170
 
6166
6171
  class Stream(google.protobuf.message.Message):
6167
6172
  """Stream output from a code cell (stdout / stderr)."""
@@ -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 = 26 # git: 4ec7a05
4
+ build_number = 27 # git: 98aede5