modal 0.68.40__py3-none-any.whl → 0.68.49__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
@@ -37,6 +37,10 @@ class ModalClientBase(abc.ABC):
37
37
  async def AppGetByDeploymentName(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.AppGetByDeploymentNameRequest, modal_proto.api_pb2.AppGetByDeploymentNameResponse]') -> None:
38
38
  pass
39
39
 
40
+ @abc.abstractmethod
41
+ async def AppGetLayout(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.AppGetLayoutRequest, modal_proto.api_pb2.AppGetLayoutResponse]') -> None:
42
+ pass
43
+
40
44
  @abc.abstractmethod
41
45
  async def AppGetLogs(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.AppGetLogsRequest, modal_proto.api_pb2.TaskLogsBatch]') -> None:
42
46
  pass
@@ -577,6 +581,12 @@ class ModalClientBase(abc.ABC):
577
581
  modal_proto.api_pb2.AppGetByDeploymentNameRequest,
578
582
  modal_proto.api_pb2.AppGetByDeploymentNameResponse,
579
583
  ),
584
+ '/modal.client.ModalClient/AppGetLayout': grpclib.const.Handler(
585
+ self.AppGetLayout,
586
+ grpclib.const.Cardinality.UNARY_UNARY,
587
+ modal_proto.api_pb2.AppGetLayoutRequest,
588
+ modal_proto.api_pb2.AppGetLayoutResponse,
589
+ ),
580
590
  '/modal.client.ModalClient/AppGetLogs': grpclib.const.Handler(
581
591
  self.AppGetLogs,
582
592
  grpclib.const.Cardinality.UNARY_STREAM,
@@ -1375,6 +1385,12 @@ class ModalClientStub:
1375
1385
  modal_proto.api_pb2.AppGetByDeploymentNameRequest,
1376
1386
  modal_proto.api_pb2.AppGetByDeploymentNameResponse,
1377
1387
  )
1388
+ self.AppGetLayout = grpclib.client.UnaryUnaryMethod(
1389
+ channel,
1390
+ '/modal.client.ModalClient/AppGetLayout',
1391
+ modal_proto.api_pb2.AppGetLayoutRequest,
1392
+ modal_proto.api_pb2.AppGetLayoutResponse,
1393
+ )
1378
1394
  self.AppGetLogs = grpclib.client.UnaryStreamMethod(
1379
1395
  channel,
1380
1396
  '/modal.client.ModalClient/AppGetLogs',