modAL 1.4.2.dev15__py3-none-any.whl → 1.4.3.dev0__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.4.2.dev15",
38
+ version: str = "1.4.3.dev0",
39
39
  ):
40
40
  """mdmd:hidden
41
41
  The Modal client object is not intended to be instantiated directly by users.
@@ -175,7 +175,7 @@ class Client:
175
175
  server_url: str,
176
176
  client_type: int,
177
177
  credentials: typing.Optional[tuple[str, str]],
178
- version: str = "1.4.2.dev15",
178
+ version: str = "1.4.3.dev0",
179
179
  ):
180
180
  """mdmd:hidden
181
181
  The Modal client object is not intended to be instantiated directly by users.
modal/file_io.py CHANGED
@@ -406,7 +406,7 @@ class _FileIO(Generic[T]):
406
406
  """Create a new directory."""
407
407
  deprecation_warning(
408
408
  (2026, 3, 9),
409
- "`FileIO.mkdir()` is deprecated. Use `Sandbox.mkdir()` instead.",
409
+ "`FileIO.mkdir()` is deprecated. Use `Sandbox.filesystem.make_directory()` instead.",
410
410
  pending=True,
411
411
  )
412
412
  await mkdir(path, client, task_id, parents)
@@ -416,7 +416,7 @@ class _FileIO(Generic[T]):
416
416
  """Remove a file or directory in the Sandbox."""
417
417
  deprecation_warning(
418
418
  (2026, 3, 9),
419
- "`FileIO.rm()` is deprecated. Use `Sandbox.rm()` instead.",
419
+ "`FileIO.rm()` is deprecated. Use `Sandbox.filesystem.remove()` instead.",
420
420
  pending=True,
421
421
  )
422
422
  await rm(path, client, task_id, recursive)
modal/functions.pyi CHANGED
@@ -347,7 +347,7 @@ class Function(
347
347
 
348
348
  _call_generator: ___call_generator_spec
349
349
 
350
- class __remote_spec(typing_extensions.Protocol[P_INNER, ReturnType_INNER]):
350
+ class __remote_spec(typing_extensions.Protocol[ReturnType_INNER, P_INNER]):
351
351
  def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> ReturnType_INNER:
352
352
  """Calls the function remotely, executing it with the given arguments and returning the execution's result."""
353
353
  ...
@@ -356,7 +356,7 @@ class Function(
356
356
  """Calls the function remotely, executing it with the given arguments and returning the execution's result."""
357
357
  ...
358
358
 
359
- remote: __remote_spec[modal._functions.P, modal._functions.ReturnType]
359
+ remote: __remote_spec[modal._functions.ReturnType, modal._functions.P]
360
360
 
361
361
  class __remote_gen_spec(typing_extensions.Protocol):
362
362
  def __call__(self, /, *args, **kwargs) -> typing.Generator[typing.Any, None, None]:
@@ -383,7 +383,7 @@ class Function(
383
383
  """
384
384
  ...
385
385
 
386
- class ___experimental_spawn_spec(typing_extensions.Protocol[P_INNER, ReturnType_INNER]):
386
+ class ___experimental_spawn_spec(typing_extensions.Protocol[ReturnType_INNER, P_INNER]):
387
387
  def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> FunctionCall[ReturnType_INNER]:
388
388
  """[Experimental] Calls the function with the given arguments, without waiting for the results.
389
389
 
@@ -406,7 +406,7 @@ class Function(
406
406
  """
407
407
  ...
408
408
 
409
- _experimental_spawn: ___experimental_spawn_spec[modal._functions.P, modal._functions.ReturnType]
409
+ _experimental_spawn: ___experimental_spawn_spec[modal._functions.ReturnType, modal._functions.P]
410
410
 
411
411
  class ___spawn_map_inner_spec(typing_extensions.Protocol[P_INNER]):
412
412
  def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> None: ...
@@ -414,7 +414,7 @@ class Function(
414
414
 
415
415
  _spawn_map_inner: ___spawn_map_inner_spec[modal._functions.P]
416
416
 
417
- class __spawn_spec(typing_extensions.Protocol[P_INNER, ReturnType_INNER]):
417
+ class __spawn_spec(typing_extensions.Protocol[ReturnType_INNER, P_INNER]):
418
418
  def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> FunctionCall[ReturnType_INNER]:
419
419
  """Calls the function with the given arguments, without waiting for the results.
420
420
 
@@ -435,7 +435,7 @@ class Function(
435
435
  """
436
436
  ...
437
437
 
438
- spawn: __spawn_spec[modal._functions.P, modal._functions.ReturnType]
438
+ spawn: __spawn_spec[modal._functions.ReturnType, modal._functions.P]
439
439
 
440
440
  def get_raw_f(self) -> collections.abc.Callable[..., typing.Any]:
441
441
  """Return the inner Python object wrapped by this Modal Function."""
modal/sandbox.py CHANGED
@@ -1650,11 +1650,12 @@ class _Sandbox(_Object, type_prefix="sb"):
1650
1650
  """[Alpha] Create a new directory in the Sandbox.
1651
1651
 
1652
1652
  .. deprecated:: 2026-04-15
1653
+ Use `Sandbox.filesystem.make_directory()` instead.
1653
1654
  """
1654
1655
  self._ensure_v1("mkdir")
1655
1656
  deprecation_warning(
1656
1657
  (2026, 4, 15),
1657
- "`Sandbox.mkdir()` is deprecated. Use the `Sandbox.filesystem` APIs instead.",
1658
+ "`Sandbox.mkdir()` is deprecated. Use `Sandbox.filesystem.make_directory()` instead.",
1658
1659
  pending=True,
1659
1660
  )
1660
1661
  task_id = await self._get_task_id()
@@ -1664,11 +1665,12 @@ class _Sandbox(_Object, type_prefix="sb"):
1664
1665
  """[Alpha] Remove a file or directory in the Sandbox.
1665
1666
 
1666
1667
  .. deprecated:: 2026-04-15
1668
+ Use `Sandbox.filesystem.remove()` instead.
1667
1669
  """
1668
1670
  self._ensure_v1("rm")
1669
1671
  deprecation_warning(
1670
1672
  (2026, 4, 15),
1671
- "`Sandbox.rm()` is deprecated. Use the `Sandbox.filesystem` APIs instead.",
1673
+ "`Sandbox.rm()` is deprecated. Use `Sandbox.filesystem.remove()` instead.",
1672
1674
  pending=True,
1673
1675
  )
1674
1676
  task_id = await self._get_task_id()
modal/sandbox.pyi CHANGED
@@ -620,6 +620,7 @@ class _Sandbox(modal._object._Object):
620
620
  """[Alpha] Create a new directory in the Sandbox.
621
621
 
622
622
  .. deprecated:: 2026-04-15
623
+ Use `Sandbox.filesystem.make_directory()` instead.
623
624
  """
624
625
  ...
625
626
 
@@ -627,6 +628,7 @@ class _Sandbox(modal._object._Object):
627
628
  """[Alpha] Remove a file or directory in the Sandbox.
628
629
 
629
630
  .. deprecated:: 2026-04-15
631
+ Use `Sandbox.filesystem.remove()` instead.
630
632
  """
631
633
  ...
632
634
 
@@ -1920,6 +1922,7 @@ class Sandbox(modal.object.Object):
1920
1922
  """[Alpha] Create a new directory in the Sandbox.
1921
1923
 
1922
1924
  .. deprecated:: 2026-04-15
1925
+ Use `Sandbox.filesystem.make_directory()` instead.
1923
1926
  """
1924
1927
  ...
1925
1928
 
@@ -1927,6 +1930,7 @@ class Sandbox(modal.object.Object):
1927
1930
  """[Alpha] Create a new directory in the Sandbox.
1928
1931
 
1929
1932
  .. deprecated:: 2026-04-15
1933
+ Use `Sandbox.filesystem.make_directory()` instead.
1930
1934
  """
1931
1935
  ...
1932
1936
 
@@ -1937,6 +1941,7 @@ class Sandbox(modal.object.Object):
1937
1941
  """[Alpha] Remove a file or directory in the Sandbox.
1938
1942
 
1939
1943
  .. deprecated:: 2026-04-15
1944
+ Use `Sandbox.filesystem.remove()` instead.
1940
1945
  """
1941
1946
  ...
1942
1947
 
@@ -1944,6 +1949,7 @@ class Sandbox(modal.object.Object):
1944
1949
  """[Alpha] Remove a file or directory in the Sandbox.
1945
1950
 
1946
1951
  .. deprecated:: 2026-04-15
1952
+ Use `Sandbox.filesystem.remove()` instead.
1947
1953
  """
1948
1954
  ...
1949
1955
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: modal
3
- Version: 1.4.2.dev15
3
+ Version: 1.4.3.dev0
4
4
  Summary: Python client library for Modal
5
5
  Author-email: Modal Labs <support@modal.com>
6
6
  License-Expression: Apache-2.0
@@ -26,7 +26,7 @@ modal/app.pyi,sha256=mysbOCD6OjZi938NeMY40RpdpQbnI43Bb4s5P79x5OQ,53773
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=jjT4eLFHGcvIF6Xw4kPptIx-VmExtphRN8XJ1JA7fWI,15502
29
- modal/client.pyi,sha256=g-6bxcTKXqRxNp4gErAaEOuh18yZ1OLYpK9IdpCKm8c,15703
29
+ modal/client.pyi,sha256=wvz02VSw2Q4HfKSbI8ys9R_CvlSzFqQcxgf9jd-t8HI,15701
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=Yrl5b_tQhZMhc5avInM-i5UlGuqeog6Gs4rX2d9lLjI,40390
@@ -39,11 +39,11 @@ modal/dict.pyi,sha256=3FgUEzuUDdIw16MlTKpE9GG8CoeBmZ1jnFiIFZunSaU,33803
39
39
  modal/environments.py,sha256=wMiMNpPkvIl_BdxRb81CY9Djzhczp_y4GEYKWp0JyBc,6135
40
40
  modal/environments.pyi,sha256=bMIxvwahckgaolGD3-hP2iovRHDXewvgbVs_nx4ze0o,3808
41
41
  modal/exception.py,sha256=S96LpZo7-s4er-h6YRgcYhPgCj23CFbMvBEjcXhOv5Q,11749
42
- modal/file_io.py,sha256=AKTaKR4y2JO1vsmJ8tRxMhgJtHmtb-TCe1ZZYDte-w4,22221
42
+ modal/file_io.py,sha256=3HcVEXindYuprBIuOPaOlLDMBQtuoaHKjKIYIqh53y0,22256
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=EZRcHFfnoYbvawUJnAHF5nIvoo9GX2Djy7mUmOCXmXc,258
46
- modal/functions.pyi,sha256=m2uNU9DMi9LWprk9PJykCM1Zs_oEG2-Vl2FaJMGSNpY,34255
46
+ modal/functions.pyi,sha256=_sZ27MFClkElRg0iyVXmn9pGXwm9F-r49sHjrYhH4Sg,34255
47
47
  modal/image.py,sha256=EHdzQMPBXtbwHBajZJAC-uLCypF-DoNbB0vMWVfaZ5c,112579
48
48
  modal/image.pyi,sha256=zYiJsc5tEhGev_rT9R3cGpyQJf-Hm08OJl37sV4E_fk,79377
49
49
  modal/io_streams.py,sha256=JcYbvvjMZFugv53yHc9Id0N4nIvDMwV63ZtnN1bPmZc,30940
@@ -68,8 +68,8 @@ modal/retries.py,sha256=vPWWKP-FRolJwTBuLPXdWqHV7aJfSQFgEW7vhlBBXRQ,5067
68
68
  modal/runner.py,sha256=yIB1PE5EGdvLWPPymyT4P0KYliREnFf-MAtULl3tVN0,30062
69
69
  modal/runner.pyi,sha256=ySefjmlMQ5FsvJgJkCWiUZKvcPNfEqdB5hwxI1fGtDo,9445
70
70
  modal/running_app.py,sha256=v61mapYNV1-O-Uaho5EfJlryMLvIT9We0amUOSvSGx8,1188
71
- modal/sandbox.py,sha256=PDWCiBmFtaWU7Qe_RkE8qAyU-Lz72-l6gkfXc3n0qLk,82991
72
- modal/sandbox.pyi,sha256=R067SvuK4TixmmKIeuTb4qL5nhxAP0X1hy5CzbpiVIo,85936
71
+ modal/sandbox.py,sha256=Oz2KjJYQzthyu7fQs93UYMgDMFiJ5r-6CHkWxXLSDfI,83117
72
+ modal/sandbox.pyi,sha256=p1XMD7EjpLI8FCqyDjEaZHvbTKd6_DycwVq86WJPCZw,86306
73
73
  modal/sandbox_fs.py,sha256=1IN-bn9Ah67AqjUhvPBCJkYdaiTLueUBaj0E3h4tzBY,16757
74
74
  modal/sandbox_fs.pyi,sha256=0rQacbDOgHKQBKIAmVJwrJ6pBsP1BR3WL4QbTJRafhw,27604
75
75
  modal/schedule.py,sha256=ng0g0AqNY5GQI9KhkXZQ5Wam5G42glbkqVQsNpBtbDE,3078
@@ -175,7 +175,7 @@ modal/experimental/__init__.py,sha256=Wb1YoAKAnNxH_0c2wA0T12I7bSu9PSO2nS_LuLska7
175
175
  modal/experimental/flash.py,sha256=ATGhVO8AleJ-TOe2PGolI5T7zfCEtj0kl_ivMPp7Rqg,33362
176
176
  modal/experimental/flash.pyi,sha256=R4h2nQl7-oiwqq_twCp0YqID_LnPjPGqxywXvxbiLIk,17011
177
177
  modal/experimental/ipython.py,sha256=TrCfmol9LGsRZMeDoeMPx3Hv3BFqQhYnmD_iH0pqdhk,2904
178
- modal-1.4.2.dev15.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
178
+ modal-1.4.3.dev0.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
179
179
  modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
180
180
  modal_docs/gen_cli_docs.py,sha256=5sVABw4uGUqPXjcWT0Nqjkpe5KLs89C3tFnla58-D0M,3756
181
181
  modal_docs/gen_cli_docs_main.py,sha256=UPGr7O1DYTIRLwfINe2rbdh89J3cPVTU1OWL-SjxnOQ,198
@@ -197,10 +197,10 @@ modal_proto/task_command_router_pb2.py,sha256=Kadayms1M02hoAtV4hom00t143GAHxUNvo
197
197
  modal_proto/task_command_router_pb2.pyi,sha256=nnMXJQ81eSbgeA0SkBOcUHXiD5hRknYi5MK7wVkPlU0,27068
198
198
  modal_proto/task_command_router_pb2_grpc.py,sha256=CW52Dj00YLRRAc2-KIz_aimGe7RuKvx0cROMs2No-b0,25002
199
199
  modal_proto/task_command_router_pb2_grpc.pyi,sha256=j4-VU3QFp8nUyx5_6F04T4IIU28KWHpAFMnY8Eg521g,8018
200
- modal_version/__init__.py,sha256=nR4nTtdb35q2DEciVe3NEu_LA8vcaCKgyJE8cnC8Z4I,121
200
+ modal_version/__init__.py,sha256=d3n24cyQH2Q6hQBfxQxf_ZvcL9codwXkbQwe25PqleU,120
201
201
  modal_version/__main__.py,sha256=nLUbubxKx7GXNzJIkTB7M7_u8080LyLM0IS0rzFkC_c,119
202
- modal-1.4.2.dev15.dist-info/METADATA,sha256=NB7xG6o2Kv7ByHiJ1vaZBHWY3rCXG4VPxvTq04fQaog,2365
203
- modal-1.4.2.dev15.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
204
- modal-1.4.2.dev15.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
205
- modal-1.4.2.dev15.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
206
- modal-1.4.2.dev15.dist-info/RECORD,,
202
+ modal-1.4.3.dev0.dist-info/METADATA,sha256=Myo34AZVEX6o1kQpexEd61mbvRnlMSUO2TFV4_kOuo4,2364
203
+ modal-1.4.3.dev0.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
204
+ modal-1.4.3.dev0.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
205
+ modal-1.4.3.dev0.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
206
+ modal-1.4.3.dev0.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.4.2.dev15"
4
+ __version__ = "1.4.3.dev0"