modal 1.5.2.dev6__py3-none-any.whl → 1.5.2.dev8__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 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.5.2.dev6",
38
+ version: str = "1.5.2.dev8",
39
39
  ):
40
40
  """mdmd:hidden
41
41
  The Modal client object is not intended to be instantiated directly by users.
@@ -205,7 +205,7 @@ class Client:
205
205
  server_url: str,
206
206
  client_type: int,
207
207
  credentials: typing.Optional[tuple[str, str]],
208
- version: str = "1.5.2.dev6",
208
+ version: str = "1.5.2.dev8",
209
209
  ):
210
210
  """mdmd:hidden
211
211
  The Modal client object is not intended to be instantiated directly by users.
modal/functions.pyi CHANGED
@@ -490,7 +490,7 @@ class Function(
490
490
 
491
491
  _call_generator: ___call_generator_spec
492
492
 
493
- class __remote_spec(typing_extensions.Protocol[ReturnType_INNER, P_INNER]):
493
+ class __remote_spec(typing_extensions.Protocol[P_INNER, ReturnType_INNER]):
494
494
  def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> ReturnType_INNER:
495
495
  """Calls the function remotely, executing it with the given arguments and returning the execution's result.
496
496
 
@@ -515,7 +515,7 @@ class Function(
515
515
  """
516
516
  ...
517
517
 
518
- remote: __remote_spec[modal._functions.ReturnType, modal._functions.P]
518
+ remote: __remote_spec[modal._functions.P, modal._functions.ReturnType]
519
519
 
520
520
  class __remote_gen_spec(typing_extensions.Protocol):
521
521
  def __call__(self, /, *args, **kwargs) -> typing.Generator[typing.Any, None, None]:
@@ -565,7 +565,7 @@ class Function(
565
565
  """
566
566
  ...
567
567
 
568
- class ___experimental_spawn_spec(typing_extensions.Protocol[ReturnType_INNER, P_INNER]):
568
+ class ___experimental_spawn_spec(typing_extensions.Protocol[P_INNER, ReturnType_INNER]):
569
569
  def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> FunctionCall[ReturnType_INNER]:
570
570
  """[Experimental] Calls the function with the given arguments, without waiting for the results.
571
571
 
@@ -598,7 +598,7 @@ class Function(
598
598
  """
599
599
  ...
600
600
 
601
- _experimental_spawn: ___experimental_spawn_spec[modal._functions.ReturnType, modal._functions.P]
601
+ _experimental_spawn: ___experimental_spawn_spec[modal._functions.P, modal._functions.ReturnType]
602
602
 
603
603
  class ___spawn_map_inner_spec(typing_extensions.Protocol[P_INNER]):
604
604
  def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> None: ...
@@ -606,7 +606,7 @@ class Function(
606
606
 
607
607
  _spawn_map_inner: ___spawn_map_inner_spec[modal._functions.P]
608
608
 
609
- class __spawn_spec(typing_extensions.Protocol[ReturnType_INNER, P_INNER]):
609
+ class __spawn_spec(typing_extensions.Protocol[P_INNER, ReturnType_INNER]):
610
610
  def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> FunctionCall[ReturnType_INNER]:
611
611
  """Calls the function with the given arguments, without waiting for the results.
612
612
 
@@ -639,7 +639,7 @@ class Function(
639
639
  """
640
640
  ...
641
641
 
642
- spawn: __spawn_spec[modal._functions.ReturnType, modal._functions.P]
642
+ spawn: __spawn_spec[modal._functions.P, modal._functions.ReturnType]
643
643
 
644
644
  def get_raw_f(self) -> collections.abc.Callable[..., typing.Any]:
645
645
  """Return the inner Python object wrapped by this Modal Function.
modal/sandbox.py CHANGED
@@ -1284,7 +1284,6 @@ class _Sandbox(_Object, type_prefix="sb"):
1284
1284
  outbound_domain_allowlist: List of domain names the Sandbox is allowed to access. Supports
1285
1285
  wildcard prefixes (``*.``); a bare ``"*"`` allows all domains.
1286
1286
  """
1287
- self._ensure_v1("_experimental_set_outbound_network_policy")
1288
1287
  task_id = await self._get_task_id()
1289
1288
  command_router_client = await self._get_command_router_client(task_id)
1290
1289
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: modal
3
- Version: 1.5.2.dev6
3
+ Version: 1.5.2.dev8
4
4
  Summary: Python client library for Modal
5
5
  Author-email: Modal Labs <support@modal.com>
6
6
  License-Expression: Apache-2.0
@@ -31,7 +31,7 @@ modal/billing.py,sha256=tWrlpbNau0cfGSr643MzguHS0Dl5cRd7tm0GsCLYvtQ,372
31
31
  modal/billing.pyi,sha256=2hUdEbWa1nLdFfzZpwxHHpyK9k8uBRASGkFmPJhtkUU,7318
32
32
  modal/call_graph.py,sha256=k_wH3DuuUHCeuycHsOqlcOpIlIVbCYi9RPobg21hJdI,2550
33
33
  modal/client.py,sha256=OgjptM5UuU5LL85_-DFia-ehS8UCgMzVuzfNcxA1qPA,16136
34
- modal/client.pyi,sha256=kxmqAsSgnAYB2T3yZFTDtDGZBuLELTwJ4rVMytge7D4,17852
34
+ modal/client.pyi,sha256=85pptQ1UA35HMd2qJHy7SxDbwGbaMQSer7USRy-XLCk,17852
35
35
  modal/cloud_bucket_mount.py,sha256=03gECcV9l2Lnt9k23YrDOTGFW7ajfXMW5O8b1prhtwQ,6254
36
36
  modal/cloud_bucket_mount.pyi,sha256=lMOb44pbNE9kDVEqWfcmvpsnh1sdNNFzuKoVyZZ3d5M,8058
37
37
  modal/cls.py,sha256=4oWIthR84usP5oejQbdMWzXkvzXyER2GDIpLvLTH4Og,40936
@@ -48,7 +48,7 @@ modal/file_io.py,sha256=kfojtm0euzOMhfkVTAGyfuygDJ1XPPHQa5uUhkCsThg,21800
48
48
  modal/file_io.pyi,sha256=Tr0OtfbkTNa8v1dkGtl8l3RH58pMc9uGTYKxL1jNwho,15422
49
49
  modal/file_pattern_matcher.py,sha256=6g_awxudMy_ontBvkznybyeNnwGMj297YrmIHCbREI0,8132
50
50
  modal/functions.py,sha256=EZRcHFfnoYbvawUJnAHF5nIvoo9GX2Djy7mUmOCXmXc,258
51
- modal/functions.pyi,sha256=4G6CRSPa4c84nZNiiC0eoieyQLGvt1lDoaK68efP2BI,47565
51
+ modal/functions.pyi,sha256=pxTuV31WW1SuRNXTm4CMp7s_tssbjj9jPhnY3TroVag,47565
52
52
  modal/image.py,sha256=c0lUSAoU-Ip3g5DGZ0uhdCzoWSQWh1g0i-7Rxo-Sz-I,160
53
53
  modal/image.pyi,sha256=Whbfmda2YLAyzctLEF9uF4FQ5b1canwLojSksRJ4gx8,59716
54
54
  modal/io_streams.py,sha256=3fhhb7SDJ69pVUu9J3PiMLBePD9bpiIxPN05SCzf8FE,29118
@@ -73,7 +73,7 @@ modal/retries.py,sha256=tSGB5bGM5xZZUDXMkuelIEoQJY0vOukOssZhwc6tXAo,5014
73
73
  modal/runner.py,sha256=YdBqWOWkcGgSDKLEz1zrGNHrh0-d2tSNx24XPB6QyoM,30284
74
74
  modal/runner.pyi,sha256=0hIfkl-7VTyw1n-1B0AV7f53t3i3hCzRPyBu3DUyHnk,9669
75
75
  modal/running_app.py,sha256=xSR1VVlhxEFytmjx2x697_0GpD25Vc9crhp6r117_QY,1145
76
- modal/sandbox.py,sha256=Pb_rqjAkEIlIl_ewgbKzj6kKMDPAJdv9JiVbSZKj5hU,109254
76
+ modal/sandbox.py,sha256=L6Gi_OMIhokEmaytGFu5VIjrceCGcFu0mH4bXhBzWXc,109185
77
77
  modal/sandbox.pyi,sha256=vF1qXdslQeZDrlLTgw5q0F3jtjmTMz9USy-ggQiJiO8,126252
78
78
  modal/sandbox_fs.py,sha256=Iwx-kjWrp12Gii_8Zdo1T8DHOkkbO0n9RMyBuYXMkU4,31361
79
79
  modal/sandbox_fs.pyi,sha256=nmfb1Ns9__C5sH3Mq52rFDtJbfKdQrn7Cc1mcP64WBw,46902
@@ -193,7 +193,7 @@ modal/experimental/flash.py,sha256=GAJ1c-EGL8M3_loAkqr5gdUfySMHY3U_oc6RywfZ8-0,3
193
193
  modal/experimental/flash.pyi,sha256=lpTqJFZRMGWscw0xpYZVdBMnAYjj16asXE4_64A6itQ,17774
194
194
  modal/experimental/ipython.py,sha256=kJ6o9wkAY_MiSb7paewI7f1MJAeqdi8TX5pBdhr_mUI,2925
195
195
  modal/skills/modal/SKILL.md,sha256=WzLjYJ1utjc_ZOf6qZTPwB6wxxwRYB5PibdvIf_FLy0,5316
196
- modal-1.5.2.dev6.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
196
+ modal-1.5.2.dev8.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
197
197
  modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
198
198
  modal_docs/gen_cli_docs.py,sha256=nZRXP6sh0hTFqTQOo_dMKy8V57I-L6V5cv3cs3eL7NE,5808
199
199
  modal_docs/gen_cli_docs_main.py,sha256=UPGr7O1DYTIRLwfINe2rbdh89J3cPVTU1OWL-SjxnOQ,198
@@ -205,21 +205,21 @@ modal_docs/mdmd/signatures.py,sha256=Xx1FF6oND90MfbHJ24E9rej_GjmEGOAaOp6oJpkv1Os
205
205
  modal_docs/mdmd/types.py,sha256=MIh5VOnWvFd8T1aZT_vTB2OeLbPB5TASdOaX8jGvpQk,710
206
206
  modal_proto/__init__.py,sha256=tFdSv9eaHBvYcwhgq-XqIlYDNDw57clrvO91Fb-oUV4,130
207
207
  modal_proto/api_grpc.py,sha256=ttl6R1gTtFo-f35eYobQEEaG6dXekYzGaqbSdS-6YH8,171624
208
- modal_proto/api_pb2.py,sha256=B7S8Sgykb8OAB8onkPsBQzfApqxV9tiaQYHI4yMRI2s,470981
209
- modal_proto/api_pb2.pyi,sha256=9d89DnqR2Lah2hCCsoZtsPZIz3jpWUXAsksUaAj2Jow,653421
208
+ modal_proto/api_pb2.py,sha256=-C0p5mY59n4gZYk4cJk59jOHgb9wkSq9Q1xV-iijMkg,471110
209
+ modal_proto/api_pb2.pyi,sha256=1eoBWHY6TOI4IBoG29cvKFwH8Vynjy6k1g0uLJT9QAU,654037
210
210
  modal_proto/api_pb2_grpc.py,sha256=3CLIMPQ7-hPe6l1GxOs0IJpoP3TjtdoN5EArkR4WsgQ,369037
211
211
  modal_proto/api_pb2_grpc.pyi,sha256=LMUgIbLi38ZwZux_AFGWMjRin8auy0RiVSBU9ysmgTE,86233
212
212
  modal_proto/modal_api_grpc.py,sha256=934KM6shysR3NIIeziZKCKKkRsP9e_shMa-PEvMLfys,27083
213
213
  modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
214
- modal_proto/task_command_router_grpc.py,sha256=xJGVEHXSU6t4qpIkNlNdGyLMwLd5CShm93gRONL4ndI,19403
215
- modal_proto/task_command_router_pb2.py,sha256=A-Q_mi-Wf761JNtcOmUkoWsPpIuYiGYcoKpJsn8bDRU,37368
216
- modal_proto/task_command_router_pb2.pyi,sha256=-0UrXDxiTvIy_BUP7OGeGNeLVaTWPHWDSaES4FVMYyw,42841
217
- modal_proto/task_command_router_pb2_grpc.py,sha256=QM5h4IvjweLZ6ZRyJD5AB8juzw4anhj4hzPS8mE1mWM,38611
218
- modal_proto/task_command_router_pb2_grpc.pyi,sha256=jLJvR5sZmKqU_3pTul-Mgfc7WcG5gQjvHS9CbACpFIU,12602
219
- modal_version/__init__.py,sha256=aoj_rxHJvxryopggt4xpcaLWo3czrXA9ZlLOOLK0byQ,120
214
+ modal_proto/task_command_router_grpc.py,sha256=w6FRgxm5wtCXtUL4m1A-57wwhhucxuz6AIlZBZjfaMM,20338
215
+ modal_proto/task_command_router_pb2.py,sha256=RPUFDhlV5kaXTxNiPtP8ls2RmEnXK4KIFqfj3JFuQ6M,38743
216
+ modal_proto/task_command_router_pb2.pyi,sha256=lxvX8dUdRkzgMGIG-eOasIj3HyipBKN3BzVa2cr-rpM,43525
217
+ modal_proto/task_command_router_pb2_grpc.py,sha256=bX22HJ8qEqKl5YkP00-EPE83rZUdqmk0FDZjtpb21-U,40487
218
+ modal_proto/task_command_router_pb2_grpc.pyi,sha256=DnkJ4U5hq6wp7XkLyE9xELNqSmNwA_vgawTiS_fVBK0,13241
219
+ modal_version/__init__.py,sha256=iey4x1gUm7L7UkcfaCJzQyGhiYb2MpQgeyifgiPgdFA,120
220
220
  modal_version/__main__.py,sha256=nLUbubxKx7GXNzJIkTB7M7_u8080LyLM0IS0rzFkC_c,119
221
- modal-1.5.2.dev6.dist-info/METADATA,sha256=t6wcbOFNmZlpNs-5GEoKI_AWEgfG9v_gLESNtIs7ouM,2512
222
- modal-1.5.2.dev6.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
223
- modal-1.5.2.dev6.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
224
- modal-1.5.2.dev6.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
225
- modal-1.5.2.dev6.dist-info/RECORD,,
221
+ modal-1.5.2.dev8.dist-info/METADATA,sha256=n9RaX2mkl3jeJU3NaoNRBJ9gTgxNdsCGS4QPAWKP-UA,2512
222
+ modal-1.5.2.dev8.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
223
+ modal-1.5.2.dev8.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
224
+ modal-1.5.2.dev8.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
225
+ modal-1.5.2.dev8.dist-info/RECORD,,