modal 1.1.1.dev18__py3-none-any.whl → 1.1.1.dev19__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.
Potentially problematic release.
This version of modal might be problematic. Click here for more details.
- modal/client.pyi +2 -2
- {modal-1.1.1.dev18.dist-info → modal-1.1.1.dev19.dist-info}/METADATA +1 -1
- {modal-1.1.1.dev18.dist-info → modal-1.1.1.dev19.dist-info}/RECORD +15 -15
- modal_proto/api.proto +11 -0
- modal_proto/api_grpc.py +16 -0
- modal_proto/api_pb2.py +465 -445
- modal_proto/api_pb2.pyi +36 -0
- modal_proto/api_pb2_grpc.py +33 -0
- modal_proto/api_pb2_grpc.pyi +10 -0
- modal_proto/modal_api_grpc.py +1 -0
- modal_version/__init__.py +1 -1
- {modal-1.1.1.dev18.dist-info → modal-1.1.1.dev19.dist-info}/WHEEL +0 -0
- {modal-1.1.1.dev18.dist-info → modal-1.1.1.dev19.dist-info}/entry_points.txt +0 -0
- {modal-1.1.1.dev18.dist-info → modal-1.1.1.dev19.dist-info}/licenses/LICENSE +0 -0
- {modal-1.1.1.dev18.dist-info → modal-1.1.1.dev19.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
|
@@ -6789,6 +6789,42 @@ class MapAwaitResponse(google.protobuf.message.Message):
|
|
|
6789
6789
|
|
|
6790
6790
|
global___MapAwaitResponse = MapAwaitResponse
|
|
6791
6791
|
|
|
6792
|
+
class MapCheckInputsRequest(google.protobuf.message.Message):
|
|
6793
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
6794
|
+
|
|
6795
|
+
LAST_ENTRY_ID_FIELD_NUMBER: builtins.int
|
|
6796
|
+
TIMEOUT_FIELD_NUMBER: builtins.int
|
|
6797
|
+
ATTEMPT_TOKENS_FIELD_NUMBER: builtins.int
|
|
6798
|
+
last_entry_id: builtins.str
|
|
6799
|
+
timeout: builtins.float
|
|
6800
|
+
@property
|
|
6801
|
+
def attempt_tokens(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
6802
|
+
def __init__(
|
|
6803
|
+
self,
|
|
6804
|
+
*,
|
|
6805
|
+
last_entry_id: builtins.str = ...,
|
|
6806
|
+
timeout: builtins.float = ...,
|
|
6807
|
+
attempt_tokens: collections.abc.Iterable[builtins.str] | None = ...,
|
|
6808
|
+
) -> None: ...
|
|
6809
|
+
def ClearField(self, field_name: typing_extensions.Literal["attempt_tokens", b"attempt_tokens", "last_entry_id", b"last_entry_id", "timeout", b"timeout"]) -> None: ...
|
|
6810
|
+
|
|
6811
|
+
global___MapCheckInputsRequest = MapCheckInputsRequest
|
|
6812
|
+
|
|
6813
|
+
class MapCheckInputsResponse(google.protobuf.message.Message):
|
|
6814
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
6815
|
+
|
|
6816
|
+
LOST_FIELD_NUMBER: builtins.int
|
|
6817
|
+
@property
|
|
6818
|
+
def lost(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bool]: ...
|
|
6819
|
+
def __init__(
|
|
6820
|
+
self,
|
|
6821
|
+
*,
|
|
6822
|
+
lost: collections.abc.Iterable[builtins.bool] | None = ...,
|
|
6823
|
+
) -> None: ...
|
|
6824
|
+
def ClearField(self, field_name: typing_extensions.Literal["lost", b"lost"]) -> None: ...
|
|
6825
|
+
|
|
6826
|
+
global___MapCheckInputsResponse = MapCheckInputsResponse
|
|
6827
|
+
|
|
6792
6828
|
class MapStartOrContinueItem(google.protobuf.message.Message):
|
|
6793
6829
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
6794
6830
|
|
modal_proto/api_pb2_grpc.py
CHANGED
|
@@ -450,6 +450,11 @@ class ModalClientStub(object):
|
|
|
450
450
|
request_serializer=modal__proto_dot_api__pb2.MapAwaitRequest.SerializeToString,
|
|
451
451
|
response_deserializer=modal__proto_dot_api__pb2.MapAwaitResponse.FromString,
|
|
452
452
|
)
|
|
453
|
+
self.MapCheckInputs = channel.unary_unary(
|
|
454
|
+
'/modal.client.ModalClient/MapCheckInputs',
|
|
455
|
+
request_serializer=modal__proto_dot_api__pb2.MapCheckInputsRequest.SerializeToString,
|
|
456
|
+
response_deserializer=modal__proto_dot_api__pb2.MapCheckInputsResponse.FromString,
|
|
457
|
+
)
|
|
453
458
|
self.MapStartOrContinue = channel.unary_unary(
|
|
454
459
|
'/modal.client.ModalClient/MapStartOrContinue',
|
|
455
460
|
request_serializer=modal__proto_dot_api__pb2.MapStartOrContinueRequest.SerializeToString,
|
|
@@ -1367,6 +1372,12 @@ class ModalClientServicer(object):
|
|
|
1367
1372
|
context.set_details('Method not implemented!')
|
|
1368
1373
|
raise NotImplementedError('Method not implemented!')
|
|
1369
1374
|
|
|
1375
|
+
def MapCheckInputs(self, request, context):
|
|
1376
|
+
"""Missing associated documentation comment in .proto file."""
|
|
1377
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
1378
|
+
context.set_details('Method not implemented!')
|
|
1379
|
+
raise NotImplementedError('Method not implemented!')
|
|
1380
|
+
|
|
1370
1381
|
def MapStartOrContinue(self, request, context):
|
|
1371
1382
|
"""Missing associated documentation comment in .proto file."""
|
|
1372
1383
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
@@ -2262,6 +2273,11 @@ def add_ModalClientServicer_to_server(servicer, server):
|
|
|
2262
2273
|
request_deserializer=modal__proto_dot_api__pb2.MapAwaitRequest.FromString,
|
|
2263
2274
|
response_serializer=modal__proto_dot_api__pb2.MapAwaitResponse.SerializeToString,
|
|
2264
2275
|
),
|
|
2276
|
+
'MapCheckInputs': grpc.unary_unary_rpc_method_handler(
|
|
2277
|
+
servicer.MapCheckInputs,
|
|
2278
|
+
request_deserializer=modal__proto_dot_api__pb2.MapCheckInputsRequest.FromString,
|
|
2279
|
+
response_serializer=modal__proto_dot_api__pb2.MapCheckInputsResponse.SerializeToString,
|
|
2280
|
+
),
|
|
2265
2281
|
'MapStartOrContinue': grpc.unary_unary_rpc_method_handler(
|
|
2266
2282
|
servicer.MapStartOrContinue,
|
|
2267
2283
|
request_deserializer=modal__proto_dot_api__pb2.MapStartOrContinueRequest.FromString,
|
|
@@ -4121,6 +4137,23 @@ class ModalClient(object):
|
|
|
4121
4137
|
options, channel_credentials,
|
|
4122
4138
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
4123
4139
|
|
|
4140
|
+
@staticmethod
|
|
4141
|
+
def MapCheckInputs(request,
|
|
4142
|
+
target,
|
|
4143
|
+
options=(),
|
|
4144
|
+
channel_credentials=None,
|
|
4145
|
+
call_credentials=None,
|
|
4146
|
+
insecure=False,
|
|
4147
|
+
compression=None,
|
|
4148
|
+
wait_for_ready=None,
|
|
4149
|
+
timeout=None,
|
|
4150
|
+
metadata=None):
|
|
4151
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/MapCheckInputs',
|
|
4152
|
+
modal__proto_dot_api__pb2.MapCheckInputsRequest.SerializeToString,
|
|
4153
|
+
modal__proto_dot_api__pb2.MapCheckInputsResponse.FromString,
|
|
4154
|
+
options, channel_credentials,
|
|
4155
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
4156
|
+
|
|
4124
4157
|
@staticmethod
|
|
4125
4158
|
def MapStartOrContinue(request,
|
|
4126
4159
|
target,
|
modal_proto/api_pb2_grpc.pyi
CHANGED
|
@@ -379,6 +379,10 @@ class ModalClientStub:
|
|
|
379
379
|
modal_proto.api_pb2.MapAwaitResponse,
|
|
380
380
|
]
|
|
381
381
|
"""Input Plane Map"""
|
|
382
|
+
MapCheckInputs: grpc.UnaryUnaryMultiCallable[
|
|
383
|
+
modal_proto.api_pb2.MapCheckInputsRequest,
|
|
384
|
+
modal_proto.api_pb2.MapCheckInputsResponse,
|
|
385
|
+
]
|
|
382
386
|
MapStartOrContinue: grpc.UnaryUnaryMultiCallable[
|
|
383
387
|
modal_proto.api_pb2.MapStartOrContinueRequest,
|
|
384
388
|
modal_proto.api_pb2.MapStartOrContinueResponse,
|
|
@@ -1234,6 +1238,12 @@ class ModalClientServicer(metaclass=abc.ABCMeta):
|
|
|
1234
1238
|
) -> modal_proto.api_pb2.MapAwaitResponse:
|
|
1235
1239
|
"""Input Plane Map"""
|
|
1236
1240
|
@abc.abstractmethod
|
|
1241
|
+
def MapCheckInputs(
|
|
1242
|
+
self,
|
|
1243
|
+
request: modal_proto.api_pb2.MapCheckInputsRequest,
|
|
1244
|
+
context: grpc.ServicerContext,
|
|
1245
|
+
) -> modal_proto.api_pb2.MapCheckInputsResponse: ...
|
|
1246
|
+
@abc.abstractmethod
|
|
1237
1247
|
def MapStartOrContinue(
|
|
1238
1248
|
self,
|
|
1239
1249
|
request: modal_proto.api_pb2.MapStartOrContinueRequest,
|
modal_proto/modal_api_grpc.py
CHANGED
|
@@ -105,6 +105,7 @@ class ModalClientModal:
|
|
|
105
105
|
self.ImageGetOrCreate = modal.client.UnaryUnaryWrapper(grpclib_stub.ImageGetOrCreate, client, server_url)
|
|
106
106
|
self.ImageJoinStreaming = modal.client.UnaryStreamWrapper(grpclib_stub.ImageJoinStreaming, client, server_url)
|
|
107
107
|
self.MapAwait = modal.client.UnaryUnaryWrapper(grpclib_stub.MapAwait, client, server_url)
|
|
108
|
+
self.MapCheckInputs = modal.client.UnaryUnaryWrapper(grpclib_stub.MapCheckInputs, client, server_url)
|
|
108
109
|
self.MapStartOrContinue = modal.client.UnaryUnaryWrapper(grpclib_stub.MapStartOrContinue, client, server_url)
|
|
109
110
|
self.MountGetOrCreate = modal.client.UnaryUnaryWrapper(grpclib_stub.MountGetOrCreate, client, server_url)
|
|
110
111
|
self.MountPutFile = modal.client.UnaryUnaryWrapper(grpclib_stub.MountPutFile, client, server_url)
|
modal_version/__init__.py
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|