modal 0.73.72__py3-none-any.whl → 0.73.74__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/client.pyi +2 -2
- modal/cls.py +7 -3
- modal/functions.pyi +6 -6
- {modal-0.73.72.dist-info → modal-0.73.74.dist-info}/METADATA +1 -1
- {modal-0.73.72.dist-info → modal-0.73.74.dist-info}/RECORD +13 -13
- modal_proto/api.proto +3 -1
- modal_proto/api_pb2.py +712 -712
- modal_proto/api_pb2.pyi +6 -5
- modal_version/_version_generated.py +1 -1
- {modal-0.73.72.dist-info → modal-0.73.74.dist-info}/LICENSE +0 -0
- {modal-0.73.72.dist-info → modal-0.73.74.dist-info}/WHEEL +0 -0
- {modal-0.73.72.dist-info → modal-0.73.74.dist-info}/entry_points.txt +0 -0
- {modal-0.73.72.dist-info → modal-0.73.74.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
@@ -2035,7 +2035,6 @@ class ClassGetRequest(google.protobuf.message.Message):
|
|
2035
2035
|
NAMESPACE_FIELD_NUMBER: builtins.int
|
2036
2036
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
2037
2037
|
LOOKUP_PUBLISHED_FIELD_NUMBER: builtins.int
|
2038
|
-
WORKSPACE_NAME_FIELD_NUMBER: builtins.int
|
2039
2038
|
ONLY_CLASS_FUNCTION_FIELD_NUMBER: builtins.int
|
2040
2039
|
app_name: builtins.str
|
2041
2040
|
object_tag: builtins.str
|
@@ -2043,7 +2042,6 @@ class ClassGetRequest(google.protobuf.message.Message):
|
|
2043
2042
|
environment_name: builtins.str
|
2044
2043
|
lookup_published: builtins.bool
|
2045
2044
|
"""Lookup class on app published by another workspace"""
|
2046
|
-
workspace_name: builtins.str
|
2047
2045
|
only_class_function: builtins.bool
|
2048
2046
|
"""True starting with 0.67.x clients, which don't create method placeholder functions"""
|
2049
2047
|
def __init__(
|
@@ -2054,10 +2052,9 @@ class ClassGetRequest(google.protobuf.message.Message):
|
|
2054
2052
|
namespace: global___DeploymentNamespace.ValueType = ...,
|
2055
2053
|
environment_name: builtins.str = ...,
|
2056
2054
|
lookup_published: builtins.bool = ...,
|
2057
|
-
workspace_name: builtins.str = ...,
|
2058
2055
|
only_class_function: builtins.bool = ...,
|
2059
2056
|
) -> None: ...
|
2060
|
-
def ClearField(self, field_name: typing_extensions.Literal["app_name", b"app_name", "environment_name", b"environment_name", "lookup_published", b"lookup_published", "namespace", b"namespace", "object_tag", b"object_tag", "only_class_function", b"only_class_function"
|
2057
|
+
def ClearField(self, field_name: typing_extensions.Literal["app_name", b"app_name", "environment_name", b"environment_name", "lookup_published", b"lookup_published", "namespace", b"namespace", "object_tag", b"object_tag", "only_class_function", b"only_class_function"]) -> None: ...
|
2061
2058
|
|
2062
2059
|
global___ClassGetRequest = ClassGetRequest
|
2063
2060
|
|
@@ -5689,6 +5686,7 @@ class ImageGetOrCreateRequest(google.protobuf.message.Message):
|
|
5689
5686
|
NAMESPACE_FIELD_NUMBER: builtins.int
|
5690
5687
|
BUILDER_VERSION_FIELD_NUMBER: builtins.int
|
5691
5688
|
ALLOW_GLOBAL_DEPLOYMENT_FIELD_NUMBER: builtins.int
|
5689
|
+
IGNORE_CACHE_FIELD_NUMBER: builtins.int
|
5692
5690
|
@property
|
5693
5691
|
def image(self) -> global___Image: ...
|
5694
5692
|
app_id: builtins.str
|
@@ -5700,6 +5698,8 @@ class ImageGetOrCreateRequest(google.protobuf.message.Message):
|
|
5700
5698
|
builder_version: builtins.str
|
5701
5699
|
allow_global_deployment: builtins.bool
|
5702
5700
|
"""Only admins can publish global images, but this provides an extra failsafe"""
|
5701
|
+
ignore_cache: builtins.bool
|
5702
|
+
"""Force the Image to build but don't clobber any Images with the same recipe in the cache"""
|
5703
5703
|
def __init__(
|
5704
5704
|
self,
|
5705
5705
|
*,
|
@@ -5711,9 +5711,10 @@ class ImageGetOrCreateRequest(google.protobuf.message.Message):
|
|
5711
5711
|
namespace: global___DeploymentNamespace.ValueType = ...,
|
5712
5712
|
builder_version: builtins.str = ...,
|
5713
5713
|
allow_global_deployment: builtins.bool = ...,
|
5714
|
+
ignore_cache: builtins.bool = ...,
|
5714
5715
|
) -> None: ...
|
5715
5716
|
def HasField(self, field_name: typing_extensions.Literal["image", b"image"]) -> builtins.bool: ...
|
5716
|
-
def ClearField(self, field_name: typing_extensions.Literal["allow_global_deployment", b"allow_global_deployment", "app_id", b"app_id", "build_function_id", b"build_function_id", "builder_version", b"builder_version", "existing_image_id", b"existing_image_id", "force_build", b"force_build", "image", b"image", "namespace", b"namespace"]) -> None: ...
|
5717
|
+
def ClearField(self, field_name: typing_extensions.Literal["allow_global_deployment", b"allow_global_deployment", "app_id", b"app_id", "build_function_id", b"build_function_id", "builder_version", b"builder_version", "existing_image_id", b"existing_image_id", "force_build", b"force_build", "ignore_cache", b"ignore_cache", "image", b"image", "namespace", b"namespace"]) -> None: ...
|
5717
5718
|
|
5718
5719
|
global___ImageGetOrCreateRequest = ImageGetOrCreateRequest
|
5719
5720
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|