modAL 1.3.6.dev10__py3-none-any.whl → 1.3.6.dev12__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/functions.pyi +6 -6
- {modal-1.3.6.dev10.dist-info → modal-1.3.6.dev12.dist-info}/METADATA +1 -1
- {modal-1.3.6.dev10.dist-info → modal-1.3.6.dev12.dist-info}/RECORD +15 -15
- modal_proto/api_grpc.py +16 -0
- modal_proto/api_pb2.py +215 -195
- modal_proto/api_pb2.pyi +33 -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/__init__.py +1 -1
- {modal-1.3.6.dev10.dist-info → modal-1.3.6.dev12.dist-info}/WHEEL +0 -0
- {modal-1.3.6.dev10.dist-info → modal-1.3.6.dev12.dist-info}/entry_points.txt +0 -0
- {modal-1.3.6.dev10.dist-info → modal-1.3.6.dev12.dist-info}/licenses/LICENSE +0 -0
- {modal-1.3.6.dev10.dist-info → modal-1.3.6.dev12.dist-info}/top_level.txt +0 -0
modal/client.pyi
CHANGED
|
@@ -35,7 +35,7 @@ class _Client:
|
|
|
35
35
|
server_url: str,
|
|
36
36
|
client_type: int,
|
|
37
37
|
credentials: typing.Optional[tuple[str, str]],
|
|
38
|
-
version: str = "1.3.6.
|
|
38
|
+
version: str = "1.3.6.dev12",
|
|
39
39
|
):
|
|
40
40
|
"""mdmd:hidden
|
|
41
41
|
The Modal client object is not intended to be instantiated directly by users.
|
|
@@ -171,7 +171,7 @@ class Client:
|
|
|
171
171
|
server_url: str,
|
|
172
172
|
client_type: int,
|
|
173
173
|
credentials: typing.Optional[tuple[str, str]],
|
|
174
|
-
version: str = "1.3.6.
|
|
174
|
+
version: str = "1.3.6.dev12",
|
|
175
175
|
):
|
|
176
176
|
"""mdmd:hidden
|
|
177
177
|
The Modal client object is not intended to be instantiated directly by users.
|
modal/functions.pyi
CHANGED
|
@@ -408,7 +408,7 @@ class Function(
|
|
|
408
408
|
|
|
409
409
|
_call_generator: ___call_generator_spec
|
|
410
410
|
|
|
411
|
-
class __remote_spec(typing_extensions.Protocol[
|
|
411
|
+
class __remote_spec(typing_extensions.Protocol[P_INNER, ReturnType_INNER]):
|
|
412
412
|
def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> ReturnType_INNER:
|
|
413
413
|
"""Calls the function remotely, executing it with the given arguments and returning the execution's result."""
|
|
414
414
|
...
|
|
@@ -417,7 +417,7 @@ class Function(
|
|
|
417
417
|
"""Calls the function remotely, executing it with the given arguments and returning the execution's result."""
|
|
418
418
|
...
|
|
419
419
|
|
|
420
|
-
remote: __remote_spec[modal._functions.
|
|
420
|
+
remote: __remote_spec[modal._functions.P, modal._functions.ReturnType]
|
|
421
421
|
|
|
422
422
|
class __remote_gen_spec(typing_extensions.Protocol):
|
|
423
423
|
def __call__(self, /, *args, **kwargs) -> typing.Generator[typing.Any, None, None]:
|
|
@@ -444,7 +444,7 @@ class Function(
|
|
|
444
444
|
"""
|
|
445
445
|
...
|
|
446
446
|
|
|
447
|
-
class ___experimental_spawn_spec(typing_extensions.Protocol[
|
|
447
|
+
class ___experimental_spawn_spec(typing_extensions.Protocol[P_INNER, ReturnType_INNER]):
|
|
448
448
|
def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> FunctionCall[ReturnType_INNER]:
|
|
449
449
|
"""[Experimental] Calls the function with the given arguments, without waiting for the results.
|
|
450
450
|
|
|
@@ -467,7 +467,7 @@ class Function(
|
|
|
467
467
|
"""
|
|
468
468
|
...
|
|
469
469
|
|
|
470
|
-
_experimental_spawn: ___experimental_spawn_spec[modal._functions.
|
|
470
|
+
_experimental_spawn: ___experimental_spawn_spec[modal._functions.P, modal._functions.ReturnType]
|
|
471
471
|
|
|
472
472
|
class ___spawn_map_inner_spec(typing_extensions.Protocol[P_INNER]):
|
|
473
473
|
def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> None: ...
|
|
@@ -475,7 +475,7 @@ class Function(
|
|
|
475
475
|
|
|
476
476
|
_spawn_map_inner: ___spawn_map_inner_spec[modal._functions.P]
|
|
477
477
|
|
|
478
|
-
class __spawn_spec(typing_extensions.Protocol[
|
|
478
|
+
class __spawn_spec(typing_extensions.Protocol[P_INNER, ReturnType_INNER]):
|
|
479
479
|
def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> FunctionCall[ReturnType_INNER]:
|
|
480
480
|
"""Calls the function with the given arguments, without waiting for the results.
|
|
481
481
|
|
|
@@ -496,7 +496,7 @@ class Function(
|
|
|
496
496
|
"""
|
|
497
497
|
...
|
|
498
498
|
|
|
499
|
-
spawn: __spawn_spec[modal._functions.
|
|
499
|
+
spawn: __spawn_spec[modal._functions.P, modal._functions.ReturnType]
|
|
500
500
|
|
|
501
501
|
def get_raw_f(self) -> collections.abc.Callable[..., typing.Any]:
|
|
502
502
|
"""Return the inner Python object wrapped by this Modal Function."""
|
|
@@ -26,7 +26,7 @@ modal/app.pyi,sha256=8lv2eLKP-y3BLT1irRnzdULSD45OgU4_VbCIYEy_Ic0,56387
|
|
|
26
26
|
modal/billing.py,sha256=B2zXa7KeMnpqi2AQINycEk-KSXVYaLTTTAQTtuf2Gfs,257
|
|
27
27
|
modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
|
|
28
28
|
modal/client.py,sha256=-IxazxLhdkNFAHS2AP2FpyTVpCDVR58RF6ecSVV59r0,14862
|
|
29
|
-
modal/client.pyi,sha256=
|
|
29
|
+
modal/client.pyi,sha256=f5Fju-mKirXHYmQrauF9QQhFP7GteEosGUt4Aba7U3A,14932
|
|
30
30
|
modal/cloud_bucket_mount.py,sha256=KkaJVy5vpO_u2NtDYtv1JM-M3y4J0UtWBapTDKpQRcA,6034
|
|
31
31
|
modal/cloud_bucket_mount.pyi,sha256=mGDeEd1XvxGpCE6O5jRBSfIvMXvZ5AtIybea5k-0w9w,7560
|
|
32
32
|
modal/cls.py,sha256=ozx5ZVGyG6w5SQ1ouj9Y6M3yPtnpL9PfblnmqFzf694,42338
|
|
@@ -43,7 +43,7 @@ modal/file_io.py,sha256=AKTaKR4y2JO1vsmJ8tRxMhgJtHmtb-TCe1ZZYDte-w4,22221
|
|
|
43
43
|
modal/file_io.pyi,sha256=DPaq0BhySaiCX3g56QHhyIMdU1izbfWsjpSp30JoJUU,15745
|
|
44
44
|
modal/file_pattern_matcher.py,sha256=A_Kdkej6q7YQyhM_2-BvpFmPqJ0oHb54B6yf9VqvPVE,8116
|
|
45
45
|
modal/functions.py,sha256=kcNHvqeGBxPI7Cgd57NIBBghkfbeFJzXO44WW0jSmao,325
|
|
46
|
-
modal/functions.pyi,sha256=
|
|
46
|
+
modal/functions.pyi,sha256=jnC5QZvfs_yPPwXmEoHO16xUXzX448aP6eWawVmeGko,36498
|
|
47
47
|
modal/gpu.py,sha256=JW8C1hIObmXGduXWyJZysvAsLxyBEiaCmtnUAGFqh-8,6852
|
|
48
48
|
modal/image.py,sha256=zgCZy0OZz010fRdlzOscD-cTbC-cCTT7mRWaANJRW7Y,109360
|
|
49
49
|
modal/image.pyi,sha256=QAY8F2e2kkfQHOQnT2t4B1I-VbzvbNjksJHivx-ZA4k,78536
|
|
@@ -174,7 +174,7 @@ modal/experimental/__init__.py,sha256=4UyAPlExXYM0tJH7s6WSDt2dIfSVXvzARkRLsLMyuq
|
|
|
174
174
|
modal/experimental/flash.py,sha256=ATGhVO8AleJ-TOe2PGolI5T7zfCEtj0kl_ivMPp7Rqg,33362
|
|
175
175
|
modal/experimental/flash.pyi,sha256=R4h2nQl7-oiwqq_twCp0YqID_LnPjPGqxywXvxbiLIk,17011
|
|
176
176
|
modal/experimental/ipython.py,sha256=TrCfmol9LGsRZMeDoeMPx3Hv3BFqQhYnmD_iH0pqdhk,2904
|
|
177
|
-
modal-1.3.6.
|
|
177
|
+
modal-1.3.6.dev12.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
|
178
178
|
modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
|
|
179
179
|
modal_docs/gen_cli_docs.py,sha256=5sVABw4uGUqPXjcWT0Nqjkpe5KLs89C3tFnla58-D0M,3756
|
|
180
180
|
modal_docs/gen_cli_docs_main.py,sha256=UPGr7O1DYTIRLwfINe2rbdh89J3cPVTU1OWL-SjxnOQ,198
|
|
@@ -184,22 +184,22 @@ modal_docs/mdmd/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,2
|
|
|
184
184
|
modal_docs/mdmd/mdmd.py,sha256=fNMtrFy0Z7KMXysr9v0w9H0OOuRVBW4-sqJu1pvRQm4,9583
|
|
185
185
|
modal_docs/mdmd/signatures.py,sha256=XJaZrK7Mdepk5fdX51A8uENiLFNil85Ud0d4MH8H5f0,3218
|
|
186
186
|
modal_proto/__init__.py,sha256=MIEP8jhXUeGq_eCjYFcqN5b1bxBM4fdk0VESpjWR0fc,28
|
|
187
|
-
modal_proto/api_grpc.py,sha256=
|
|
188
|
-
modal_proto/api_pb2.py,sha256=
|
|
189
|
-
modal_proto/api_pb2.pyi,sha256=
|
|
190
|
-
modal_proto/api_pb2_grpc.py,sha256=
|
|
191
|
-
modal_proto/api_pb2_grpc.pyi,sha256=
|
|
192
|
-
modal_proto/modal_api_grpc.py,sha256=
|
|
187
|
+
modal_proto/api_grpc.py,sha256=pPS7ybuPG4bYVIkZrlaXcJ49C86BnL6vC695dbfJl6o,145167
|
|
188
|
+
modal_proto/api_pb2.py,sha256=adXfX7NZfSyzKqOPevda0CpsZyg50qdSV3rsIR-TZ_o,403622
|
|
189
|
+
modal_proto/api_pb2.pyi,sha256=XH0yeBLunMW8D6zDjfRafkRfp9XLjFp80f1UBJKa2s0,567589
|
|
190
|
+
modal_proto/api_pb2_grpc.py,sha256=oWyLg4pA0lcOkQYUNPN1mwBrFitiTtloihRnCuKf498,312934
|
|
191
|
+
modal_proto/api_pb2_grpc.pyi,sha256=redqfd-VE_IwTQgYCeUNfU91rwfp9YsnZNVr2qIcjdw,73028
|
|
192
|
+
modal_proto/modal_api_grpc.py,sha256=ii6QiEKzhSnnFsEOR_0GooIDGgrSAbKsDxzfe2-Lqzo,22931
|
|
193
193
|
modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
194
194
|
modal_proto/task_command_router_grpc.py,sha256=wdRwQ0BaEWRDXxWlvbQG9eUDeTgAM_Wu99d8xzMv8HA,11703
|
|
195
195
|
modal_proto/task_command_router_pb2.py,sha256=uSSR8Y9Yp07cIL60ds7__wUr5rj1uL2CQYQlm7b4Hqs,22623
|
|
196
196
|
modal_proto/task_command_router_pb2.pyi,sha256=utNwipYgMZUEUuWBE7sJ5cNjRctozHKPKDRpLy6cPLM,25667
|
|
197
197
|
modal_proto/task_command_router_pb2_grpc.py,sha256=YoinPeLc-uwFShig8gE0MluOi6n-qqJZQ3YvnKwKUz8,23194
|
|
198
198
|
modal_proto/task_command_router_pb2_grpc.pyi,sha256=VUSE5l1O6ATPT8Wbj4M3faMiIy5vFxSoS5ZlKfTEpHc,7449
|
|
199
|
-
modal_version/__init__.py,sha256=
|
|
199
|
+
modal_version/__init__.py,sha256=NYnGiCe6TFhoL1ngWeaC0j7hNmNeFlPTTmxAfDtwsXQ,121
|
|
200
200
|
modal_version/__main__.py,sha256=nLUbubxKx7GXNzJIkTB7M7_u8080LyLM0IS0rzFkC_c,119
|
|
201
|
-
modal-1.3.6.
|
|
202
|
-
modal-1.3.6.
|
|
203
|
-
modal-1.3.6.
|
|
204
|
-
modal-1.3.6.
|
|
205
|
-
modal-1.3.6.
|
|
201
|
+
modal-1.3.6.dev12.dist-info/METADATA,sha256=1uCjdmSM9R-eB6PM3luI4zkGKpphklhATvXPDVbk_zw,2365
|
|
202
|
+
modal-1.3.6.dev12.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
|
203
|
+
modal-1.3.6.dev12.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
|
|
204
|
+
modal-1.3.6.dev12.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
|
|
205
|
+
modal-1.3.6.dev12.dist-info/RECORD,,
|
modal_proto/api_grpc.py
CHANGED
|
@@ -655,6 +655,10 @@ class ModalClientBase(abc.ABC):
|
|
|
655
655
|
async def TaskGetCommandRouterAccess(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.TaskGetCommandRouterAccessRequest, modal_proto.api_pb2.TaskGetCommandRouterAccessResponse]') -> None:
|
|
656
656
|
pass
|
|
657
657
|
|
|
658
|
+
@abc.abstractmethod
|
|
659
|
+
async def TaskGetInfo(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.TaskGetInfoRequest, modal_proto.api_pb2.TaskGetInfoResponse]') -> None:
|
|
660
|
+
pass
|
|
661
|
+
|
|
658
662
|
@abc.abstractmethod
|
|
659
663
|
async def TaskList(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.TaskListRequest, modal_proto.api_pb2.TaskListResponse]') -> None:
|
|
660
664
|
pass
|
|
@@ -1723,6 +1727,12 @@ class ModalClientBase(abc.ABC):
|
|
|
1723
1727
|
modal_proto.api_pb2.TaskGetCommandRouterAccessRequest,
|
|
1724
1728
|
modal_proto.api_pb2.TaskGetCommandRouterAccessResponse,
|
|
1725
1729
|
),
|
|
1730
|
+
'/modal.client.ModalClient/TaskGetInfo': grpclib.const.Handler(
|
|
1731
|
+
self.TaskGetInfo,
|
|
1732
|
+
grpclib.const.Cardinality.UNARY_UNARY,
|
|
1733
|
+
modal_proto.api_pb2.TaskGetInfoRequest,
|
|
1734
|
+
modal_proto.api_pb2.TaskGetInfoResponse,
|
|
1735
|
+
),
|
|
1726
1736
|
'/modal.client.ModalClient/TaskList': grpclib.const.Handler(
|
|
1727
1737
|
self.TaskList,
|
|
1728
1738
|
grpclib.const.Cardinality.UNARY_UNARY,
|
|
@@ -2851,6 +2861,12 @@ class ModalClientStub:
|
|
|
2851
2861
|
modal_proto.api_pb2.TaskGetCommandRouterAccessRequest,
|
|
2852
2862
|
modal_proto.api_pb2.TaskGetCommandRouterAccessResponse,
|
|
2853
2863
|
)
|
|
2864
|
+
self.TaskGetInfo = grpclib.client.UnaryUnaryMethod(
|
|
2865
|
+
channel,
|
|
2866
|
+
'/modal.client.ModalClient/TaskGetInfo',
|
|
2867
|
+
modal_proto.api_pb2.TaskGetInfoRequest,
|
|
2868
|
+
modal_proto.api_pb2.TaskGetInfoResponse,
|
|
2869
|
+
)
|
|
2854
2870
|
self.TaskList = grpclib.client.UnaryUnaryMethod(
|
|
2855
2871
|
channel,
|
|
2856
2872
|
'/modal.client.ModalClient/TaskList',
|