modal 1.1.2.dev31__py3-none-any.whl → 1.1.2.dev34__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/_container_entrypoint.py +12 -7
- modal/_functions.py +17 -6
- modal/_runtime/container_io_manager.py +10 -4
- modal/_runtime/container_io_manager.pyi +6 -4
- modal/_runtime/execution_context.py +18 -2
- modal/_runtime/execution_context.pyi +4 -1
- modal/client.pyi +2 -2
- modal/functions.pyi +14 -10
- {modal-1.1.2.dev31.dist-info → modal-1.1.2.dev34.dist-info}/METADATA +1 -1
- {modal-1.1.2.dev31.dist-info → modal-1.1.2.dev34.dist-info}/RECORD +18 -18
- modal_proto/api.proto +1 -0
- modal_proto/api_pb2.py +566 -566
- modal_proto/api_pb2.pyi +4 -1
- modal_version/__init__.py +1 -1
- {modal-1.1.2.dev31.dist-info → modal-1.1.2.dev34.dist-info}/WHEEL +0 -0
- {modal-1.1.2.dev31.dist-info → modal-1.1.2.dev34.dist-info}/entry_points.txt +0 -0
- {modal-1.1.2.dev31.dist-info → modal-1.1.2.dev34.dist-info}/licenses/LICENSE +0 -0
- {modal-1.1.2.dev31.dist-info → modal-1.1.2.dev34.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
@@ -5361,6 +5361,7 @@ class FunctionGetInputsItem(google.protobuf.message.Message):
|
|
5361
5361
|
FUNCTION_CALL_INVOCATION_TYPE_FIELD_NUMBER: builtins.int
|
5362
5362
|
RETRY_COUNT_FIELD_NUMBER: builtins.int
|
5363
5363
|
FUNCTION_MAP_IDX_FIELD_NUMBER: builtins.int
|
5364
|
+
ATTEMPT_TOKEN_FIELD_NUMBER: builtins.int
|
5364
5365
|
input_id: builtins.str
|
5365
5366
|
@property
|
5366
5367
|
def input(self) -> global___FunctionInput: ...
|
@@ -5370,6 +5371,7 @@ class FunctionGetInputsItem(google.protobuf.message.Message):
|
|
5370
5371
|
retry_count: builtins.int
|
5371
5372
|
function_map_idx: builtins.int
|
5372
5373
|
"""intercepted and only used by the worker."""
|
5374
|
+
attempt_token: builtins.str
|
5373
5375
|
def __init__(
|
5374
5376
|
self,
|
5375
5377
|
*,
|
@@ -5380,9 +5382,10 @@ class FunctionGetInputsItem(google.protobuf.message.Message):
|
|
5380
5382
|
function_call_invocation_type: global___FunctionCallInvocationType.ValueType = ...,
|
5381
5383
|
retry_count: builtins.int = ...,
|
5382
5384
|
function_map_idx: builtins.int | None = ...,
|
5385
|
+
attempt_token: builtins.str = ...,
|
5383
5386
|
) -> None: ...
|
5384
5387
|
def HasField(self, field_name: typing_extensions.Literal["_function_map_idx", b"_function_map_idx", "function_map_idx", b"function_map_idx", "input", b"input"]) -> builtins.bool: ...
|
5385
|
-
def ClearField(self, field_name: typing_extensions.Literal["_function_map_idx", b"_function_map_idx", "function_call_id", b"function_call_id", "function_call_invocation_type", b"function_call_invocation_type", "function_map_idx", b"function_map_idx", "input", b"input", "input_id", b"input_id", "kill_switch", b"kill_switch", "retry_count", b"retry_count"]) -> None: ...
|
5388
|
+
def ClearField(self, field_name: typing_extensions.Literal["_function_map_idx", b"_function_map_idx", "attempt_token", b"attempt_token", "function_call_id", b"function_call_id", "function_call_invocation_type", b"function_call_invocation_type", "function_map_idx", b"function_map_idx", "input", b"input", "input_id", b"input_id", "kill_switch", b"kill_switch", "retry_count", b"retry_count"]) -> None: ...
|
5386
5389
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_function_map_idx", b"_function_map_idx"]) -> typing_extensions.Literal["function_map_idx"] | None: ...
|
5387
5390
|
|
5388
5391
|
global___FunctionGetInputsItem = FunctionGetInputsItem
|
modal_version/__init__.py
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|