modal 0.72.26__py3-none-any.whl → 0.72.28__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
@@ -180,6 +180,7 @@ class _ClientTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._Enu
180
180
  CLIENT_TYPE_WORKER: _ClientType.ValueType # 2
181
181
  CLIENT_TYPE_CONTAINER: _ClientType.ValueType # 3
182
182
  CLIENT_TYPE_WEB_SERVER: _ClientType.ValueType # 5
183
+ CLIENT_TYPE_NOTEBOOK_KERNEL: _ClientType.ValueType # 6
183
184
 
184
185
  class ClientType(_ClientType, metaclass=_ClientTypeEnumTypeWrapper): ...
185
186
 
@@ -188,6 +189,7 @@ CLIENT_TYPE_CLIENT: ClientType.ValueType # 1
188
189
  CLIENT_TYPE_WORKER: ClientType.ValueType # 2
189
190
  CLIENT_TYPE_CONTAINER: ClientType.ValueType # 3
190
191
  CLIENT_TYPE_WEB_SERVER: ClientType.ValueType # 5
192
+ CLIENT_TYPE_NOTEBOOK_KERNEL: ClientType.ValueType # 6
191
193
  global___ClientType = ClientType
192
194
 
193
195
  class _CloudProvider:
@@ -6071,13 +6073,13 @@ class NotebookKernelPublishResultsRequest(google.protobuf.message.Message):
6071
6073
 
6072
6074
  CELL_ID_FIELD_NUMBER: builtins.int
6073
6075
  OUTPUT_FIELD_NUMBER: builtins.int
6074
- CLEAR_OUTPUTS_FIELD_NUMBER: builtins.int
6076
+ CLEAR_OUTPUT_FIELD_NUMBER: builtins.int
6075
6077
  EXECUTE_REPLY_FIELD_NUMBER: builtins.int
6076
6078
  cell_id: builtins.str
6077
6079
  @property
6078
6080
  def output(self) -> global___NotebookOutput:
6079
6081
  """Persistent output that is saved in the notebook."""
6080
- clear_outputs: builtins.bool
6082
+ clear_output: builtins.bool
6081
6083
  """Clear all previous outputs of the cell."""
6082
6084
  @property
6083
6085
  def execute_reply(self) -> global___NotebookKernelPublishResultsRequest.ExecuteReply:
@@ -6087,12 +6089,12 @@ class NotebookKernelPublishResultsRequest(google.protobuf.message.Message):
6087
6089
  *,
6088
6090
  cell_id: builtins.str = ...,
6089
6091
  output: global___NotebookOutput | None = ...,
6090
- clear_outputs: builtins.bool = ...,
6092
+ clear_output: builtins.bool = ...,
6091
6093
  execute_reply: global___NotebookKernelPublishResultsRequest.ExecuteReply | None = ...,
6092
6094
  ) -> 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: ...
6095
+ 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: ...
6096
+ 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: ...
6097
+ def WhichOneof(self, oneof_group: typing_extensions.Literal["result_type", b"result_type"]) -> typing_extensions.Literal["output", "clear_output", "execute_reply"] | None: ...
6096
6098
 
6097
6099
  NOTEBOOK_ID_FIELD_NUMBER: builtins.int
6098
6100
  RESULTS_FIELD_NUMBER: builtins.int
@@ -6149,19 +6151,24 @@ class NotebookOutput(google.protobuf.message.Message):
6149
6151
 
6150
6152
  DATA_FIELD_NUMBER: builtins.int
6151
6153
  METADATA_FIELD_NUMBER: builtins.int
6154
+ TRANSIENT_DISPLAY_ID_FIELD_NUMBER: builtins.int
6152
6155
  @property
6153
6156
  def data(self) -> google.protobuf.struct_pb2.Struct:
6154
6157
  """mimebundle"""
6155
6158
  @property
6156
6159
  def metadata(self) -> google.protobuf.struct_pb2.Struct: ...
6160
+ transient_display_id: builtins.str
6161
+ """This should not be included in saved notebook."""
6157
6162
  def __init__(
6158
6163
  self,
6159
6164
  *,
6160
6165
  data: google.protobuf.struct_pb2.Struct | None = ...,
6161
6166
  metadata: google.protobuf.struct_pb2.Struct | None = ...,
6167
+ transient_display_id: builtins.str | None = ...,
6162
6168
  ) -> 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: ...
6169
+ 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: ...
6170
+ 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: ...
6171
+ def WhichOneof(self, oneof_group: typing_extensions.Literal["_transient_display_id", b"_transient_display_id"]) -> typing_extensions.Literal["transient_display_id"] | None: ...
6165
6172
 
6166
6173
  class Stream(google.protobuf.message.Message):
6167
6174
  """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 = 28 # git: 4033bc6