modal 0.72.51__py3-none-any.whl → 0.72.53__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/__init__.py +2 -0
- modal/client.pyi +2 -2
- modal/sandbox.py +56 -0
- modal/sandbox.pyi +29 -0
- modal/snapshot.py +36 -0
- modal/snapshot.pyi +18 -0
- {modal-0.72.51.dist-info → modal-0.72.53.dist-info}/METADATA +1 -1
- {modal-0.72.51.dist-info → modal-0.72.53.dist-info}/RECORD +16 -14
- modal_proto/api.proto +3 -0
- modal_proto/api_pb2.py +488 -488
- modal_proto/api_pb2.pyi +12 -3
- modal_version/_version_generated.py +1 -1
- {modal-0.72.51.dist-info → modal-0.72.53.dist-info}/LICENSE +0 -0
- {modal-0.72.51.dist-info → modal-0.72.53.dist-info}/WHEEL +0 -0
- {modal-0.72.51.dist-info → modal-0.72.53.dist-info}/entry_points.txt +0 -0
- {modal-0.72.51.dist-info → modal-0.72.53.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
@@ -4563,12 +4563,14 @@ class FunctionGetInputsItem(google.protobuf.message.Message):
|
|
4563
4563
|
KILL_SWITCH_FIELD_NUMBER: builtins.int
|
4564
4564
|
FUNCTION_CALL_ID_FIELD_NUMBER: builtins.int
|
4565
4565
|
FUNCTION_CALL_INVOCATION_TYPE_FIELD_NUMBER: builtins.int
|
4566
|
+
RETRY_COUNT_FIELD_NUMBER: builtins.int
|
4566
4567
|
input_id: builtins.str
|
4567
4568
|
@property
|
4568
4569
|
def input(self) -> global___FunctionInput: ...
|
4569
4570
|
kill_switch: builtins.bool
|
4570
4571
|
function_call_id: builtins.str
|
4571
4572
|
function_call_invocation_type: global___FunctionCallInvocationType.ValueType
|
4573
|
+
retry_count: builtins.int
|
4572
4574
|
def __init__(
|
4573
4575
|
self,
|
4574
4576
|
*,
|
@@ -4577,9 +4579,10 @@ class FunctionGetInputsItem(google.protobuf.message.Message):
|
|
4577
4579
|
kill_switch: builtins.bool = ...,
|
4578
4580
|
function_call_id: builtins.str = ...,
|
4579
4581
|
function_call_invocation_type: global___FunctionCallInvocationType.ValueType = ...,
|
4582
|
+
retry_count: builtins.int = ...,
|
4580
4583
|
) -> None: ...
|
4581
4584
|
def HasField(self, field_name: typing_extensions.Literal["input", b"input"]) -> builtins.bool: ...
|
4582
|
-
def ClearField(self, field_name: typing_extensions.Literal["function_call_id", b"function_call_id", "function_call_invocation_type", b"function_call_invocation_type", "input", b"input", "input_id", b"input_id", "kill_switch", b"kill_switch"]) -> None: ...
|
4585
|
+
def ClearField(self, field_name: typing_extensions.Literal["function_call_id", b"function_call_id", "function_call_invocation_type", b"function_call_invocation_type", "input", b"input", "input_id", b"input_id", "kill_switch", b"kill_switch", "retry_count", b"retry_count"]) -> None: ...
|
4583
4586
|
|
4584
4587
|
global___FunctionGetInputsItem = FunctionGetInputsItem
|
4585
4588
|
|
@@ -5191,6 +5194,7 @@ class FunctionPutOutputsItem(google.protobuf.message.Message):
|
|
5191
5194
|
INPUT_STARTED_AT_FIELD_NUMBER: builtins.int
|
5192
5195
|
OUTPUT_CREATED_AT_FIELD_NUMBER: builtins.int
|
5193
5196
|
DATA_FORMAT_FIELD_NUMBER: builtins.int
|
5197
|
+
RETRY_COUNT_FIELD_NUMBER: builtins.int
|
5194
5198
|
input_id: builtins.str
|
5195
5199
|
@property
|
5196
5200
|
def result(self) -> global___GenericResult: ...
|
@@ -5198,6 +5202,7 @@ class FunctionPutOutputsItem(google.protobuf.message.Message):
|
|
5198
5202
|
output_created_at: builtins.float
|
5199
5203
|
data_format: global___DataFormat.ValueType
|
5200
5204
|
"""for result.data_oneof"""
|
5205
|
+
retry_count: builtins.int
|
5201
5206
|
def __init__(
|
5202
5207
|
self,
|
5203
5208
|
*,
|
@@ -5206,9 +5211,10 @@ class FunctionPutOutputsItem(google.protobuf.message.Message):
|
|
5206
5211
|
input_started_at: builtins.float = ...,
|
5207
5212
|
output_created_at: builtins.float = ...,
|
5208
5213
|
data_format: global___DataFormat.ValueType = ...,
|
5214
|
+
retry_count: builtins.int = ...,
|
5209
5215
|
) -> None: ...
|
5210
5216
|
def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ...
|
5211
|
-
def ClearField(self, field_name: typing_extensions.Literal["data_format", b"data_format", "input_id", b"input_id", "input_started_at", b"input_started_at", "output_created_at", b"output_created_at", "result", b"result"]) -> None: ...
|
5217
|
+
def ClearField(self, field_name: typing_extensions.Literal["data_format", b"data_format", "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"]) -> None: ...
|
5212
5218
|
|
5213
5219
|
global___FunctionPutOutputsItem = FunctionPutOutputsItem
|
5214
5220
|
|
@@ -5236,17 +5242,20 @@ class FunctionRetryInputsItem(google.protobuf.message.Message):
|
|
5236
5242
|
|
5237
5243
|
INPUT_JWT_FIELD_NUMBER: builtins.int
|
5238
5244
|
INPUT_FIELD_NUMBER: builtins.int
|
5245
|
+
RETRY_COUNT_FIELD_NUMBER: builtins.int
|
5239
5246
|
input_jwt: builtins.str
|
5240
5247
|
@property
|
5241
5248
|
def input(self) -> global___FunctionInput: ...
|
5249
|
+
retry_count: builtins.int
|
5242
5250
|
def __init__(
|
5243
5251
|
self,
|
5244
5252
|
*,
|
5245
5253
|
input_jwt: builtins.str = ...,
|
5246
5254
|
input: global___FunctionInput | None = ...,
|
5255
|
+
retry_count: builtins.int = ...,
|
5247
5256
|
) -> None: ...
|
5248
5257
|
def HasField(self, field_name: typing_extensions.Literal["input", b"input"]) -> builtins.bool: ...
|
5249
|
-
def ClearField(self, field_name: typing_extensions.Literal["input", b"input", "input_jwt", b"input_jwt"]) -> None: ...
|
5258
|
+
def ClearField(self, field_name: typing_extensions.Literal["input", b"input", "input_jwt", b"input_jwt", "retry_count", b"retry_count"]) -> None: ...
|
5250
5259
|
|
5251
5260
|
global___FunctionRetryInputsItem = FunctionRetryInputsItem
|
5252
5261
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|