modal 0.72.49__py3-none-any.whl → 0.72.51__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-0.72.49.dist-info → modal-0.72.51.dist-info}/METADATA +1 -1
- {modal-0.72.49.dist-info → modal-0.72.51.dist-info}/RECORD +15 -15
- modal_proto/api.proto +9 -9
- modal_proto/api_grpc.py +14 -14
- modal_proto/api_pb2.py +259 -259
- modal_proto/api_pb2.pyi +28 -28
- modal_proto/api_pb2_grpc.py +20 -20
- modal_proto/api_pb2_grpc.pyi +10 -10
- modal_proto/modal_api_grpc.py +1 -1
- modal_version/_version_generated.py +1 -1
- {modal-0.72.49.dist-info → modal-0.72.51.dist-info}/LICENSE +0 -0
- {modal-0.72.49.dist-info → modal-0.72.51.dist-info}/WHEEL +0 -0
- {modal-0.72.49.dist-info → modal-0.72.51.dist-info}/entry_points.txt +0 -0
- {modal-0.72.49.dist-info → modal-0.72.51.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
@@ -7462,34 +7462,6 @@ class SandboxRestoreResponse(google.protobuf.message.Message):
|
|
7462
7462
|
|
7463
7463
|
global___SandboxRestoreResponse = SandboxRestoreResponse
|
7464
7464
|
|
7465
|
-
class SandboxSnapshotFromIdRequest(google.protobuf.message.Message):
|
7466
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
7467
|
-
|
7468
|
-
SNAPSHOT_ID_FIELD_NUMBER: builtins.int
|
7469
|
-
snapshot_id: builtins.str
|
7470
|
-
def __init__(
|
7471
|
-
self,
|
7472
|
-
*,
|
7473
|
-
snapshot_id: builtins.str = ...,
|
7474
|
-
) -> None: ...
|
7475
|
-
def ClearField(self, field_name: typing_extensions.Literal["snapshot_id", b"snapshot_id"]) -> None: ...
|
7476
|
-
|
7477
|
-
global___SandboxSnapshotFromIdRequest = SandboxSnapshotFromIdRequest
|
7478
|
-
|
7479
|
-
class SandboxSnapshotFromIdResponse(google.protobuf.message.Message):
|
7480
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
7481
|
-
|
7482
|
-
SNAPSHOT_ID_FIELD_NUMBER: builtins.int
|
7483
|
-
snapshot_id: builtins.str
|
7484
|
-
def __init__(
|
7485
|
-
self,
|
7486
|
-
*,
|
7487
|
-
snapshot_id: builtins.str = ...,
|
7488
|
-
) -> None: ...
|
7489
|
-
def ClearField(self, field_name: typing_extensions.Literal["snapshot_id", b"snapshot_id"]) -> None: ...
|
7490
|
-
|
7491
|
-
global___SandboxSnapshotFromIdResponse = SandboxSnapshotFromIdResponse
|
7492
|
-
|
7493
7465
|
class SandboxSnapshotFsRequest(google.protobuf.message.Message):
|
7494
7466
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
7495
7467
|
|
@@ -7531,6 +7503,34 @@ class SandboxSnapshotFsResponse(google.protobuf.message.Message):
|
|
7531
7503
|
|
7532
7504
|
global___SandboxSnapshotFsResponse = SandboxSnapshotFsResponse
|
7533
7505
|
|
7506
|
+
class SandboxSnapshotGetRequest(google.protobuf.message.Message):
|
7507
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
7508
|
+
|
7509
|
+
SNAPSHOT_ID_FIELD_NUMBER: builtins.int
|
7510
|
+
snapshot_id: builtins.str
|
7511
|
+
def __init__(
|
7512
|
+
self,
|
7513
|
+
*,
|
7514
|
+
snapshot_id: builtins.str = ...,
|
7515
|
+
) -> None: ...
|
7516
|
+
def ClearField(self, field_name: typing_extensions.Literal["snapshot_id", b"snapshot_id"]) -> None: ...
|
7517
|
+
|
7518
|
+
global___SandboxSnapshotGetRequest = SandboxSnapshotGetRequest
|
7519
|
+
|
7520
|
+
class SandboxSnapshotGetResponse(google.protobuf.message.Message):
|
7521
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
7522
|
+
|
7523
|
+
SNAPSHOT_ID_FIELD_NUMBER: builtins.int
|
7524
|
+
snapshot_id: builtins.str
|
7525
|
+
def __init__(
|
7526
|
+
self,
|
7527
|
+
*,
|
7528
|
+
snapshot_id: builtins.str = ...,
|
7529
|
+
) -> None: ...
|
7530
|
+
def ClearField(self, field_name: typing_extensions.Literal["snapshot_id", b"snapshot_id"]) -> None: ...
|
7531
|
+
|
7532
|
+
global___SandboxSnapshotGetResponse = SandboxSnapshotGetResponse
|
7533
|
+
|
7534
7534
|
class SandboxSnapshotRequest(google.protobuf.message.Message):
|
7535
7535
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
7536
7536
|
|
modal_proto/api_pb2_grpc.py
CHANGED
@@ -525,16 +525,16 @@ class ModalClientStub(object):
|
|
525
525
|
request_serializer=modal__proto_dot_api__pb2.SandboxSnapshotRequest.SerializeToString,
|
526
526
|
response_deserializer=modal__proto_dot_api__pb2.SandboxSnapshotResponse.FromString,
|
527
527
|
)
|
528
|
-
self.SandboxSnapshotFromId = channel.unary_unary(
|
529
|
-
'/modal.client.ModalClient/SandboxSnapshotFromId',
|
530
|
-
request_serializer=modal__proto_dot_api__pb2.SandboxSnapshotFromIdRequest.SerializeToString,
|
531
|
-
response_deserializer=modal__proto_dot_api__pb2.SandboxSnapshotFromIdResponse.FromString,
|
532
|
-
)
|
533
528
|
self.SandboxSnapshotFs = channel.unary_unary(
|
534
529
|
'/modal.client.ModalClient/SandboxSnapshotFs',
|
535
530
|
request_serializer=modal__proto_dot_api__pb2.SandboxSnapshotFsRequest.SerializeToString,
|
536
531
|
response_deserializer=modal__proto_dot_api__pb2.SandboxSnapshotFsResponse.FromString,
|
537
532
|
)
|
533
|
+
self.SandboxSnapshotGet = channel.unary_unary(
|
534
|
+
'/modal.client.ModalClient/SandboxSnapshotGet',
|
535
|
+
request_serializer=modal__proto_dot_api__pb2.SandboxSnapshotGetRequest.SerializeToString,
|
536
|
+
response_deserializer=modal__proto_dot_api__pb2.SandboxSnapshotGetResponse.FromString,
|
537
|
+
)
|
538
538
|
self.SandboxSnapshotWait = channel.unary_unary(
|
539
539
|
'/modal.client.ModalClient/SandboxSnapshotWait',
|
540
540
|
request_serializer=modal__proto_dot_api__pb2.SandboxSnapshotWaitRequest.SerializeToString,
|
@@ -1361,13 +1361,13 @@ class ModalClientServicer(object):
|
|
1361
1361
|
context.set_details('Method not implemented!')
|
1362
1362
|
raise NotImplementedError('Method not implemented!')
|
1363
1363
|
|
1364
|
-
def
|
1364
|
+
def SandboxSnapshotFs(self, request, context):
|
1365
1365
|
"""Missing associated documentation comment in .proto file."""
|
1366
1366
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1367
1367
|
context.set_details('Method not implemented!')
|
1368
1368
|
raise NotImplementedError('Method not implemented!')
|
1369
1369
|
|
1370
|
-
def
|
1370
|
+
def SandboxSnapshotGet(self, request, context):
|
1371
1371
|
"""Missing associated documentation comment in .proto file."""
|
1372
1372
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1373
1373
|
context.set_details('Method not implemented!')
|
@@ -2121,16 +2121,16 @@ def add_ModalClientServicer_to_server(servicer, server):
|
|
2121
2121
|
request_deserializer=modal__proto_dot_api__pb2.SandboxSnapshotRequest.FromString,
|
2122
2122
|
response_serializer=modal__proto_dot_api__pb2.SandboxSnapshotResponse.SerializeToString,
|
2123
2123
|
),
|
2124
|
-
'SandboxSnapshotFromId': grpc.unary_unary_rpc_method_handler(
|
2125
|
-
servicer.SandboxSnapshotFromId,
|
2126
|
-
request_deserializer=modal__proto_dot_api__pb2.SandboxSnapshotFromIdRequest.FromString,
|
2127
|
-
response_serializer=modal__proto_dot_api__pb2.SandboxSnapshotFromIdResponse.SerializeToString,
|
2128
|
-
),
|
2129
2124
|
'SandboxSnapshotFs': grpc.unary_unary_rpc_method_handler(
|
2130
2125
|
servicer.SandboxSnapshotFs,
|
2131
2126
|
request_deserializer=modal__proto_dot_api__pb2.SandboxSnapshotFsRequest.FromString,
|
2132
2127
|
response_serializer=modal__proto_dot_api__pb2.SandboxSnapshotFsResponse.SerializeToString,
|
2133
2128
|
),
|
2129
|
+
'SandboxSnapshotGet': grpc.unary_unary_rpc_method_handler(
|
2130
|
+
servicer.SandboxSnapshotGet,
|
2131
|
+
request_deserializer=modal__proto_dot_api__pb2.SandboxSnapshotGetRequest.FromString,
|
2132
|
+
response_serializer=modal__proto_dot_api__pb2.SandboxSnapshotGetResponse.SerializeToString,
|
2133
|
+
),
|
2134
2134
|
'SandboxSnapshotWait': grpc.unary_unary_rpc_method_handler(
|
2135
2135
|
servicer.SandboxSnapshotWait,
|
2136
2136
|
request_deserializer=modal__proto_dot_api__pb2.SandboxSnapshotWaitRequest.FromString,
|
@@ -4066,7 +4066,7 @@ class ModalClient(object):
|
|
4066
4066
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
4067
4067
|
|
4068
4068
|
@staticmethod
|
4069
|
-
def
|
4069
|
+
def SandboxSnapshotFs(request,
|
4070
4070
|
target,
|
4071
4071
|
options=(),
|
4072
4072
|
channel_credentials=None,
|
@@ -4076,14 +4076,14 @@ class ModalClient(object):
|
|
4076
4076
|
wait_for_ready=None,
|
4077
4077
|
timeout=None,
|
4078
4078
|
metadata=None):
|
4079
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
4080
|
-
modal__proto_dot_api__pb2.
|
4081
|
-
modal__proto_dot_api__pb2.
|
4079
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/SandboxSnapshotFs',
|
4080
|
+
modal__proto_dot_api__pb2.SandboxSnapshotFsRequest.SerializeToString,
|
4081
|
+
modal__proto_dot_api__pb2.SandboxSnapshotFsResponse.FromString,
|
4082
4082
|
options, channel_credentials,
|
4083
4083
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
4084
4084
|
|
4085
4085
|
@staticmethod
|
4086
|
-
def
|
4086
|
+
def SandboxSnapshotGet(request,
|
4087
4087
|
target,
|
4088
4088
|
options=(),
|
4089
4089
|
channel_credentials=None,
|
@@ -4093,9 +4093,9 @@ class ModalClient(object):
|
|
4093
4093
|
wait_for_ready=None,
|
4094
4094
|
timeout=None,
|
4095
4095
|
metadata=None):
|
4096
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
4097
|
-
modal__proto_dot_api__pb2.
|
4098
|
-
modal__proto_dot_api__pb2.
|
4096
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/SandboxSnapshotGet',
|
4097
|
+
modal__proto_dot_api__pb2.SandboxSnapshotGetRequest.SerializeToString,
|
4098
|
+
modal__proto_dot_api__pb2.SandboxSnapshotGetResponse.FromString,
|
4099
4099
|
options, channel_credentials,
|
4100
4100
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
4101
4101
|
|
modal_proto/api_pb2_grpc.pyi
CHANGED
@@ -437,14 +437,14 @@ class ModalClientStub:
|
|
437
437
|
modal_proto.api_pb2.SandboxSnapshotRequest,
|
438
438
|
modal_proto.api_pb2.SandboxSnapshotResponse,
|
439
439
|
]
|
440
|
-
SandboxSnapshotFromId: grpc.UnaryUnaryMultiCallable[
|
441
|
-
modal_proto.api_pb2.SandboxSnapshotFromIdRequest,
|
442
|
-
modal_proto.api_pb2.SandboxSnapshotFromIdResponse,
|
443
|
-
]
|
444
440
|
SandboxSnapshotFs: grpc.UnaryUnaryMultiCallable[
|
445
441
|
modal_proto.api_pb2.SandboxSnapshotFsRequest,
|
446
442
|
modal_proto.api_pb2.SandboxSnapshotFsResponse,
|
447
443
|
]
|
444
|
+
SandboxSnapshotGet: grpc.UnaryUnaryMultiCallable[
|
445
|
+
modal_proto.api_pb2.SandboxSnapshotGetRequest,
|
446
|
+
modal_proto.api_pb2.SandboxSnapshotGetResponse,
|
447
|
+
]
|
448
448
|
SandboxSnapshotWait: grpc.UnaryUnaryMultiCallable[
|
449
449
|
modal_proto.api_pb2.SandboxSnapshotWaitRequest,
|
450
450
|
modal_proto.api_pb2.SandboxSnapshotWaitResponse,
|
@@ -1238,18 +1238,18 @@ class ModalClientServicer(metaclass=abc.ABCMeta):
|
|
1238
1238
|
context: grpc.ServicerContext,
|
1239
1239
|
) -> modal_proto.api_pb2.SandboxSnapshotResponse: ...
|
1240
1240
|
@abc.abstractmethod
|
1241
|
-
def SandboxSnapshotFromId(
|
1242
|
-
self,
|
1243
|
-
request: modal_proto.api_pb2.SandboxSnapshotFromIdRequest,
|
1244
|
-
context: grpc.ServicerContext,
|
1245
|
-
) -> modal_proto.api_pb2.SandboxSnapshotFromIdResponse: ...
|
1246
|
-
@abc.abstractmethod
|
1247
1241
|
def SandboxSnapshotFs(
|
1248
1242
|
self,
|
1249
1243
|
request: modal_proto.api_pb2.SandboxSnapshotFsRequest,
|
1250
1244
|
context: grpc.ServicerContext,
|
1251
1245
|
) -> modal_proto.api_pb2.SandboxSnapshotFsResponse: ...
|
1252
1246
|
@abc.abstractmethod
|
1247
|
+
def SandboxSnapshotGet(
|
1248
|
+
self,
|
1249
|
+
request: modal_proto.api_pb2.SandboxSnapshotGetRequest,
|
1250
|
+
context: grpc.ServicerContext,
|
1251
|
+
) -> modal_proto.api_pb2.SandboxSnapshotGetResponse: ...
|
1252
|
+
@abc.abstractmethod
|
1253
1253
|
def SandboxSnapshotWait(
|
1254
1254
|
self,
|
1255
1255
|
request: modal_proto.api_pb2.SandboxSnapshotWaitRequest,
|
modal_proto/modal_api_grpc.py
CHANGED
@@ -114,8 +114,8 @@ class ModalClientModal:
|
|
114
114
|
self.SandboxList = modal.client.UnaryUnaryWrapper(grpclib_stub.SandboxList, client)
|
115
115
|
self.SandboxRestore = modal.client.UnaryUnaryWrapper(grpclib_stub.SandboxRestore, client)
|
116
116
|
self.SandboxSnapshot = modal.client.UnaryUnaryWrapper(grpclib_stub.SandboxSnapshot, client)
|
117
|
-
self.SandboxSnapshotFromId = modal.client.UnaryUnaryWrapper(grpclib_stub.SandboxSnapshotFromId, client)
|
118
117
|
self.SandboxSnapshotFs = modal.client.UnaryUnaryWrapper(grpclib_stub.SandboxSnapshotFs, client)
|
118
|
+
self.SandboxSnapshotGet = modal.client.UnaryUnaryWrapper(grpclib_stub.SandboxSnapshotGet, client)
|
119
119
|
self.SandboxSnapshotWait = modal.client.UnaryUnaryWrapper(grpclib_stub.SandboxSnapshotWait, client)
|
120
120
|
self.SandboxStdinWrite = modal.client.UnaryUnaryWrapper(grpclib_stub.SandboxStdinWrite, client)
|
121
121
|
self.SandboxTagsSet = modal.client.UnaryUnaryWrapper(grpclib_stub.SandboxTagsSet, client)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|