modal 1.1.1.dev35__py3-none-any.whl → 1.1.1.dev37__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/experimental/flash.py +1 -1
- modal/functions.pyi +6 -6
- {modal-1.1.1.dev35.dist-info → modal-1.1.1.dev37.dist-info}/METADATA +1 -1
- {modal-1.1.1.dev35.dist-info → modal-1.1.1.dev37.dist-info}/RECORD +16 -16
- modal_proto/api.proto +1 -8
- modal_proto/api_grpc.py +3 -3
- modal_proto/api_pb2.py +279 -289
- modal_proto/api_pb2.pyi +1 -27
- modal_proto/api_pb2_grpc.py +3 -3
- modal_proto/api_pb2_grpc.pyi +2 -2
- modal_version/__init__.py +1 -1
- {modal-1.1.1.dev35.dist-info → modal-1.1.1.dev37.dist-info}/WHEEL +0 -0
- {modal-1.1.1.dev35.dist-info → modal-1.1.1.dev37.dist-info}/entry_points.txt +0 -0
- {modal-1.1.1.dev35.dist-info → modal-1.1.1.dev37.dist-info}/licenses/LICENSE +0 -0
- {modal-1.1.1.dev35.dist-info → modal-1.1.1.dev37.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
|
@@ -8795,43 +8795,17 @@ class SandboxSnapshotFsAsyncGetRequest(google.protobuf.message.Message):
|
|
|
8795
8795
|
|
|
8796
8796
|
global___SandboxSnapshotFsAsyncGetRequest = SandboxSnapshotFsAsyncGetRequest
|
|
8797
8797
|
|
|
8798
|
-
class SandboxSnapshotFsAsyncGetResponse(google.protobuf.message.Message):
|
|
8799
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
8800
|
-
|
|
8801
|
-
IMAGE_ID_FIELD_NUMBER: builtins.int
|
|
8802
|
-
RESULT_FIELD_NUMBER: builtins.int
|
|
8803
|
-
IMAGE_METADATA_FIELD_NUMBER: builtins.int
|
|
8804
|
-
image_id: builtins.str
|
|
8805
|
-
@property
|
|
8806
|
-
def result(self) -> global___GenericResult: ...
|
|
8807
|
-
@property
|
|
8808
|
-
def image_metadata(self) -> global___ImageMetadata: ...
|
|
8809
|
-
def __init__(
|
|
8810
|
-
self,
|
|
8811
|
-
*,
|
|
8812
|
-
image_id: builtins.str = ...,
|
|
8813
|
-
result: global___GenericResult | None = ...,
|
|
8814
|
-
image_metadata: global___ImageMetadata | None = ...,
|
|
8815
|
-
) -> None: ...
|
|
8816
|
-
def HasField(self, field_name: typing_extensions.Literal["image_metadata", b"image_metadata", "result", b"result"]) -> builtins.bool: ...
|
|
8817
|
-
def ClearField(self, field_name: typing_extensions.Literal["image_id", b"image_id", "image_metadata", b"image_metadata", "result", b"result"]) -> None: ...
|
|
8818
|
-
|
|
8819
|
-
global___SandboxSnapshotFsAsyncGetResponse = SandboxSnapshotFsAsyncGetResponse
|
|
8820
|
-
|
|
8821
8798
|
class SandboxSnapshotFsAsyncRequest(google.protobuf.message.Message):
|
|
8822
8799
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
8823
8800
|
|
|
8824
8801
|
SANDBOX_ID_FIELD_NUMBER: builtins.int
|
|
8825
|
-
TIMEOUT_FIELD_NUMBER: builtins.int
|
|
8826
8802
|
sandbox_id: builtins.str
|
|
8827
|
-
timeout: builtins.float
|
|
8828
8803
|
def __init__(
|
|
8829
8804
|
self,
|
|
8830
8805
|
*,
|
|
8831
8806
|
sandbox_id: builtins.str = ...,
|
|
8832
|
-
timeout: builtins.float = ...,
|
|
8833
8807
|
) -> None: ...
|
|
8834
|
-
def ClearField(self, field_name: typing_extensions.Literal["sandbox_id", b"sandbox_id"
|
|
8808
|
+
def ClearField(self, field_name: typing_extensions.Literal["sandbox_id", b"sandbox_id"]) -> None: ...
|
|
8835
8809
|
|
|
8836
8810
|
global___SandboxSnapshotFsAsyncRequest = SandboxSnapshotFsAsyncRequest
|
|
8837
8811
|
|
modal_proto/api_pb2_grpc.py
CHANGED
|
@@ -613,7 +613,7 @@ class ModalClientStub(object):
|
|
|
613
613
|
self.SandboxSnapshotFsAsyncGet = channel.unary_unary(
|
|
614
614
|
'/modal.client.ModalClient/SandboxSnapshotFsAsyncGet',
|
|
615
615
|
request_serializer=modal__proto_dot_api__pb2.SandboxSnapshotFsAsyncGetRequest.SerializeToString,
|
|
616
|
-
response_deserializer=modal__proto_dot_api__pb2.
|
|
616
|
+
response_deserializer=modal__proto_dot_api__pb2.SandboxSnapshotFsResponse.FromString,
|
|
617
617
|
)
|
|
618
618
|
self.SandboxSnapshotGet = channel.unary_unary(
|
|
619
619
|
'/modal.client.ModalClient/SandboxSnapshotGet',
|
|
@@ -2458,7 +2458,7 @@ def add_ModalClientServicer_to_server(servicer, server):
|
|
|
2458
2458
|
'SandboxSnapshotFsAsyncGet': grpc.unary_unary_rpc_method_handler(
|
|
2459
2459
|
servicer.SandboxSnapshotFsAsyncGet,
|
|
2460
2460
|
request_deserializer=modal__proto_dot_api__pb2.SandboxSnapshotFsAsyncGetRequest.FromString,
|
|
2461
|
-
response_serializer=modal__proto_dot_api__pb2.
|
|
2461
|
+
response_serializer=modal__proto_dot_api__pb2.SandboxSnapshotFsResponse.SerializeToString,
|
|
2462
2462
|
),
|
|
2463
2463
|
'SandboxSnapshotGet': grpc.unary_unary_rpc_method_handler(
|
|
2464
2464
|
servicer.SandboxSnapshotGet,
|
|
@@ -4726,7 +4726,7 @@ class ModalClient(object):
|
|
|
4726
4726
|
metadata=None):
|
|
4727
4727
|
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/SandboxSnapshotFsAsyncGet',
|
|
4728
4728
|
modal__proto_dot_api__pb2.SandboxSnapshotFsAsyncGetRequest.SerializeToString,
|
|
4729
|
-
modal__proto_dot_api__pb2.
|
|
4729
|
+
modal__proto_dot_api__pb2.SandboxSnapshotFsResponse.FromString,
|
|
4730
4730
|
options, channel_credentials,
|
|
4731
4731
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
4732
4732
|
|
modal_proto/api_pb2_grpc.pyi
CHANGED
|
@@ -515,7 +515,7 @@ class ModalClientStub:
|
|
|
515
515
|
]
|
|
516
516
|
SandboxSnapshotFsAsyncGet: grpc.UnaryUnaryMultiCallable[
|
|
517
517
|
modal_proto.api_pb2.SandboxSnapshotFsAsyncGetRequest,
|
|
518
|
-
modal_proto.api_pb2.
|
|
518
|
+
modal_proto.api_pb2.SandboxSnapshotFsResponse,
|
|
519
519
|
]
|
|
520
520
|
SandboxSnapshotGet: grpc.UnaryUnaryMultiCallable[
|
|
521
521
|
modal_proto.api_pb2.SandboxSnapshotGetRequest,
|
|
@@ -1448,7 +1448,7 @@ class ModalClientServicer(metaclass=abc.ABCMeta):
|
|
|
1448
1448
|
self,
|
|
1449
1449
|
request: modal_proto.api_pb2.SandboxSnapshotFsAsyncGetRequest,
|
|
1450
1450
|
context: grpc.ServicerContext,
|
|
1451
|
-
) -> modal_proto.api_pb2.
|
|
1451
|
+
) -> modal_proto.api_pb2.SandboxSnapshotFsResponse: ...
|
|
1452
1452
|
@abc.abstractmethod
|
|
1453
1453
|
def SandboxSnapshotGet(
|
|
1454
1454
|
self,
|
modal_version/__init__.py
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|