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/_runtime/asgi.py +11 -4
- modal/_utils/function_utils.py +20 -12
- modal/client.pyi +2 -2
- modal/dict.py +1 -10
- modal/dict.pyi +0 -4
- modal/functions.py +1 -1
- modal/gpu.py +22 -0
- modal/image.py +0 -15
- modal/image.pyi +0 -26
- modal/mount.py +7 -4
- modal/network_file_system.py +1 -11
- modal/network_file_system.pyi +0 -4
- modal/partial_function.py +0 -6
- modal/queue.py +1 -10
- modal/queue.pyi +0 -4
- modal/volume.py +0 -9
- modal/volume.pyi +0 -4
- {modal-0.68.40.dist-info → modal-0.68.49.dist-info}/METADATA +2 -2
- {modal-0.68.40.dist-info → modal-0.68.49.dist-info}/RECORD +31 -31
- modal_proto/api.proto +9 -0
- modal_proto/api_grpc.py +16 -0
- modal_proto/api_pb2.py +785 -765
- modal_proto/api_pb2.pyi +30 -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-0.68.40.dist-info → modal-0.68.49.dist-info}/LICENSE +0 -0
- {modal-0.68.40.dist-info → modal-0.68.49.dist-info}/WHEEL +0 -0
- {modal-0.68.40.dist-info → modal-0.68.49.dist-info}/entry_points.txt +0 -0
- {modal-0.68.40.dist-info → modal-0.68.49.dist-info}/top_level.txt +0 -0
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',
|