modal 1.0.5.dev24__py3-none-any.whl → 1.0.5.dev27__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/_utils/blob_utils.py +1 -1
- modal/app.py +1 -1
- modal/client.pyi +2 -2
- {modal-1.0.5.dev24.dist-info → modal-1.0.5.dev27.dist-info}/METADATA +1 -1
- {modal-1.0.5.dev24.dist-info → modal-1.0.5.dev27.dist-info}/RECORD +13 -13
- modal_proto/api.proto +3 -0
- modal_proto/api_pb2.py +465 -452
- modal_proto/api_pb2.pyi +21 -1
- modal_version/__init__.py +1 -1
- {modal-1.0.5.dev24.dist-info → modal-1.0.5.dev27.dist-info}/WHEEL +0 -0
- {modal-1.0.5.dev24.dist-info → modal-1.0.5.dev27.dist-info}/entry_points.txt +0 -0
- {modal-1.0.5.dev24.dist-info → modal-1.0.5.dev27.dist-info}/licenses/LICENSE +0 -0
- {modal-1.0.5.dev24.dist-info → modal-1.0.5.dev27.dist-info}/top_level.txt +0 -0
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
File without changes
|
File without changes
|
File without changes
|
File without changes
|