modAL 1.4.2.dev0__py3-none-any.whl → 1.4.2.dev2__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
@@ -51,6 +51,10 @@ class ModalClientBase(abc.ABC):
51
51
  async def AppGetLayout(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.AppGetLayoutRequest, modal_proto.api_pb2.AppGetLayoutResponse]') -> None:
52
52
  pass
53
53
 
54
+ @abc.abstractmethod
55
+ async def AppGetLifecycle(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.AppGetLifecycleRequest, modal_proto.api_pb2.AppGetLifecycleResponse]') -> None:
56
+ pass
57
+
54
58
  @abc.abstractmethod
55
59
  async def AppGetLogs(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.AppGetLogsRequest, modal_proto.api_pb2.TaskLogsBatch]') -> None:
56
60
  pass
@@ -87,6 +91,10 @@ class ModalClientBase(abc.ABC):
87
91
  async def AppRollback(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.AppRollbackRequest, google.protobuf.empty_pb2.Empty]') -> None:
88
92
  pass
89
93
 
94
+ @abc.abstractmethod
95
+ async def AppRollover(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.AppRolloverRequest, modal_proto.api_pb2.AppRolloverResponse]') -> None:
96
+ pass
97
+
90
98
  @abc.abstractmethod
91
99
  async def AppSetObjects(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.AppSetObjectsRequest, google.protobuf.empty_pb2.Empty]') -> None:
92
100
  pass
@@ -675,6 +683,10 @@ class ModalClientBase(abc.ABC):
675
683
  async def TaskResult(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.TaskResultRequest, google.protobuf.empty_pb2.Empty]') -> None:
676
684
  pass
677
685
 
686
+ @abc.abstractmethod
687
+ async def TemplateList(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.TemplateListRequest, modal_proto.api_pb2.TemplateListResponse]') -> None:
688
+ pass
689
+
678
690
  @abc.abstractmethod
679
691
  async def TokenFlowCreate(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.TokenFlowCreateRequest, modal_proto.api_pb2.TokenFlowCreateResponse]') -> None:
680
692
  pass
@@ -829,6 +841,12 @@ class ModalClientBase(abc.ABC):
829
841
  modal_proto.api_pb2.AppGetLayoutRequest,
830
842
  modal_proto.api_pb2.AppGetLayoutResponse,
831
843
  ),
844
+ '/modal.client.ModalClient/AppGetLifecycle': grpclib.const.Handler(
845
+ self.AppGetLifecycle,
846
+ grpclib.const.Cardinality.UNARY_UNARY,
847
+ modal_proto.api_pb2.AppGetLifecycleRequest,
848
+ modal_proto.api_pb2.AppGetLifecycleResponse,
849
+ ),
832
850
  '/modal.client.ModalClient/AppGetLogs': grpclib.const.Handler(
833
851
  self.AppGetLogs,
834
852
  grpclib.const.Cardinality.UNARY_STREAM,
@@ -883,6 +901,12 @@ class ModalClientBase(abc.ABC):
883
901
  modal_proto.api_pb2.AppRollbackRequest,
884
902
  google.protobuf.empty_pb2.Empty,
885
903
  ),
904
+ '/modal.client.ModalClient/AppRollover': grpclib.const.Handler(
905
+ self.AppRollover,
906
+ grpclib.const.Cardinality.UNARY_UNARY,
907
+ modal_proto.api_pb2.AppRolloverRequest,
908
+ modal_proto.api_pb2.AppRolloverResponse,
909
+ ),
886
910
  '/modal.client.ModalClient/AppSetObjects': grpclib.const.Handler(
887
911
  self.AppSetObjects,
888
912
  grpclib.const.Cardinality.UNARY_UNARY,
@@ -1765,6 +1789,12 @@ class ModalClientBase(abc.ABC):
1765
1789
  modal_proto.api_pb2.TaskResultRequest,
1766
1790
  google.protobuf.empty_pb2.Empty,
1767
1791
  ),
1792
+ '/modal.client.ModalClient/TemplateList': grpclib.const.Handler(
1793
+ self.TemplateList,
1794
+ grpclib.const.Cardinality.UNARY_UNARY,
1795
+ modal_proto.api_pb2.TemplateListRequest,
1796
+ modal_proto.api_pb2.TemplateListResponse,
1797
+ ),
1768
1798
  '/modal.client.ModalClient/TokenFlowCreate': grpclib.const.Handler(
1769
1799
  self.TokenFlowCreate,
1770
1800
  grpclib.const.Cardinality.UNARY_UNARY,
@@ -1975,6 +2005,12 @@ class ModalClientStub:
1975
2005
  modal_proto.api_pb2.AppGetLayoutRequest,
1976
2006
  modal_proto.api_pb2.AppGetLayoutResponse,
1977
2007
  )
2008
+ self.AppGetLifecycle = grpclib.client.UnaryUnaryMethod(
2009
+ channel,
2010
+ '/modal.client.ModalClient/AppGetLifecycle',
2011
+ modal_proto.api_pb2.AppGetLifecycleRequest,
2012
+ modal_proto.api_pb2.AppGetLifecycleResponse,
2013
+ )
1978
2014
  self.AppGetLogs = grpclib.client.UnaryStreamMethod(
1979
2015
  channel,
1980
2016
  '/modal.client.ModalClient/AppGetLogs',
@@ -2029,6 +2065,12 @@ class ModalClientStub:
2029
2065
  modal_proto.api_pb2.AppRollbackRequest,
2030
2066
  google.protobuf.empty_pb2.Empty,
2031
2067
  )
2068
+ self.AppRollover = grpclib.client.UnaryUnaryMethod(
2069
+ channel,
2070
+ '/modal.client.ModalClient/AppRollover',
2071
+ modal_proto.api_pb2.AppRolloverRequest,
2072
+ modal_proto.api_pb2.AppRolloverResponse,
2073
+ )
2032
2074
  self.AppSetObjects = grpclib.client.UnaryUnaryMethod(
2033
2075
  channel,
2034
2076
  '/modal.client.ModalClient/AppSetObjects',
@@ -2911,6 +2953,12 @@ class ModalClientStub:
2911
2953
  modal_proto.api_pb2.TaskResultRequest,
2912
2954
  google.protobuf.empty_pb2.Empty,
2913
2955
  )
2956
+ self.TemplateList = grpclib.client.UnaryUnaryMethod(
2957
+ channel,
2958
+ '/modal.client.ModalClient/TemplateList',
2959
+ modal_proto.api_pb2.TemplateListRequest,
2960
+ modal_proto.api_pb2.TemplateListResponse,
2961
+ )
2914
2962
  self.TokenFlowCreate = grpclib.client.UnaryUnaryMethod(
2915
2963
  channel,
2916
2964
  '/modal.client.ModalClient/TokenFlowCreate',