modAL 1.5.1.dev1__py3-none-any.whl → 1.5.1.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/cli/shell.py CHANGED
@@ -78,7 +78,7 @@ def _is_valid_modal_id(ref: str, prefix: str) -> bool:
78
78
  def _parse_sandbox_container_ref(ref: str) -> tuple[str, str | None]:
79
79
  """Parse a sandbox:container reference into (sandbox_id, container_name).
80
80
 
81
- Supports the pattern `sb-xyz:container_name` for accessing sandbox containers.
81
+ Supports the pattern `sb-xyz:container_name` for accessing sandbox sidecars.
82
82
  Returns (ref, None) if no container name is specified.
83
83
  """
84
84
  if _is_valid_modal_id(ref, "sb-"):
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.1.dev1",
38
+ version: str = "1.5.1.dev2",
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.1.dev1",
208
+ version: str = "1.5.1.dev2",
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
@@ -487,7 +487,7 @@ class Function(
487
487
 
488
488
  _call_generator: ___call_generator_spec
489
489
 
490
- class __remote_spec(typing_extensions.Protocol[ReturnType_INNER, P_INNER]):
490
+ class __remote_spec(typing_extensions.Protocol[P_INNER, ReturnType_INNER]):
491
491
  def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> ReturnType_INNER:
492
492
  """Calls the function remotely, executing it with the given arguments and returning the execution's result.
493
493
 
@@ -512,7 +512,7 @@ class Function(
512
512
  """
513
513
  ...
514
514
 
515
- remote: __remote_spec[modal._functions.ReturnType, modal._functions.P]
515
+ remote: __remote_spec[modal._functions.P, modal._functions.ReturnType]
516
516
 
517
517
  class __remote_gen_spec(typing_extensions.Protocol):
518
518
  def __call__(self, /, *args, **kwargs) -> typing.Generator[typing.Any, None, None]:
@@ -562,7 +562,7 @@ class Function(
562
562
  """
563
563
  ...
564
564
 
565
- class ___experimental_spawn_spec(typing_extensions.Protocol[ReturnType_INNER, P_INNER]):
565
+ class ___experimental_spawn_spec(typing_extensions.Protocol[P_INNER, ReturnType_INNER]):
566
566
  def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> FunctionCall[ReturnType_INNER]:
567
567
  """[Experimental] Calls the function with the given arguments, without waiting for the results.
568
568
 
@@ -595,7 +595,7 @@ class Function(
595
595
  """
596
596
  ...
597
597
 
598
- _experimental_spawn: ___experimental_spawn_spec[modal._functions.ReturnType, modal._functions.P]
598
+ _experimental_spawn: ___experimental_spawn_spec[modal._functions.P, modal._functions.ReturnType]
599
599
 
600
600
  class ___spawn_map_inner_spec(typing_extensions.Protocol[P_INNER]):
601
601
  def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> None: ...
@@ -603,7 +603,7 @@ class Function(
603
603
 
604
604
  _spawn_map_inner: ___spawn_map_inner_spec[modal._functions.P]
605
605
 
606
- class __spawn_spec(typing_extensions.Protocol[ReturnType_INNER, P_INNER]):
606
+ class __spawn_spec(typing_extensions.Protocol[P_INNER, ReturnType_INNER]):
607
607
  def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> FunctionCall[ReturnType_INNER]:
608
608
  """Calls the function with the given arguments, without waiting for the results.
609
609
 
@@ -636,7 +636,7 @@ class Function(
636
636
  """
637
637
  ...
638
638
 
639
- spawn: __spawn_spec[modal._functions.ReturnType, modal._functions.P]
639
+ spawn: __spawn_spec[modal._functions.P, modal._functions.ReturnType]
640
640
 
641
641
  def get_raw_f(self) -> collections.abc.Callable[..., typing.Any]:
642
642
  """Return the inner Python object wrapped by this Modal Function.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: modal
3
- Version: 1.5.1.dev1
3
+ Version: 1.5.1.dev2
4
4
  Summary: Python client library for Modal
5
5
  Author-email: Modal Labs <support@modal.com>
6
6
  License-Expression: Apache-2.0
@@ -30,7 +30,7 @@ modal/app.pyi,sha256=Gpxdq9GpLDJVr4WkCrQKNJwhAlmlOAYLzYLbD-fv_c8,84095
30
30
  modal/billing.py,sha256=V2WA_TAp8T3eEe5nE1nqXs9PL-CG-HhNpdr18IzsSMk,304
31
31
  modal/call_graph.py,sha256=k_wH3DuuUHCeuycHsOqlcOpIlIVbCYi9RPobg21hJdI,2550
32
32
  modal/client.py,sha256=KaAbJuglWWm_xR-WMGCPVTXDR56xdzenP9Q1b8Ynry0,16132
33
- modal/client.pyi,sha256=QiZ0bwTFq1V11-htst3tYnhpZVDqLjYcrggLzxe1l8w,17852
33
+ modal/client.pyi,sha256=AlpOC4B3w0utCOi1VGf5fliAlZ-kx2ax2tSLqOrBWAQ,17852
34
34
  modal/cloud_bucket_mount.py,sha256=03gECcV9l2Lnt9k23YrDOTGFW7ajfXMW5O8b1prhtwQ,6254
35
35
  modal/cloud_bucket_mount.pyi,sha256=lMOb44pbNE9kDVEqWfcmvpsnh1sdNNFzuKoVyZZ3d5M,8058
36
36
  modal/cls.py,sha256=wmtUfe0ewkIGK1AhyAnQ9IHTe6XJqcFvL8tCnfIjzZs,40928
@@ -47,7 +47,7 @@ modal/file_io.py,sha256=kfojtm0euzOMhfkVTAGyfuygDJ1XPPHQa5uUhkCsThg,21800
47
47
  modal/file_io.pyi,sha256=Tr0OtfbkTNa8v1dkGtl8l3RH58pMc9uGTYKxL1jNwho,15422
48
48
  modal/file_pattern_matcher.py,sha256=6g_awxudMy_ontBvkznybyeNnwGMj297YrmIHCbREI0,8132
49
49
  modal/functions.py,sha256=EZRcHFfnoYbvawUJnAHF5nIvoo9GX2Djy7mUmOCXmXc,258
50
- modal/functions.pyi,sha256=-Wpk_xRSfS7ct8kdL16YeeQ2KapJwIfgiSKbVBaQL50,47538
50
+ modal/functions.pyi,sha256=eRhBNSKxpLCysUPhgx0Mw060qY4SWlOwAWjfr1awSmo,47538
51
51
  modal/image.py,sha256=c0lUSAoU-Ip3g5DGZ0uhdCzoWSQWh1g0i-7Rxo-Sz-I,160
52
52
  modal/image.pyi,sha256=Whbfmda2YLAyzctLEF9uF4FQ5b1canwLojSksRJ4gx8,59716
53
53
  modal/io_streams.py,sha256=3fhhb7SDJ69pVUu9J3PiMLBePD9bpiIxPN05SCzf8FE,29118
@@ -174,7 +174,7 @@ modal/cli/queues.py,sha256=YY1NPnGNguisWnJn4qVitFfEOHuezYJiMTEGpB2nCn8,6510
174
174
  modal/cli/run.py,sha256=hGSKdhBATIkZATPECf8ytxZNTza5rzngqIQnN_B4Mww,22639
175
175
  modal/cli/secret.py,sha256=7Le-JxHfDBSOOeX1Yy1ofZU7i0maJeIZkYOV_NNeo4w,8209
176
176
  modal/cli/selector.py,sha256=OJr9Ua3K_l-qu3N3-I8z8oVq8lBakws2-XgfheR5p-c,4741
177
- modal/cli/shell.py,sha256=OhTuJv5IkOhfDYqrz9XU6GhbvpvKAsvpVzfNRYL9fSk,16051
177
+ modal/cli/shell.py,sha256=MdT6iRo2ndzfaWqwmamMjPSmBnXvyxux6paEQO8y8c4,16049
178
178
  modal/cli/skills.py,sha256=oniDafrmu_ARYTlButnlXbKE9XlEU1-EFz-eO4tdnFY,11954
179
179
  modal/cli/token.py,sha256=yvCBs6L0yjATZIRc5vo-ZCWA01cnkk3yaMm2hBceUFI,4309
180
180
  modal/cli/utils.py,sha256=d2VsbC2T2yj1v12SApEwEiWdVc20dlRtN1oI3B3y1u4,6500
@@ -187,7 +187,7 @@ modal/experimental/flash.py,sha256=GAJ1c-EGL8M3_loAkqr5gdUfySMHY3U_oc6RywfZ8-0,3
187
187
  modal/experimental/flash.pyi,sha256=lpTqJFZRMGWscw0xpYZVdBMnAYjj16asXE4_64A6itQ,17774
188
188
  modal/experimental/ipython.py,sha256=kJ6o9wkAY_MiSb7paewI7f1MJAeqdi8TX5pBdhr_mUI,2925
189
189
  modal/skills/modal/SKILL.md,sha256=WzLjYJ1utjc_ZOf6qZTPwB6wxxwRYB5PibdvIf_FLy0,5316
190
- modal-1.5.1.dev1.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
190
+ modal-1.5.1.dev2.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
191
191
  modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
192
192
  modal_docs/gen_cli_docs.py,sha256=zonWwnDnEIIk4sSF05TcXAlVSvji6GDwD2GHUIiw4OM,4028
193
193
  modal_docs/gen_cli_docs_main.py,sha256=UPGr7O1DYTIRLwfINe2rbdh89J3cPVTU1OWL-SjxnOQ,198
@@ -210,10 +210,10 @@ modal_proto/task_command_router_pb2.py,sha256=P3ioP8E_Gp652Vs0Bj6uouDym_Iq2JDnOa
210
210
  modal_proto/task_command_router_pb2.pyi,sha256=fsozH4A4nms0IczwvCWv0x3biZqeoEesCSNOUmOl1Vw,41226
211
211
  modal_proto/task_command_router_pb2_grpc.py,sha256=uOLc2XOBGC3UtrPvHWuDNW31xeLt7y-xg5KgXkzQiGU,36562
212
212
  modal_proto/task_command_router_pb2_grpc.pyi,sha256=Snz-_-rJoanErpYH9cUzUE0r5mtQbqvk5IJdRixDUrc,11709
213
- modal_version/__init__.py,sha256=pA-GM1_3ahdw0lSEa6rqqjHQbTf7l-dQFDjacHq0Ba4,120
213
+ modal_version/__init__.py,sha256=epUSjLvJM1tTN3JnkhUoKYAJS_xCltZPj_wlmnl7kNI,120
214
214
  modal_version/__main__.py,sha256=nLUbubxKx7GXNzJIkTB7M7_u8080LyLM0IS0rzFkC_c,119
215
- modal-1.5.1.dev1.dist-info/METADATA,sha256=hPK6q3wv3diiC9E7eRoVLg0z-od20suX9Pk14Cwc8vE,2338
216
- modal-1.5.1.dev1.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
217
- modal-1.5.1.dev1.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
218
- modal-1.5.1.dev1.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
219
- modal-1.5.1.dev1.dist-info/RECORD,,
215
+ modal-1.5.1.dev2.dist-info/METADATA,sha256=PT4ede3tSzAD6QhIqyLLvlCt9xk4GqobQDNkktGLdVc,2338
216
+ modal-1.5.1.dev2.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
217
+ modal-1.5.1.dev2.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
218
+ modal-1.5.1.dev2.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
219
+ modal-1.5.1.dev2.dist-info/RECORD,,
modal_version/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # Copyright Modal Labs 2026
2
2
  """Supplies the current version of the modal client library."""
3
3
 
4
- __version__ = "1.5.1.dev1"
4
+ __version__ = "1.5.1.dev2"