modAL 1.6.3.dev9__py3-none-any.whl → 1.6.3.dev10__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.6.3.dev9.dist-info → modal-1.6.3.dev10.dist-info}/METADATA +1 -1
- {modal-1.6.3.dev9.dist-info → modal-1.6.3.dev10.dist-info}/RECORD +15 -15
- modal_proto/api_grpc.py +0 -16
- modal_proto/api_pb2.py +727 -759
- modal_proto/api_pb2.pyi +0 -70
- modal_proto/api_pb2_grpc.py +0 -34
- modal_proto/api_pb2_grpc.pyi +0 -12
- modal_proto/modal_api_grpc.py +0 -1
- modal_version/__init__.py +1 -1
- {modal-1.6.3.dev9.dist-info → modal-1.6.3.dev10.dist-info}/WHEEL +0 -0
- {modal-1.6.3.dev9.dist-info → modal-1.6.3.dev10.dist-info}/entry_points.txt +0 -0
- {modal-1.6.3.dev9.dist-info → modal-1.6.3.dev10.dist-info}/licenses/LICENSE +0 -0
- {modal-1.6.3.dev9.dist-info → modal-1.6.3.dev10.dist-info}/top_level.txt +0 -0
modal/client.pyi
CHANGED
|
@@ -80,7 +80,7 @@ class _Client:
|
|
|
80
80
|
server_url: str,
|
|
81
81
|
client_type: int,
|
|
82
82
|
credentials: typing.Optional[tuple[str, str]],
|
|
83
|
-
version: str = "1.6.3.
|
|
83
|
+
version: str = "1.6.3.dev10",
|
|
84
84
|
*,
|
|
85
85
|
oauth_credentials: typing.Optional[_OAuthCredentials] = None,
|
|
86
86
|
):
|
|
@@ -290,7 +290,7 @@ class Client:
|
|
|
290
290
|
server_url: str,
|
|
291
291
|
client_type: int,
|
|
292
292
|
credentials: typing.Optional[tuple[str, str]],
|
|
293
|
-
version: str = "1.6.3.
|
|
293
|
+
version: str = "1.6.3.dev10",
|
|
294
294
|
*,
|
|
295
295
|
oauth_credentials: typing.Optional[_OAuthCredentials] = None,
|
|
296
296
|
):
|
modal/functions.pyi
CHANGED
|
@@ -619,7 +619,7 @@ class Function(
|
|
|
619
619
|
|
|
620
620
|
_call_generator: ___call_generator_spec
|
|
621
621
|
|
|
622
|
-
class __remote_spec(typing_extensions.Protocol[
|
|
622
|
+
class __remote_spec(typing_extensions.Protocol[P_INNER, ReturnType_INNER]):
|
|
623
623
|
def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> ReturnType_INNER:
|
|
624
624
|
"""Calls the function remotely, executing it with the given arguments and returning the execution's result.
|
|
625
625
|
|
|
@@ -644,7 +644,7 @@ class Function(
|
|
|
644
644
|
"""
|
|
645
645
|
...
|
|
646
646
|
|
|
647
|
-
remote: __remote_spec[modal._functions.
|
|
647
|
+
remote: __remote_spec[modal._functions.P, modal._functions.ReturnType]
|
|
648
648
|
|
|
649
649
|
class __remote_gen_spec(typing_extensions.Protocol):
|
|
650
650
|
def __call__(self, /, *args, **kwargs) -> typing.Generator[typing.Any, None, None]:
|
|
@@ -694,7 +694,7 @@ class Function(
|
|
|
694
694
|
"""
|
|
695
695
|
...
|
|
696
696
|
|
|
697
|
-
class ___experimental_spawn_spec(typing_extensions.Protocol[
|
|
697
|
+
class ___experimental_spawn_spec(typing_extensions.Protocol[P_INNER, ReturnType_INNER]):
|
|
698
698
|
def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> FunctionCall[ReturnType_INNER]:
|
|
699
699
|
"""[Experimental] Calls the function with the given arguments, without waiting for the results.
|
|
700
700
|
|
|
@@ -727,7 +727,7 @@ class Function(
|
|
|
727
727
|
"""
|
|
728
728
|
...
|
|
729
729
|
|
|
730
|
-
_experimental_spawn: ___experimental_spawn_spec[modal._functions.
|
|
730
|
+
_experimental_spawn: ___experimental_spawn_spec[modal._functions.P, modal._functions.ReturnType]
|
|
731
731
|
|
|
732
732
|
class ___spawn_map_inner_spec(typing_extensions.Protocol[P_INNER]):
|
|
733
733
|
def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> None: ...
|
|
@@ -735,7 +735,7 @@ class Function(
|
|
|
735
735
|
|
|
736
736
|
_spawn_map_inner: ___spawn_map_inner_spec[modal._functions.P]
|
|
737
737
|
|
|
738
|
-
class __spawn_spec(typing_extensions.Protocol[
|
|
738
|
+
class __spawn_spec(typing_extensions.Protocol[P_INNER, ReturnType_INNER]):
|
|
739
739
|
def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> FunctionCall[ReturnType_INNER]:
|
|
740
740
|
"""Calls the function with the given arguments, without waiting for the results.
|
|
741
741
|
|
|
@@ -768,7 +768,7 @@ class Function(
|
|
|
768
768
|
"""
|
|
769
769
|
...
|
|
770
770
|
|
|
771
|
-
spawn: __spawn_spec[modal._functions.
|
|
771
|
+
spawn: __spawn_spec[modal._functions.P, modal._functions.ReturnType]
|
|
772
772
|
|
|
773
773
|
@property
|
|
774
774
|
def _raw_f_(self) -> collections.abc.Callable[..., typing.Any]: ...
|
|
@@ -39,7 +39,7 @@ modal/billing.py,sha256=E1-P_P8bJFLp-bTaggYd4BaaViImPB5UdtXiY8VeAZQ,390
|
|
|
39
39
|
modal/billing.pyi,sha256=4m7VLYNS8IiJ2I3CJx0awvrOM6BILWRVLfdeqtAYr8M,7189
|
|
40
40
|
modal/call_graph.py,sha256=XGALIDn1bLchWo_goyX23bcPjzCZcfqKUo8INIfDapo,1775
|
|
41
41
|
modal/client.py,sha256=cstrL0wpXCZmcvRs7Sy3QRw9Vz8zkZy8NNk0tPe38sk,22852
|
|
42
|
-
modal/client.pyi,sha256=
|
|
42
|
+
modal/client.pyi,sha256=OUmmmrMDOcZZgREfiokPAruVq-SuCQST3tbkixWzeqA,23490
|
|
43
43
|
modal/cloud_bucket_mount.py,sha256=ZOg69dhIFcJcwim4JP-6s1tqwOYAfgS9806jRpspifw,7511
|
|
44
44
|
modal/cloud_bucket_mount.pyi,sha256=HoPe_NG5jYdVfmTNY-ZJ3-C8Eo_FzJovl9orJRjkGbE,10252
|
|
45
45
|
modal/cls.py,sha256=JfDAUMrkhasm26lK7kDUNarXZA_7AvZrymf7XNSGTDM,41777
|
|
@@ -56,7 +56,7 @@ modal/environments.pyi,sha256=9AYO6zfLuONOs0MTj112-uUoT1zFrzKgAFJR524WBE4,23756
|
|
|
56
56
|
modal/exception.py,sha256=L-dUKust6feZzn5qhTVusSAr0IBa4Wa3qIA225IT_lY,12334
|
|
57
57
|
modal/file_pattern_matcher.py,sha256=CpaNNj7oBlOSewX-AAUZCF8KDxH0_DmgwzfpVGbPYJ4,8138
|
|
58
58
|
modal/functions.py,sha256=-5aogviGxcNXX4qZ34GSBMKnLqH-WH0eb4cGbHpCYYw,382
|
|
59
|
-
modal/functions.pyi,sha256=
|
|
59
|
+
modal/functions.pyi,sha256=33XS_ROlsagDDnVDCMIWUsuddB_CxhM4Di32gf_ZLx4,62671
|
|
60
60
|
modal/image.py,sha256=c0lUSAoU-Ip3g5DGZ0uhdCzoWSQWh1g0i-7Rxo-Sz-I,160
|
|
61
61
|
modal/image.pyi,sha256=L53g84DVKa94LvqSqqYZLpG2o9-vxcC5vp5pXKQB3f0,61210
|
|
62
62
|
modal/io_streams.py,sha256=iWwhGCcTwhNtIo2t2f-qVV3FBEK1DIi40Tm_Ai01eYA,32992
|
|
@@ -210,7 +210,7 @@ modal/sandbox/_task_command_router_client.py,sha256=ta_I2EsVruEkRE9YCaCHns4oCb_h
|
|
|
210
210
|
modal/sandbox/sandbox.py,sha256=4ekghND9qUGf5wtIQH4mVa6PHGjHgY0UN5RKryOM05k,683
|
|
211
211
|
modal/sandbox/sandbox.pyi,sha256=iWxqScPKLa6oo9vJGukv2XhuCOK0E-bj52trqetBBh8,138895
|
|
212
212
|
modal/skills/modal/SKILL.md,sha256=Bm-0BPTYppJoeQzA-N-Re8L6-nKnV6gspJXMl4cD0P0,5490
|
|
213
|
-
modal-1.6.3.
|
|
213
|
+
modal-1.6.3.dev10.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
|
214
214
|
modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
|
|
215
215
|
modal_docs/gen_cli_docs.py,sha256=9-b8vl2EsLWD9zJqpCK8IUi5h44Bjn3i3rSdedZV4bA,6415
|
|
216
216
|
modal_docs/gen_cli_docs_main.py,sha256=UPGr7O1DYTIRLwfINe2rbdh89J3cPVTU1OWL-SjxnOQ,198
|
|
@@ -222,22 +222,22 @@ modal_docs/mdmd/mdmd.py,sha256=8bwE9SOnvsY9hEXvyE3Rx0L0XhvENpPNtkWCTJCA-pw,29269
|
|
|
222
222
|
modal_docs/mdmd/signatures.py,sha256=OASroKle763Kfumn4Ek4PABJXEGP56JMCTug44QoBx4,11327
|
|
223
223
|
modal_docs/mdmd/types.py,sha256=tv7fvziPr-MeDzOp4e2pK5h3d1DXTUOO74rPqDoBn6g,736
|
|
224
224
|
modal_proto/__init__.py,sha256=Hkou4lcD5tArEkW_9v9KZhLY7fl0fA9-O28beKU55pg,396
|
|
225
|
-
modal_proto/api_grpc.py,sha256=
|
|
226
|
-
modal_proto/api_pb2.py,sha256=
|
|
227
|
-
modal_proto/api_pb2.pyi,sha256=
|
|
228
|
-
modal_proto/api_pb2_grpc.py,sha256=
|
|
229
|
-
modal_proto/api_pb2_grpc.pyi,sha256=
|
|
230
|
-
modal_proto/modal_api_grpc.py,sha256=
|
|
225
|
+
modal_proto/api_grpc.py,sha256=sfLIEI_qATZXTPDNmcUvUAQn4_xA_Zi8o_qhUFNYiLw,214148
|
|
226
|
+
modal_proto/api_pb2.py,sha256=QAG4nJhR1GVp5jV2hJcj8fli81zvLPHVIHgyrl2bgko,617836
|
|
227
|
+
modal_proto/api_pb2.pyi,sha256=8FKvxjppjgAyiNtfSvGgfPdvohRcCZ14OGgFIehbMR4,860023
|
|
228
|
+
modal_proto/api_pb2_grpc.py,sha256=QY6tMEg5-qhN6aNyLjLNLGzsWbDMjcuDXqJXJJOZoes,458361
|
|
229
|
+
modal_proto/api_pb2_grpc.pyi,sha256=ic18xhKD7TYlPxcqGCRJg455Wp783-zo6yG0hv7Dt7M,107651
|
|
230
|
+
modal_proto/modal_api_grpc.py,sha256=uJYFt--2rSMSskuP243PPw83i106AJkXBHEaKIikO_E,33652
|
|
231
231
|
modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
232
232
|
modal_proto/task_command_router_grpc.py,sha256=LOkoiKSoyesfTsViPwDI88-V8bG4oDH6S2MBm84hMLA,22335
|
|
233
233
|
modal_proto/task_command_router_pb2.py,sha256=ysC0d8p3YxwyOpP3B-qDlvE81Yo4ntQiwiGZ8qSb0kg,43514
|
|
234
234
|
modal_proto/task_command_router_pb2.pyi,sha256=FDcd5t3ZCmQHUjefOzg07iglrgKYcBrzFvdKIWsEMHI,50628
|
|
235
235
|
modal_proto/task_command_router_pb2_grpc.py,sha256=8iGUGwEVbqOsZWPJ7OsQ9OKUGaSCf9Dr2tvb04Ww6d4,44620
|
|
236
236
|
modal_proto/task_command_router_pb2_grpc.pyi,sha256=26Fq9RQo09B9KLHsgdpRuw-I6Z4-2jrXLQkuDzB-moI,15097
|
|
237
|
-
modal_version/__init__.py,sha256=
|
|
237
|
+
modal_version/__init__.py,sha256=oK8qOrVTaLcbPN6mmVxACMh9p-BSmFCarTR7oh-wLEc,121
|
|
238
238
|
modal_version/__main__.py,sha256=nLUbubxKx7GXNzJIkTB7M7_u8080LyLM0IS0rzFkC_c,119
|
|
239
|
-
modal-1.6.3.
|
|
240
|
-
modal-1.6.3.
|
|
241
|
-
modal-1.6.3.
|
|
242
|
-
modal-1.6.3.
|
|
243
|
-
modal-1.6.3.
|
|
239
|
+
modal-1.6.3.dev10.dist-info/METADATA,sha256=1TWPVs6qK2Ct8Xo-Ohv3ITdChxp2cFuc0289mSJgiLY,2578
|
|
240
|
+
modal-1.6.3.dev10.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
|
|
241
|
+
modal-1.6.3.dev10.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
|
|
242
|
+
modal-1.6.3.dev10.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
|
|
243
|
+
modal-1.6.3.dev10.dist-info/RECORD,,
|
modal_proto/api_grpc.py
CHANGED
|
@@ -579,10 +579,6 @@ class ModalClientBase(abc.ABC):
|
|
|
579
579
|
async def MountPutFile(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.MountPutFileRequest, modal_proto.api_pb2.MountPutFileResponse]') -> None:
|
|
580
580
|
pass
|
|
581
581
|
|
|
582
|
-
@abc.abstractmethod
|
|
583
|
-
async def NotebookKernelPublishResults(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.NotebookKernelPublishResultsRequest, google.protobuf.empty_pb2.Empty]') -> None:
|
|
584
|
-
pass
|
|
585
|
-
|
|
586
582
|
@abc.abstractmethod
|
|
587
583
|
async def PersistentSandboxCreate(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.PersistentSandboxCreateRequest, modal_proto.api_pb2.PersistentSandboxCreateResponse]') -> None:
|
|
588
584
|
pass
|
|
@@ -1957,12 +1953,6 @@ class ModalClientBase(abc.ABC):
|
|
|
1957
1953
|
modal_proto.api_pb2.MountPutFileRequest,
|
|
1958
1954
|
modal_proto.api_pb2.MountPutFileResponse,
|
|
1959
1955
|
),
|
|
1960
|
-
'/modal.client.ModalClient/NotebookKernelPublishResults': grpclib.const.Handler(
|
|
1961
|
-
self.NotebookKernelPublishResults,
|
|
1962
|
-
grpclib.const.Cardinality.UNARY_UNARY,
|
|
1963
|
-
modal_proto.api_pb2.NotebookKernelPublishResultsRequest,
|
|
1964
|
-
google.protobuf.empty_pb2.Empty,
|
|
1965
|
-
),
|
|
1966
1956
|
'/modal.client.ModalClient/PersistentSandboxCreate': grpclib.const.Handler(
|
|
1967
1957
|
self.PersistentSandboxCreate,
|
|
1968
1958
|
grpclib.const.Cardinality.UNARY_UNARY,
|
|
@@ -3607,12 +3597,6 @@ class ModalClientStub:
|
|
|
3607
3597
|
modal_proto.api_pb2.MountPutFileRequest,
|
|
3608
3598
|
modal_proto.api_pb2.MountPutFileResponse,
|
|
3609
3599
|
)
|
|
3610
|
-
self.NotebookKernelPublishResults = grpclib.client.UnaryUnaryMethod(
|
|
3611
|
-
channel,
|
|
3612
|
-
'/modal.client.ModalClient/NotebookKernelPublishResults',
|
|
3613
|
-
modal_proto.api_pb2.NotebookKernelPublishResultsRequest,
|
|
3614
|
-
google.protobuf.empty_pb2.Empty,
|
|
3615
|
-
)
|
|
3616
3600
|
self.PersistentSandboxCreate = grpclib.client.UnaryUnaryMethod(
|
|
3617
3601
|
channel,
|
|
3618
3602
|
'/modal.client.ModalClient/PersistentSandboxCreate',
|