modal 1.1.5.dev14__py3-none-any.whl → 1.1.5.dev15__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/functions.pyi +6 -6
- {modal-1.1.5.dev14.dist-info → modal-1.1.5.dev15.dist-info}/METADATA +1 -1
- {modal-1.1.5.dev14.dist-info → modal-1.1.5.dev15.dist-info}/RECORD +12 -12
- modal_proto/api.proto +12 -2
- modal_proto/api_pb2.py +467 -467
- modal_proto/api_pb2.pyi +20 -7
- modal_version/__init__.py +1 -1
- {modal-1.1.5.dev14.dist-info → modal-1.1.5.dev15.dist-info}/WHEEL +0 -0
- {modal-1.1.5.dev14.dist-info → modal-1.1.5.dev15.dist-info}/entry_points.txt +0 -0
- {modal-1.1.5.dev14.dist-info → modal-1.1.5.dev15.dist-info}/licenses/LICENSE +0 -0
- {modal-1.1.5.dev14.dist-info → modal-1.1.5.dev15.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
@@ -6947,10 +6947,12 @@ class MapAwaitRequest(google.protobuf.message.Message):
|
|
6947
6947
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
6948
6948
|
|
6949
6949
|
FUNCTION_CALL_ID_FIELD_NUMBER: builtins.int
|
6950
|
+
MAP_TOKEN_FIELD_NUMBER: builtins.int
|
6950
6951
|
LAST_ENTRY_ID_FIELD_NUMBER: builtins.int
|
6951
6952
|
REQUESTED_AT_FIELD_NUMBER: builtins.int
|
6952
6953
|
TIMEOUT_FIELD_NUMBER: builtins.int
|
6953
6954
|
function_call_id: builtins.str
|
6955
|
+
map_token: builtins.str
|
6954
6956
|
last_entry_id: builtins.str
|
6955
6957
|
requested_at: builtins.float
|
6956
6958
|
"""Used for waypoints."""
|
@@ -6959,11 +6961,14 @@ class MapAwaitRequest(google.protobuf.message.Message):
|
|
6959
6961
|
self,
|
6960
6962
|
*,
|
6961
6963
|
function_call_id: builtins.str = ...,
|
6964
|
+
map_token: builtins.str = ...,
|
6962
6965
|
last_entry_id: builtins.str = ...,
|
6963
6966
|
requested_at: builtins.float = ...,
|
6964
6967
|
timeout: builtins.float = ...,
|
6965
6968
|
) -> None: ...
|
6966
|
-
def
|
6969
|
+
def HasField(self, field_name: typing_extensions.Literal["call_info", b"call_info", "function_call_id", b"function_call_id", "map_token", b"map_token"]) -> builtins.bool: ...
|
6970
|
+
def ClearField(self, field_name: typing_extensions.Literal["call_info", b"call_info", "function_call_id", b"function_call_id", "last_entry_id", b"last_entry_id", "map_token", b"map_token", "requested_at", b"requested_at", "timeout", b"timeout"]) -> None: ...
|
6971
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["call_info", b"call_info"]) -> typing_extensions.Literal["function_call_id", "map_token"] | None: ...
|
6967
6972
|
|
6968
6973
|
global___MapAwaitRequest = MapAwaitRequest
|
6969
6974
|
|
@@ -7048,11 +7053,12 @@ class MapStartOrContinueRequest(google.protobuf.message.Message):
|
|
7048
7053
|
FUNCTION_ID_FIELD_NUMBER: builtins.int
|
7049
7054
|
PARENT_INPUT_ID_FIELD_NUMBER: builtins.int
|
7050
7055
|
FUNCTION_CALL_ID_FIELD_NUMBER: builtins.int
|
7056
|
+
MAP_TOKEN_FIELD_NUMBER: builtins.int
|
7051
7057
|
ITEMS_FIELD_NUMBER: builtins.int
|
7052
7058
|
function_id: builtins.str
|
7053
7059
|
parent_input_id: builtins.str
|
7054
7060
|
function_call_id: builtins.str
|
7055
|
-
|
7061
|
+
map_token: builtins.str
|
7056
7062
|
@property
|
7057
7063
|
def items(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___MapStartOrContinueItem]: ...
|
7058
7064
|
def __init__(
|
@@ -7060,23 +7066,29 @@ class MapStartOrContinueRequest(google.protobuf.message.Message):
|
|
7060
7066
|
*,
|
7061
7067
|
function_id: builtins.str = ...,
|
7062
7068
|
parent_input_id: builtins.str = ...,
|
7063
|
-
function_call_id: builtins.str
|
7069
|
+
function_call_id: builtins.str = ...,
|
7070
|
+
map_token: builtins.str = ...,
|
7064
7071
|
items: collections.abc.Iterable[global___MapStartOrContinueItem] | None = ...,
|
7065
7072
|
) -> None: ...
|
7066
|
-
def HasField(self, field_name: typing_extensions.Literal["
|
7067
|
-
def ClearField(self, field_name: typing_extensions.Literal["
|
7068
|
-
def WhichOneof(self, oneof_group: typing_extensions.Literal["
|
7073
|
+
def HasField(self, field_name: typing_extensions.Literal["call_info", b"call_info", "function_call_id", b"function_call_id", "map_token", b"map_token"]) -> builtins.bool: ...
|
7074
|
+
def ClearField(self, field_name: typing_extensions.Literal["call_info", b"call_info", "function_call_id", b"function_call_id", "function_id", b"function_id", "items", b"items", "map_token", b"map_token", "parent_input_id", b"parent_input_id"]) -> None: ...
|
7075
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["call_info", b"call_info"]) -> typing_extensions.Literal["function_call_id", "map_token"] | None: ...
|
7069
7076
|
|
7070
7077
|
global___MapStartOrContinueRequest = MapStartOrContinueRequest
|
7071
7078
|
|
7072
7079
|
class MapStartOrContinueResponse(google.protobuf.message.Message):
|
7073
7080
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
7074
7081
|
|
7082
|
+
MAP_TOKEN_FIELD_NUMBER: builtins.int
|
7075
7083
|
FUNCTION_ID_FIELD_NUMBER: builtins.int
|
7076
7084
|
FUNCTION_CALL_ID_FIELD_NUMBER: builtins.int
|
7077
7085
|
MAX_INPUTS_OUTSTANDING_FIELD_NUMBER: builtins.int
|
7078
7086
|
ATTEMPT_TOKENS_FIELD_NUMBER: builtins.int
|
7079
7087
|
RETRY_POLICY_FIELD_NUMBER: builtins.int
|
7088
|
+
map_token: builtins.str
|
7089
|
+
"""function_id and function_call_id are not necessary if map_token is provided.
|
7090
|
+
All 3 will be sent until it is safe to only send map_token.
|
7091
|
+
"""
|
7080
7092
|
function_id: builtins.str
|
7081
7093
|
function_call_id: builtins.str
|
7082
7094
|
max_inputs_outstanding: builtins.int
|
@@ -7087,6 +7099,7 @@ class MapStartOrContinueResponse(google.protobuf.message.Message):
|
|
7087
7099
|
def __init__(
|
7088
7100
|
self,
|
7089
7101
|
*,
|
7102
|
+
map_token: builtins.str = ...,
|
7090
7103
|
function_id: builtins.str = ...,
|
7091
7104
|
function_call_id: builtins.str = ...,
|
7092
7105
|
max_inputs_outstanding: builtins.int = ...,
|
@@ -7094,7 +7107,7 @@ class MapStartOrContinueResponse(google.protobuf.message.Message):
|
|
7094
7107
|
retry_policy: global___FunctionRetryPolicy | None = ...,
|
7095
7108
|
) -> None: ...
|
7096
7109
|
def HasField(self, field_name: typing_extensions.Literal["retry_policy", b"retry_policy"]) -> builtins.bool: ...
|
7097
|
-
def ClearField(self, field_name: typing_extensions.Literal["attempt_tokens", b"attempt_tokens", "function_call_id", b"function_call_id", "function_id", b"function_id", "max_inputs_outstanding", b"max_inputs_outstanding", "retry_policy", b"retry_policy"]) -> None: ...
|
7110
|
+
def ClearField(self, field_name: typing_extensions.Literal["attempt_tokens", b"attempt_tokens", "function_call_id", b"function_call_id", "function_id", b"function_id", "map_token", b"map_token", "max_inputs_outstanding", b"max_inputs_outstanding", "retry_policy", b"retry_policy"]) -> None: ...
|
7098
7111
|
|
7099
7112
|
global___MapStartOrContinueResponse = MapStartOrContinueResponse
|
7100
7113
|
|
modal_version/__init__.py
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|