modal 0.73.37__py3-none-any.whl → 0.73.39__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
@@ -4715,6 +4715,7 @@ class FunctionGetOutputsItem(google.protobuf.message.Message):
4715
4715
  TASK_ID_FIELD_NUMBER: builtins.int
4716
4716
  INPUT_STARTED_AT_FIELD_NUMBER: builtins.int
4717
4717
  OUTPUT_CREATED_AT_FIELD_NUMBER: builtins.int
4718
+ RETRY_COUNT_FIELD_NUMBER: builtins.int
4718
4719
  @property
4719
4720
  def result(self) -> global___GenericResult: ...
4720
4721
  idx: builtins.int
@@ -4724,6 +4725,7 @@ class FunctionGetOutputsItem(google.protobuf.message.Message):
4724
4725
  task_id: builtins.str
4725
4726
  input_started_at: builtins.float
4726
4727
  output_created_at: builtins.float
4728
+ retry_count: builtins.int
4727
4729
  def __init__(
4728
4730
  self,
4729
4731
  *,
@@ -4734,9 +4736,10 @@ class FunctionGetOutputsItem(google.protobuf.message.Message):
4734
4736
  task_id: builtins.str = ...,
4735
4737
  input_started_at: builtins.float = ...,
4736
4738
  output_created_at: builtins.float = ...,
4739
+ retry_count: builtins.int = ...,
4737
4740
  ) -> None: ...
4738
4741
  def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ...
4739
- def ClearField(self, field_name: typing_extensions.Literal["data_format", b"data_format", "idx", b"idx", "input_id", b"input_id", "input_started_at", b"input_started_at", "output_created_at", b"output_created_at", "result", b"result", "task_id", b"task_id"]) -> None: ...
4742
+ def ClearField(self, field_name: typing_extensions.Literal["data_format", b"data_format", "idx", b"idx", "input_id", b"input_id", "input_started_at", b"input_started_at", "output_created_at", b"output_created_at", "result", b"result", "retry_count", b"retry_count", "task_id", b"task_id"]) -> None: ...
4740
4743
 
4741
4744
  global___FunctionGetOutputsItem = FunctionGetOutputsItem
4742
4745
 
@@ -5562,7 +5565,6 @@ class Image(google.protobuf.message.Message):
5562
5565
  CONTEXT_FILES_FIELD_NUMBER: builtins.int
5563
5566
  VERSION_FIELD_NUMBER: builtins.int
5564
5567
  SECRET_IDS_FIELD_NUMBER: builtins.int
5565
- GPU_FIELD_NUMBER: builtins.int
5566
5568
  CONTEXT_MOUNT_ID_FIELD_NUMBER: builtins.int
5567
5569
  GPU_CONFIG_FIELD_NUMBER: builtins.int
5568
5570
  IMAGE_REGISTRY_CONFIG_FIELD_NUMBER: builtins.int
@@ -5580,13 +5582,10 @@ class Image(google.protobuf.message.Message):
5580
5582
  version: builtins.str
5581
5583
  @property
5582
5584
  def secret_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
5583
- gpu: builtins.bool
5585
+ context_mount_id: builtins.str
5584
5586
  """Part of Image definition, because presence of GPU drivers
5585
5587
  affects the image that's built.
5586
- Note: field 13 is getting replaced field 16. The client now sends both fields,
5587
- but the server still only reads field 13.
5588
5588
  """
5589
- context_mount_id: builtins.str
5590
5589
  @property
5591
5590
  def gpu_config(self) -> global___GPUConfig: ...
5592
5591
  @property
@@ -5609,7 +5608,6 @@ class Image(google.protobuf.message.Message):
5609
5608
  context_files: collections.abc.Iterable[global___ImageContextFile] | None = ...,
5610
5609
  version: builtins.str = ...,
5611
5610
  secret_ids: collections.abc.Iterable[builtins.str] | None = ...,
5612
- gpu: builtins.bool = ...,
5613
5611
  context_mount_id: builtins.str = ...,
5614
5612
  gpu_config: global___GPUConfig | None = ...,
5615
5613
  image_registry_config: global___ImageRegistryConfig | None = ...,
@@ -5620,7 +5618,7 @@ class Image(google.protobuf.message.Message):
5620
5618
  build_function: global___BuildFunction | None = ...,
5621
5619
  ) -> None: ...
5622
5620
  def HasField(self, field_name: typing_extensions.Literal["build_function", b"build_function", "gpu_config", b"gpu_config", "image_registry_config", b"image_registry_config"]) -> builtins.bool: ...
5623
- def ClearField(self, field_name: typing_extensions.Literal["base_images", b"base_images", "build_function", b"build_function", "build_function_def", b"build_function_def", "build_function_globals", b"build_function_globals", "context_files", b"context_files", "context_mount_id", b"context_mount_id", "dockerfile_commands", b"dockerfile_commands", "gpu", b"gpu", "gpu_config", b"gpu_config", "image_registry_config", b"image_registry_config", "runtime", b"runtime", "runtime_debug", b"runtime_debug", "secret_ids", b"secret_ids", "version", b"version"]) -> None: ...
5621
+ def ClearField(self, field_name: typing_extensions.Literal["base_images", b"base_images", "build_function", b"build_function", "build_function_def", b"build_function_def", "build_function_globals", b"build_function_globals", "context_files", b"context_files", "context_mount_id", b"context_mount_id", "dockerfile_commands", b"dockerfile_commands", "gpu_config", b"gpu_config", "image_registry_config", b"image_registry_config", "runtime", b"runtime", "runtime_debug", b"runtime_debug", "secret_ids", b"secret_ids", "version", b"version"]) -> None: ...
5624
5622
 
5625
5623
  global___Image = Image
5626
5624
 
@@ -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 = 37 # git: 60b183a
4
+ build_number = 39 # git: 346da8e