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_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',