modal 0.71.8__py3-none-any.whl → 0.71.10__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/file_io.py +101 -83
- modal/file_io.pyi +4 -23
- modal/functions.pyi +6 -6
- modal/io_streams.py +27 -15
- {modal-0.71.8.dist-info → modal-0.71.10.dist-info}/METADATA +1 -1
- {modal-0.71.8.dist-info → modal-0.71.10.dist-info}/RECORD +19 -20
- modal_proto/api.proto +6 -0
- modal_proto/api_grpc.py +16 -0
- modal_proto/api_pb2.py +83 -71
- modal_proto/api_pb2.pyi +17 -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/_version_generated.py +1 -1
- modal/io_streams_helper.py +0 -53
- {modal-0.71.8.dist-info → modal-0.71.10.dist-info}/LICENSE +0 -0
- {modal-0.71.8.dist-info → modal-0.71.10.dist-info}/WHEEL +0 -0
- {modal-0.71.8.dist-info → modal-0.71.10.dist-info}/entry_points.txt +0 -0
- {modal-0.71.8.dist-info → modal-0.71.10.dist-info}/top_level.txt +0 -0
modal_proto/api_grpc.py
CHANGED
@@ -549,6 +549,10 @@ class ModalClientBase(abc.ABC):
|
|
549
549
|
async def VolumeRemoveFile(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.VolumeRemoveFileRequest, google.protobuf.empty_pb2.Empty]') -> None:
|
550
550
|
pass
|
551
551
|
|
552
|
+
@abc.abstractmethod
|
553
|
+
async def VolumeRename(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.VolumeRenameRequest, google.protobuf.empty_pb2.Empty]') -> None:
|
554
|
+
pass
|
555
|
+
|
552
556
|
@abc.abstractmethod
|
553
557
|
async def WorkspaceNameLookup(self, stream: 'grpclib.server.Stream[google.protobuf.empty_pb2.Empty, modal_proto.api_pb2.WorkspaceNameLookupResponse]') -> None:
|
554
558
|
pass
|
@@ -1353,6 +1357,12 @@ class ModalClientBase(abc.ABC):
|
|
1353
1357
|
modal_proto.api_pb2.VolumeRemoveFileRequest,
|
1354
1358
|
google.protobuf.empty_pb2.Empty,
|
1355
1359
|
),
|
1360
|
+
'/modal.client.ModalClient/VolumeRename': grpclib.const.Handler(
|
1361
|
+
self.VolumeRename,
|
1362
|
+
grpclib.const.Cardinality.UNARY_UNARY,
|
1363
|
+
modal_proto.api_pb2.VolumeRenameRequest,
|
1364
|
+
google.protobuf.empty_pb2.Empty,
|
1365
|
+
),
|
1356
1366
|
'/modal.client.ModalClient/WorkspaceNameLookup': grpclib.const.Handler(
|
1357
1367
|
self.WorkspaceNameLookup,
|
1358
1368
|
grpclib.const.Cardinality.UNARY_UNARY,
|
@@ -2163,6 +2173,12 @@ class ModalClientStub:
|
|
2163
2173
|
modal_proto.api_pb2.VolumeRemoveFileRequest,
|
2164
2174
|
google.protobuf.empty_pb2.Empty,
|
2165
2175
|
)
|
2176
|
+
self.VolumeRename = grpclib.client.UnaryUnaryMethod(
|
2177
|
+
channel,
|
2178
|
+
'/modal.client.ModalClient/VolumeRename',
|
2179
|
+
modal_proto.api_pb2.VolumeRenameRequest,
|
2180
|
+
google.protobuf.empty_pb2.Empty,
|
2181
|
+
)
|
2166
2182
|
self.WorkspaceNameLookup = grpclib.client.UnaryUnaryMethod(
|
2167
2183
|
channel,
|
2168
2184
|
'/modal.client.ModalClient/WorkspaceNameLookup',
|