modal 0.68.24__py3-none-any.whl → 0.68.42__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/_traceback.py +6 -2
- modal/_utils/deprecation.py +89 -0
- modal/app.py +15 -34
- modal/app.pyi +6 -7
- modal/cli/app.py +1 -1
- modal/cli/dict.py +6 -2
- modal/cli/network_file_system.py +1 -1
- modal/cli/run.py +1 -0
- modal/cli/volume.py +1 -1
- modal/client.pyi +2 -2
- modal/cls.py +15 -9
- modal/cls.pyi +5 -5
- modal/config.py +2 -1
- modal/container_process.py +2 -1
- modal/dict.py +12 -17
- modal/dict.pyi +8 -12
- modal/environments.py +10 -7
- modal/environments.pyi +6 -6
- modal/exception.py +0 -54
- modal/file_io.py +54 -7
- modal/file_io.pyi +18 -8
- modal/file_pattern_matcher.py +48 -15
- modal/functions.py +11 -13
- modal/functions.pyi +18 -12
- modal/image.py +21 -20
- modal/image.pyi +16 -28
- modal/mount.py +7 -4
- modal/mount.pyi +4 -4
- modal/network_file_system.py +13 -19
- modal/network_file_system.pyi +8 -12
- modal/partial_function.py +2 -30
- modal/queue.py +12 -17
- modal/queue.pyi +8 -12
- modal/runner.py +2 -7
- modal/sandbox.py +25 -13
- modal/sandbox.pyi +21 -0
- modal/secret.py +7 -4
- modal/secret.pyi +5 -5
- modal/serving.py +1 -1
- modal/volume.py +12 -17
- modal/volume.pyi +8 -12
- {modal-0.68.24.dist-info → modal-0.68.42.dist-info}/METADATA +2 -2
- {modal-0.68.24.dist-info → modal-0.68.42.dist-info}/RECORD +51 -50
- modal_proto/api.proto +1 -1
- modal_proto/api_pb2.py +750 -750
- modal_proto/api_pb2.pyi +4 -4
- modal_version/_version_generated.py +1 -1
- {modal-0.68.24.dist-info → modal-0.68.42.dist-info}/LICENSE +0 -0
- {modal-0.68.24.dist-info → modal-0.68.42.dist-info}/WHEEL +0 -0
- {modal-0.68.24.dist-info → modal-0.68.42.dist-info}/entry_points.txt +0 -0
- {modal-0.68.24.dist-info → modal-0.68.42.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
@@ -1069,11 +1069,11 @@ class AppLayout(google.protobuf.message.Message):
|
|
1069
1069
|
) -> None: ...
|
1070
1070
|
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
|
1071
1071
|
|
1072
|
-
|
1072
|
+
OBJECTS_FIELD_NUMBER: builtins.int
|
1073
1073
|
FUNCTION_IDS_FIELD_NUMBER: builtins.int
|
1074
1074
|
CLASS_IDS_FIELD_NUMBER: builtins.int
|
1075
1075
|
@property
|
1076
|
-
def
|
1076
|
+
def objects(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Object]: ...
|
1077
1077
|
@property
|
1078
1078
|
def function_ids(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
1079
1079
|
"""tag -> function id"""
|
@@ -1083,11 +1083,11 @@ class AppLayout(google.protobuf.message.Message):
|
|
1083
1083
|
def __init__(
|
1084
1084
|
self,
|
1085
1085
|
*,
|
1086
|
-
|
1086
|
+
objects: collections.abc.Iterable[global___Object] | None = ...,
|
1087
1087
|
function_ids: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
1088
1088
|
class_ids: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
1089
1089
|
) -> None: ...
|
1090
|
-
def ClearField(self, field_name: typing_extensions.Literal["class_ids", b"class_ids", "function_ids", b"function_ids", "
|
1090
|
+
def ClearField(self, field_name: typing_extensions.Literal["class_ids", b"class_ids", "function_ids", b"function_ids", "objects", b"objects"]) -> None: ...
|
1091
1091
|
|
1092
1092
|
global___AppLayout = AppLayout
|
1093
1093
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|