modal 1.0.5.dev24__py3-none-any.whl → 1.0.5.dev26__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
@@ -6130,6 +6130,21 @@ global___GenericResult = GenericResult
6130
6130
  class Image(google.protobuf.message.Message):
6131
6131
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
6132
6132
 
6133
+ class BuildArgsEntry(google.protobuf.message.Message):
6134
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
6135
+
6136
+ KEY_FIELD_NUMBER: builtins.int
6137
+ VALUE_FIELD_NUMBER: builtins.int
6138
+ key: builtins.str
6139
+ value: builtins.str
6140
+ def __init__(
6141
+ self,
6142
+ *,
6143
+ key: builtins.str = ...,
6144
+ value: builtins.str = ...,
6145
+ ) -> None: ...
6146
+ def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
6147
+
6133
6148
  BASE_IMAGES_FIELD_NUMBER: builtins.int
6134
6149
  DOCKERFILE_COMMANDS_FIELD_NUMBER: builtins.int
6135
6150
  CONTEXT_FILES_FIELD_NUMBER: builtins.int
@@ -6143,6 +6158,7 @@ class Image(google.protobuf.message.Message):
6143
6158
  RUNTIME_FIELD_NUMBER: builtins.int
6144
6159
  RUNTIME_DEBUG_FIELD_NUMBER: builtins.int
6145
6160
  BUILD_FUNCTION_FIELD_NUMBER: builtins.int
6161
+ BUILD_ARGS_FIELD_NUMBER: builtins.int
6146
6162
  @property
6147
6163
  def base_images(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___BaseImage]: ...
6148
6164
  @property
@@ -6170,6 +6186,9 @@ class Image(google.protobuf.message.Message):
6170
6186
  """Not included in image definition checksum as debug features do not affect built image."""
6171
6187
  @property
6172
6188
  def build_function(self) -> global___BuildFunction: ...
6189
+ @property
6190
+ def build_args(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
6191
+ """Build arguments for the image (--build-arg) for ARG substitution in Dockerfile."""
6173
6192
  def __init__(
6174
6193
  self,
6175
6194
  *,
@@ -6186,9 +6205,10 @@ class Image(google.protobuf.message.Message):
6186
6205
  runtime: builtins.str = ...,
6187
6206
  runtime_debug: builtins.bool = ...,
6188
6207
  build_function: global___BuildFunction | None = ...,
6208
+ build_args: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
6189
6209
  ) -> None: ...
6190
6210
  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: ...
6191
- 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: ...
6211
+ def ClearField(self, field_name: typing_extensions.Literal["base_images", b"base_images", "build_args", b"build_args", "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: ...
6192
6212
 
6193
6213
  global___Image = Image
6194
6214
 
modal_version/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # Copyright Modal Labs 2025
2
2
  """Supplies the current version of the modal client library."""
3
3
 
4
- __version__ = "1.0.5.dev24"
4
+ __version__ = "1.0.5.dev26"