modal 1.1.5.dev63__py3-none-any.whl → 1.1.5.dev65__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.

Potentially problematic release.


This version of modal might be problematic. Click here for more details.

modal/_functions.py CHANGED
@@ -1429,40 +1429,6 @@ class _Function(typing.Generic[P, ReturnType, OriginalReturnType], _Object, type
1429
1429
  warn_if_passing_namespace(namespace, "modal.Function.from_name")
1430
1430
  return cls._from_name(app_name, name, environment_name=environment_name)
1431
1431
 
1432
- @staticmethod
1433
- async def lookup(
1434
- app_name: str,
1435
- name: str,
1436
- namespace=None, # mdmd:line-hidden
1437
- client: Optional[_Client] = None,
1438
- environment_name: Optional[str] = None,
1439
- ) -> "_Function":
1440
- """mdmd:hidden
1441
- Lookup a Function from a deployed App by its name.
1442
-
1443
- DEPRECATED: This method is deprecated in favor of `modal.Function.from_name`.
1444
-
1445
- In contrast to `modal.Function.from_name`, this is an eager method
1446
- that will hydrate the local object with metadata from Modal servers.
1447
-
1448
- ```python notest
1449
- f = modal.Function.lookup("other-app", "function")
1450
- ```
1451
- """
1452
- deprecation_warning(
1453
- (2025, 1, 27),
1454
- "`modal.Function.lookup` is deprecated and will be removed in a future release."
1455
- " It can be replaced with `modal.Function.from_name`."
1456
- "\n\nSee https://modal.com/docs/guide/modal-1-0-migration for more information.",
1457
- )
1458
- warn_if_passing_namespace(namespace, "modal.Function.lookup")
1459
- obj = _Function.from_name(app_name, name, environment_name=environment_name)
1460
- if client is None:
1461
- client = await _Client.from_env()
1462
- resolver = Resolver(client=client)
1463
- await resolver.load(obj)
1464
- return obj
1465
-
1466
1432
  @property
1467
1433
  def tag(self) -> str:
1468
1434
  """mdmd:hidden"""
@@ -1811,8 +1777,9 @@ Use the `Function.get_web_url()` method instead.
1811
1777
  # "user code" to run on the synchronicity thread, which seems bad
1812
1778
  if not self._is_local():
1813
1779
  msg = (
1814
- "The definition for this function is missing here so it is not possible to invoke it locally. "
1815
- "If this function was retrieved via `Function.lookup` you need to use `.remote()`."
1780
+ "The definition for this Function is missing, so it is not possible to invoke it locally. "
1781
+ "If this function was retrieved via `Function.from_name`, "
1782
+ "you need to use one of the remote invocation methods instead."
1816
1783
  )
1817
1784
  raise ExecutionError(msg)
1818
1785
 
modal/cli/environment.py CHANGED
@@ -8,7 +8,7 @@ from rich.text import Text
8
8
 
9
9
  from modal import environments
10
10
  from modal._utils.name_utils import check_environment_name
11
- from modal.cli.utils import display_table
11
+ from modal.cli.utils import YES_OPTION, display_table
12
12
  from modal.config import config
13
13
  from modal.exception import InvalidError
14
14
 
@@ -80,9 +80,10 @@ Deletes all apps in the selected environment and deletes the environment irrevoc
80
80
  @environment_cli.command(name="delete", help=ENVIRONMENT_DELETE_HELP)
81
81
  def delete(
82
82
  name: str = typer.Argument(help="Name of the environment to be deleted. Case sensitive"),
83
- confirm: bool = typer.Option(default=False, help="Set this flag to delete without prompting for confirmation"),
83
+ *,
84
+ yes: bool = YES_OPTION,
84
85
  ):
85
- if not confirm:
86
+ if not yes:
86
87
  typer.confirm(
87
88
  (
88
89
  f"Are you sure you want to irrevocably delete the environment '{name}' and"
modal/client.pyi CHANGED
@@ -33,7 +33,7 @@ class _Client:
33
33
  server_url: str,
34
34
  client_type: int,
35
35
  credentials: typing.Optional[tuple[str, str]],
36
- version: str = "1.1.5.dev63",
36
+ version: str = "1.1.5.dev65",
37
37
  ):
38
38
  """mdmd:hidden
39
39
  The Modal client object is not intended to be instantiated directly by users.
@@ -164,7 +164,7 @@ class Client:
164
164
  server_url: str,
165
165
  client_type: int,
166
166
  credentials: typing.Optional[tuple[str, str]],
167
- version: str = "1.1.5.dev63",
167
+ version: str = "1.1.5.dev65",
168
168
  ):
169
169
  """mdmd:hidden
170
170
  The Modal client object is not intended to be instantiated directly by users.
modal/cls.py CHANGED
@@ -32,7 +32,6 @@ from ._utils.deprecation import (
32
32
  )
33
33
  from ._utils.grpc_utils import retry_transient_errors
34
34
  from ._utils.mount_utils import validate_volumes
35
- from .client import _Client
36
35
  from .cloud_bucket_mount import _CloudBucketMount
37
36
  from .config import config
38
37
  from .exception import ExecutionError, InvalidError, NotFoundError
@@ -852,46 +851,6 @@ More information on class parameterization can be found here: https://modal.com/
852
851
  cls._options.merge_options(batching_options)
853
852
  return cls
854
853
 
855
- @staticmethod
856
- async def lookup(
857
- app_name: str,
858
- name: str,
859
- namespace=None, # mdmd:line-hidden
860
- client: Optional[_Client] = None,
861
- environment_name: Optional[str] = None,
862
- ) -> "_Cls":
863
- """mdmd:hidden
864
- Lookup a Cls from a deployed App by its name.
865
-
866
- DEPRECATED: This method is deprecated in favor of `modal.Cls.from_name`.
867
-
868
- In contrast to `modal.Cls.from_name`, this is an eager method
869
- that will hydrate the local object with metadata from Modal servers.
870
-
871
- ```python notest
872
- Model = modal.Cls.from_name("other-app", "Model")
873
- model = Model()
874
- model.inference(...)
875
- ```
876
- """
877
- deprecation_warning(
878
- (2025, 1, 27),
879
- "`modal.Cls.lookup` is deprecated and will be removed in a future release."
880
- " It can be replaced with `modal.Cls.from_name`."
881
- "\n\nSee https://modal.com/docs/guide/modal-1-0-migration for more information.",
882
- )
883
- warn_if_passing_namespace(namespace, "modal.Cls.lookup")
884
- obj = _Cls.from_name(
885
- app_name,
886
- name,
887
- environment_name=environment_name,
888
- )
889
- if client is None:
890
- client = await _Client.from_env()
891
- resolver = Resolver(client=client)
892
- await resolver.load(obj)
893
- return obj
894
-
895
854
  @synchronizer.no_input_translation
896
855
  def __call__(self, *args, **kwargs) -> _Obj:
897
856
  """This acts as the class constructor."""
modal/cls.pyi CHANGED
@@ -5,7 +5,6 @@ import modal._functions
5
5
  import modal._object
6
6
  import modal._partial_function
7
7
  import modal.app
8
- import modal.client
9
8
  import modal.cloud_bucket_mount
10
9
  import modal.functions
11
10
  import modal.gpu
@@ -471,30 +470,6 @@ class _Cls(modal._object._Object):
471
470
  """
472
471
  ...
473
472
 
474
- @staticmethod
475
- async def lookup(
476
- app_name: str,
477
- name: str,
478
- namespace=None,
479
- client: typing.Optional[modal.client._Client] = None,
480
- environment_name: typing.Optional[str] = None,
481
- ) -> _Cls:
482
- """mdmd:hidden
483
- Lookup a Cls from a deployed App by its name.
484
-
485
- DEPRECATED: This method is deprecated in favor of `modal.Cls.from_name`.
486
-
487
- In contrast to `modal.Cls.from_name`, this is an eager method
488
- that will hydrate the local object with metadata from Modal servers.
489
-
490
- ```python notest
491
- Model = modal.Cls.from_name("other-app", "Model")
492
- model = Model()
493
- model.inference(...)
494
- ```
495
- """
496
- ...
497
-
498
473
  def __call__(self, *args, **kwargs) -> _Obj:
499
474
  """This acts as the class constructor."""
500
475
  ...
@@ -653,59 +628,6 @@ class Cls(modal.object.Object):
653
628
  """
654
629
  ...
655
630
 
656
- class __lookup_spec(typing_extensions.Protocol):
657
- def __call__(
658
- self,
659
- /,
660
- app_name: str,
661
- name: str,
662
- namespace=None,
663
- client: typing.Optional[modal.client.Client] = None,
664
- environment_name: typing.Optional[str] = None,
665
- ) -> Cls:
666
- """mdmd:hidden
667
- Lookup a Cls from a deployed App by its name.
668
-
669
- DEPRECATED: This method is deprecated in favor of `modal.Cls.from_name`.
670
-
671
- In contrast to `modal.Cls.from_name`, this is an eager method
672
- that will hydrate the local object with metadata from Modal servers.
673
-
674
- ```python notest
675
- Model = modal.Cls.from_name("other-app", "Model")
676
- model = Model()
677
- model.inference(...)
678
- ```
679
- """
680
- ...
681
-
682
- async def aio(
683
- self,
684
- /,
685
- app_name: str,
686
- name: str,
687
- namespace=None,
688
- client: typing.Optional[modal.client.Client] = None,
689
- environment_name: typing.Optional[str] = None,
690
- ) -> Cls:
691
- """mdmd:hidden
692
- Lookup a Cls from a deployed App by its name.
693
-
694
- DEPRECATED: This method is deprecated in favor of `modal.Cls.from_name`.
695
-
696
- In contrast to `modal.Cls.from_name`, this is an eager method
697
- that will hydrate the local object with metadata from Modal servers.
698
-
699
- ```python notest
700
- Model = modal.Cls.from_name("other-app", "Model")
701
- model = Model()
702
- model.inference(...)
703
- ```
704
- """
705
- ...
706
-
707
- lookup: __lookup_spec
708
-
709
631
  def __call__(self, *args, **kwargs) -> Obj:
710
632
  """This acts as the class constructor."""
711
633
  ...
modal/dict.py CHANGED
@@ -383,47 +383,6 @@ class _Dict(_Object, type_prefix="di"):
383
383
  rep = _Dict._repr(name, environment_name)
384
384
  return _Dict._from_loader(_load, rep, is_another_app=True, hydrate_lazily=True, name=name)
385
385
 
386
- @staticmethod
387
- async def lookup(
388
- name: str,
389
- data: Optional[dict] = None,
390
- namespace=None, # mdmd:line-hidden
391
- client: Optional[_Client] = None,
392
- environment_name: Optional[str] = None,
393
- create_if_missing: bool = False,
394
- ) -> "_Dict":
395
- """mdmd:hidden
396
- Lookup a named Dict.
397
-
398
- DEPRECATED: This method is deprecated in favor of `modal.Dict.from_name`.
399
-
400
- In contrast to `modal.Dict.from_name`, this is an eager method
401
- that will hydrate the local object with metadata from Modal servers.
402
-
403
- ```python
404
- d = modal.Dict.from_name("my-dict")
405
- d["xyz"] = 123
406
- ```
407
- """
408
- deprecation_warning(
409
- (2025, 1, 27),
410
- "`modal.Dict.lookup` is deprecated and will be removed in a future release."
411
- " It can be replaced with `modal.Dict.from_name`."
412
- "\n\nSee https://modal.com/docs/guide/modal-1-0-migration for more information.",
413
- )
414
- warn_if_passing_namespace(namespace, "modal.Dict.lookup")
415
- obj = _Dict.from_name(
416
- name,
417
- data=data,
418
- environment_name=environment_name,
419
- create_if_missing=create_if_missing,
420
- )
421
- if client is None:
422
- client = await _Client.from_env()
423
- resolver = Resolver(client=client)
424
- await resolver.load(obj)
425
- return obj
426
-
427
386
  @staticmethod
428
387
  async def delete(
429
388
  name: str,
modal/dict.pyi CHANGED
@@ -462,30 +462,6 @@ class _Dict(modal._object._Object):
462
462
  """
463
463
  ...
464
464
 
465
- @staticmethod
466
- async def lookup(
467
- name: str,
468
- data: typing.Optional[dict] = None,
469
- namespace=None,
470
- client: typing.Optional[modal.client._Client] = None,
471
- environment_name: typing.Optional[str] = None,
472
- create_if_missing: bool = False,
473
- ) -> _Dict:
474
- """mdmd:hidden
475
- Lookup a named Dict.
476
-
477
- DEPRECATED: This method is deprecated in favor of `modal.Dict.from_name`.
478
-
479
- In contrast to `modal.Dict.from_name`, this is an eager method
480
- that will hydrate the local object with metadata from Modal servers.
481
-
482
- ```python
483
- d = modal.Dict.from_name("my-dict")
484
- d["xyz"] = 123
485
- ```
486
- """
487
- ...
488
-
489
465
  @staticmethod
490
466
  async def delete(
491
467
  name: str,
@@ -704,59 +680,6 @@ class Dict(modal.object.Object):
704
680
  """
705
681
  ...
706
682
 
707
- class __lookup_spec(typing_extensions.Protocol):
708
- def __call__(
709
- self,
710
- /,
711
- name: str,
712
- data: typing.Optional[dict] = None,
713
- namespace=None,
714
- client: typing.Optional[modal.client.Client] = None,
715
- environment_name: typing.Optional[str] = None,
716
- create_if_missing: bool = False,
717
- ) -> Dict:
718
- """mdmd:hidden
719
- Lookup a named Dict.
720
-
721
- DEPRECATED: This method is deprecated in favor of `modal.Dict.from_name`.
722
-
723
- In contrast to `modal.Dict.from_name`, this is an eager method
724
- that will hydrate the local object with metadata from Modal servers.
725
-
726
- ```python
727
- d = modal.Dict.from_name("my-dict")
728
- d["xyz"] = 123
729
- ```
730
- """
731
- ...
732
-
733
- async def aio(
734
- self,
735
- /,
736
- name: str,
737
- data: typing.Optional[dict] = None,
738
- namespace=None,
739
- client: typing.Optional[modal.client.Client] = None,
740
- environment_name: typing.Optional[str] = None,
741
- create_if_missing: bool = False,
742
- ) -> Dict:
743
- """mdmd:hidden
744
- Lookup a named Dict.
745
-
746
- DEPRECATED: This method is deprecated in favor of `modal.Dict.from_name`.
747
-
748
- In contrast to `modal.Dict.from_name`, this is an eager method
749
- that will hydrate the local object with metadata from Modal servers.
750
-
751
- ```python
752
- d = modal.Dict.from_name("my-dict")
753
- d["xyz"] = 123
754
- ```
755
- """
756
- ...
757
-
758
- lookup: __lookup_spec
759
-
760
683
  class __delete_spec(typing_extensions.Protocol):
761
684
  def __call__(
762
685
  self,
modal/environments.py CHANGED
@@ -11,7 +11,6 @@ from modal_proto import api_pb2
11
11
  from ._object import _Object
12
12
  from ._resolver import Resolver
13
13
  from ._utils.async_utils import synchronize_api, synchronizer
14
- from ._utils.deprecation import deprecation_warning
15
14
  from ._utils.grpc_utils import retry_transient_errors
16
15
  from ._utils.name_utils import check_object_name
17
16
  from .client import _Client
@@ -79,25 +78,6 @@ class _Environment(_Object, type_prefix="en"):
79
78
  # TODO environment name (and id?) in the repr? (We should make reprs consistently more useful)
80
79
  return _Environment._from_loader(_load, "Environment()", is_another_app=True, hydrate_lazily=True)
81
80
 
82
- @staticmethod
83
- async def lookup(
84
- name: str,
85
- client: Optional[_Client] = None,
86
- create_if_missing: bool = False,
87
- ):
88
- deprecation_warning(
89
- (2025, 1, 27),
90
- "`modal.Environment.lookup` is deprecated and will be removed in a future release."
91
- " It can be replaced with `modal.Environment.from_name`."
92
- "\n\nSee https://modal.com/docs/guide/modal-1-0-migration for more information.",
93
- )
94
- obj = _Environment.from_name(name, create_if_missing=create_if_missing)
95
- if client is None:
96
- client = await _Client.from_env()
97
- resolver = Resolver(client=client)
98
- await resolver.load(obj)
99
- return obj
100
-
101
81
 
102
82
  Environment = synchronize_api(_Environment)
103
83
 
modal/environments.pyi CHANGED
@@ -46,10 +46,6 @@ class _Environment(modal._object._Object):
46
46
  def _hydrate_metadata(self, metadata: google.protobuf.message.Message): ...
47
47
  @staticmethod
48
48
  def from_name(name: str, *, create_if_missing: bool = False): ...
49
- @staticmethod
50
- async def lookup(
51
- name: str, client: typing.Optional[modal.client._Client] = None, create_if_missing: bool = False
52
- ): ...
53
49
 
54
50
  class Environment(modal.object.Object):
55
51
  _settings: EnvironmentSettings
@@ -62,16 +58,6 @@ class Environment(modal.object.Object):
62
58
  @staticmethod
63
59
  def from_name(name: str, *, create_if_missing: bool = False): ...
64
60
 
65
- class __lookup_spec(typing_extensions.Protocol):
66
- def __call__(
67
- self, /, name: str, client: typing.Optional[modal.client.Client] = None, create_if_missing: bool = False
68
- ): ...
69
- async def aio(
70
- self, /, name: str, client: typing.Optional[modal.client.Client] = None, create_if_missing: bool = False
71
- ): ...
72
-
73
- lookup: __lookup_spec
74
-
75
61
  async def _get_environment_cached(name: str, client: modal.client._Client) -> _Environment: ...
76
62
 
77
63
  class __delete_environment_spec(typing_extensions.Protocol):
modal/functions.pyi CHANGED
@@ -262,55 +262,6 @@ class Function(
262
262
  """
263
263
  ...
264
264
 
265
- class __lookup_spec(typing_extensions.Protocol):
266
- def __call__(
267
- self,
268
- /,
269
- app_name: str,
270
- name: str,
271
- namespace=None,
272
- client: typing.Optional[modal.client.Client] = None,
273
- environment_name: typing.Optional[str] = None,
274
- ) -> Function:
275
- """mdmd:hidden
276
- Lookup a Function from a deployed App by its name.
277
-
278
- DEPRECATED: This method is deprecated in favor of `modal.Function.from_name`.
279
-
280
- In contrast to `modal.Function.from_name`, this is an eager method
281
- that will hydrate the local object with metadata from Modal servers.
282
-
283
- ```python notest
284
- f = modal.Function.lookup("other-app", "function")
285
- ```
286
- """
287
- ...
288
-
289
- async def aio(
290
- self,
291
- /,
292
- app_name: str,
293
- name: str,
294
- namespace=None,
295
- client: typing.Optional[modal.client.Client] = None,
296
- environment_name: typing.Optional[str] = None,
297
- ) -> Function:
298
- """mdmd:hidden
299
- Lookup a Function from a deployed App by its name.
300
-
301
- DEPRECATED: This method is deprecated in favor of `modal.Function.from_name`.
302
-
303
- In contrast to `modal.Function.from_name`, this is an eager method
304
- that will hydrate the local object with metadata from Modal servers.
305
-
306
- ```python notest
307
- f = modal.Function.lookup("other-app", "function")
308
- ```
309
- """
310
- ...
311
-
312
- lookup: __lookup_spec
313
-
314
265
  @property
315
266
  def tag(self) -> str:
316
267
  """mdmd:hidden"""
modal/mount.py CHANGED
@@ -738,28 +738,6 @@ class _Mount(_Object, type_prefix="mo"):
738
738
 
739
739
  return _Mount._from_loader(_load, "Mount()", hydrate_lazily=True)
740
740
 
741
- @classmethod
742
- async def lookup(
743
- cls: type["_Mount"],
744
- name: str,
745
- namespace=api_pb2.DEPLOYMENT_NAMESPACE_WORKSPACE,
746
- client: Optional[_Client] = None,
747
- environment_name: Optional[str] = None,
748
- ) -> "_Mount":
749
- """mdmd:hidden"""
750
- deprecation_warning(
751
- (2025, 1, 27),
752
- "`modal.Mount.lookup` is deprecated and will be removed in a future release."
753
- " It can be replaced with `modal.Mount.from_name`."
754
- "\n\nSee https://modal.com/docs/guide/modal-1-0-migration for more information.",
755
- )
756
- obj = _Mount.from_name(name, namespace=namespace, environment_name=environment_name)
757
- if client is None:
758
- client = await _Client.from_env()
759
- resolver = Resolver(client=client)
760
- await resolver.load(obj)
761
- return obj
762
-
763
741
  async def _deploy(
764
742
  self: "_Mount",
765
743
  deployment_name: Optional[str] = None,
modal/mount.pyi CHANGED
@@ -304,17 +304,6 @@ class _Mount(modal._object._Object):
304
304
  """mdmd:hidden"""
305
305
  ...
306
306
 
307
- @classmethod
308
- async def lookup(
309
- cls: type[_Mount],
310
- name: str,
311
- namespace=1,
312
- client: typing.Optional[modal.client._Client] = None,
313
- environment_name: typing.Optional[str] = None,
314
- ) -> _Mount:
315
- """mdmd:hidden"""
316
- ...
317
-
318
307
  async def _deploy(
319
308
  self: _Mount,
320
309
  deployment_name: typing.Optional[str] = None,
@@ -518,17 +507,6 @@ class Mount(modal.object.Object):
518
507
  """mdmd:hidden"""
519
508
  ...
520
509
 
521
- @classmethod
522
- def lookup(
523
- cls: type[Mount],
524
- name: str,
525
- namespace=1,
526
- client: typing.Optional[modal.client.Client] = None,
527
- environment_name: typing.Optional[str] = None,
528
- ) -> Mount:
529
- """mdmd:hidden"""
530
- ...
531
-
532
510
  class ___deploy_spec(typing_extensions.Protocol[SUPERSELF]):
533
511
  def __call__(
534
512
  self,
@@ -21,7 +21,7 @@ from ._object import (
21
21
  from ._resolver import Resolver
22
22
  from ._utils.async_utils import TaskContext, aclosing, async_map, sync_or_async_iter, synchronize_api
23
23
  from ._utils.blob_utils import LARGE_FILE_LIMIT, blob_iter, blob_upload_file
24
- from ._utils.deprecation import deprecation_warning, warn_if_passing_namespace
24
+ from ._utils.deprecation import warn_if_passing_namespace
25
25
  from ._utils.grpc_utils import retry_transient_errors
26
26
  from ._utils.hash_utils import get_sha256_hex
27
27
  from ._utils.name_utils import check_object_name
@@ -171,45 +171,6 @@ class _NetworkFileSystem(_Object, type_prefix="sv"):
171
171
  rep="modal.NetworkFileSystem.ephemeral()",
172
172
  )
173
173
 
174
- @staticmethod
175
- async def lookup(
176
- name: str,
177
- namespace=None, # mdmd:line-hidden
178
- client: Optional[_Client] = None,
179
- environment_name: Optional[str] = None,
180
- create_if_missing: bool = False,
181
- ) -> "_NetworkFileSystem":
182
- """mdmd:hidden
183
- Lookup a named NetworkFileSystem.
184
-
185
- DEPRECATED: This method is deprecated in favor of `modal.NetworkFileSystem.from_name`.
186
-
187
- In contrast to `modal.NetworkFileSystem.from_name`, this is an eager method
188
- that will hydrate the local object with metadata from Modal servers.
189
-
190
- ```python notest
191
- nfs = modal.NetworkFileSystem.lookup("my-nfs")
192
- print(nfs.listdir("/"))
193
- ```
194
- """
195
- deprecation_warning(
196
- (2025, 1, 27),
197
- "`modal.NetworkFileSystem.lookup` is deprecated and will be removed in a future release."
198
- " It can be replaced with `modal.NetworkFileSystem.from_name`."
199
- "\n\nSee https://modal.com/docs/guide/modal-1-0-migration for more information.",
200
- )
201
- warn_if_passing_namespace(namespace, "modal.NetworkFileSystem.lookup")
202
- obj = _NetworkFileSystem.from_name(
203
- name,
204
- environment_name=environment_name,
205
- create_if_missing=create_if_missing,
206
- )
207
- if client is None:
208
- client = await _Client.from_env()
209
- resolver = Resolver(client=client)
210
- await resolver.load(obj)
211
- return obj
212
-
213
174
  @staticmethod
214
175
  async def create_deployed(
215
176
  deployment_name: str,
@@ -94,29 +94,6 @@ class _NetworkFileSystem(modal._object._Object):
94
94
  """
95
95
  ...
96
96
 
97
- @staticmethod
98
- async def lookup(
99
- name: str,
100
- namespace=None,
101
- client: typing.Optional[modal.client._Client] = None,
102
- environment_name: typing.Optional[str] = None,
103
- create_if_missing: bool = False,
104
- ) -> _NetworkFileSystem:
105
- """mdmd:hidden
106
- Lookup a named NetworkFileSystem.
107
-
108
- DEPRECATED: This method is deprecated in favor of `modal.NetworkFileSystem.from_name`.
109
-
110
- In contrast to `modal.NetworkFileSystem.from_name`, this is an eager method
111
- that will hydrate the local object with metadata from Modal servers.
112
-
113
- ```python notest
114
- nfs = modal.NetworkFileSystem.lookup("my-nfs")
115
- print(nfs.listdir("/"))
116
- ```
117
- """
118
- ...
119
-
120
97
  @staticmethod
121
98
  async def create_deployed(
122
99
  deployment_name: str,
@@ -273,57 +250,6 @@ class NetworkFileSystem(modal.object.Object):
273
250
  """
274
251
  ...
275
252
 
276
- class __lookup_spec(typing_extensions.Protocol):
277
- def __call__(
278
- self,
279
- /,
280
- name: str,
281
- namespace=None,
282
- client: typing.Optional[modal.client.Client] = None,
283
- environment_name: typing.Optional[str] = None,
284
- create_if_missing: bool = False,
285
- ) -> NetworkFileSystem:
286
- """mdmd:hidden
287
- Lookup a named NetworkFileSystem.
288
-
289
- DEPRECATED: This method is deprecated in favor of `modal.NetworkFileSystem.from_name`.
290
-
291
- In contrast to `modal.NetworkFileSystem.from_name`, this is an eager method
292
- that will hydrate the local object with metadata from Modal servers.
293
-
294
- ```python notest
295
- nfs = modal.NetworkFileSystem.lookup("my-nfs")
296
- print(nfs.listdir("/"))
297
- ```
298
- """
299
- ...
300
-
301
- async def aio(
302
- self,
303
- /,
304
- name: str,
305
- namespace=None,
306
- client: typing.Optional[modal.client.Client] = None,
307
- environment_name: typing.Optional[str] = None,
308
- create_if_missing: bool = False,
309
- ) -> NetworkFileSystem:
310
- """mdmd:hidden
311
- Lookup a named NetworkFileSystem.
312
-
313
- DEPRECATED: This method is deprecated in favor of `modal.NetworkFileSystem.from_name`.
314
-
315
- In contrast to `modal.NetworkFileSystem.from_name`, this is an eager method
316
- that will hydrate the local object with metadata from Modal servers.
317
-
318
- ```python notest
319
- nfs = modal.NetworkFileSystem.lookup("my-nfs")
320
- print(nfs.listdir("/"))
321
- ```
322
- """
323
- ...
324
-
325
- lookup: __lookup_spec
326
-
327
253
  class __create_deployed_spec(typing_extensions.Protocol):
328
254
  def __call__(
329
255
  self,
modal/queue.py CHANGED
@@ -388,45 +388,6 @@ class _Queue(_Object, type_prefix="qu"):
388
388
  rep = _Queue._repr(name, environment_name)
389
389
  return _Queue._from_loader(_load, rep, is_another_app=True, hydrate_lazily=True, name=name)
390
390
 
391
- @staticmethod
392
- async def lookup(
393
- name: str,
394
- namespace=None, # mdmd:line-hidden
395
- client: Optional[_Client] = None,
396
- environment_name: Optional[str] = None,
397
- create_if_missing: bool = False,
398
- ) -> "_Queue":
399
- """mdmd:hidden
400
- Lookup a named Queue.
401
-
402
- DEPRECATED: This method is deprecated in favor of `modal.Queue.from_name`.
403
-
404
- In contrast to `modal.Queue.from_name`, this is an eager method
405
- that will hydrate the local object with metadata from Modal servers.
406
-
407
- ```python notest
408
- q = modal.Queue.lookup("my-queue")
409
- q.put(123)
410
- ```
411
- """
412
- deprecation_warning(
413
- (2025, 1, 27),
414
- "`modal.Queue.lookup` is deprecated and will be removed in a future release."
415
- " It can be replaced with `modal.Queue.from_name`."
416
- "\n\nSee https://modal.com/docs/guide/modal-1-0-migration for more information.",
417
- )
418
- warn_if_passing_namespace(namespace, "modal.Queue.lookup")
419
- obj = _Queue.from_name(
420
- name,
421
- environment_name=environment_name,
422
- create_if_missing=create_if_missing,
423
- )
424
- if client is None:
425
- client = await _Client.from_env()
426
- resolver = Resolver(client=client)
427
- await resolver.load(obj)
428
- return obj
429
-
430
391
  @staticmethod
431
392
  async def delete(name: str, *, client: Optional[_Client] = None, environment_name: Optional[str] = None):
432
393
  """mdmd:hidden
modal/queue.pyi CHANGED
@@ -479,29 +479,6 @@ class _Queue(modal._object._Object):
479
479
  """
480
480
  ...
481
481
 
482
- @staticmethod
483
- async def lookup(
484
- name: str,
485
- namespace=None,
486
- client: typing.Optional[modal.client._Client] = None,
487
- environment_name: typing.Optional[str] = None,
488
- create_if_missing: bool = False,
489
- ) -> _Queue:
490
- """mdmd:hidden
491
- Lookup a named Queue.
492
-
493
- DEPRECATED: This method is deprecated in favor of `modal.Queue.from_name`.
494
-
495
- In contrast to `modal.Queue.from_name`, this is an eager method
496
- that will hydrate the local object with metadata from Modal servers.
497
-
498
- ```python notest
499
- q = modal.Queue.lookup("my-queue")
500
- q.put(123)
501
- ```
502
- """
503
- ...
504
-
505
482
  @staticmethod
506
483
  async def delete(
507
484
  name: str,
@@ -759,57 +736,6 @@ class Queue(modal.object.Object):
759
736
  """
760
737
  ...
761
738
 
762
- class __lookup_spec(typing_extensions.Protocol):
763
- def __call__(
764
- self,
765
- /,
766
- name: str,
767
- namespace=None,
768
- client: typing.Optional[modal.client.Client] = None,
769
- environment_name: typing.Optional[str] = None,
770
- create_if_missing: bool = False,
771
- ) -> Queue:
772
- """mdmd:hidden
773
- Lookup a named Queue.
774
-
775
- DEPRECATED: This method is deprecated in favor of `modal.Queue.from_name`.
776
-
777
- In contrast to `modal.Queue.from_name`, this is an eager method
778
- that will hydrate the local object with metadata from Modal servers.
779
-
780
- ```python notest
781
- q = modal.Queue.lookup("my-queue")
782
- q.put(123)
783
- ```
784
- """
785
- ...
786
-
787
- async def aio(
788
- self,
789
- /,
790
- name: str,
791
- namespace=None,
792
- client: typing.Optional[modal.client.Client] = None,
793
- environment_name: typing.Optional[str] = None,
794
- create_if_missing: bool = False,
795
- ) -> Queue:
796
- """mdmd:hidden
797
- Lookup a named Queue.
798
-
799
- DEPRECATED: This method is deprecated in favor of `modal.Queue.from_name`.
800
-
801
- In contrast to `modal.Queue.from_name`, this is an eager method
802
- that will hydrate the local object with metadata from Modal servers.
803
-
804
- ```python notest
805
- q = modal.Queue.lookup("my-queue")
806
- q.put(123)
807
- ```
808
- """
809
- ...
810
-
811
- lookup: __lookup_spec
812
-
813
739
  class __delete_spec(typing_extensions.Protocol):
814
740
  def __call__(
815
741
  self,
modal/secret.py CHANGED
@@ -412,35 +412,6 @@ class _Secret(_Object, type_prefix="st"):
412
412
  rep = _Secret._repr(name, environment_name)
413
413
  return _Secret._from_loader(_load, rep, hydrate_lazily=True, name=name)
414
414
 
415
- @staticmethod
416
- async def lookup(
417
- name: str,
418
- namespace=None, # mdmd:line-hidden
419
- client: Optional[_Client] = None,
420
- environment_name: Optional[str] = None,
421
- required_keys: list[str] = [],
422
- ) -> "_Secret":
423
- """mdmd:hidden"""
424
- deprecation_warning(
425
- (2025, 1, 27),
426
- "`modal.Secret.lookup` is deprecated and will be removed in a future release."
427
- " It can be replaced with `modal.Secret.from_name`."
428
- "\n\nSee https://modal.com/docs/guide/modal-1-0-migration for more information.",
429
- )
430
-
431
- warn_if_passing_namespace(namespace, "modal.Secret.lookup")
432
-
433
- obj = _Secret.from_name(
434
- name,
435
- environment_name=environment_name,
436
- required_keys=required_keys,
437
- )
438
- if client is None:
439
- client = await _Client.from_env()
440
- resolver = Resolver(client=client)
441
- await resolver.load(obj)
442
- return obj
443
-
444
415
  @staticmethod
445
416
  async def create_deployed(
446
417
  deployment_name: str,
modal/secret.pyi CHANGED
@@ -441,17 +441,6 @@ class _Secret(modal._object._Object):
441
441
  """
442
442
  ...
443
443
 
444
- @staticmethod
445
- async def lookup(
446
- name: str,
447
- namespace=None,
448
- client: typing.Optional[modal.client._Client] = None,
449
- environment_name: typing.Optional[str] = None,
450
- required_keys: list[str] = [],
451
- ) -> _Secret:
452
- """mdmd:hidden"""
453
- ...
454
-
455
444
  @staticmethod
456
445
  async def create_deployed(
457
446
  deployment_name: str,
@@ -572,33 +561,6 @@ class Secret(modal.object.Object):
572
561
  """
573
562
  ...
574
563
 
575
- class __lookup_spec(typing_extensions.Protocol):
576
- def __call__(
577
- self,
578
- /,
579
- name: str,
580
- namespace=None,
581
- client: typing.Optional[modal.client.Client] = None,
582
- environment_name: typing.Optional[str] = None,
583
- required_keys: list[str] = [],
584
- ) -> Secret:
585
- """mdmd:hidden"""
586
- ...
587
-
588
- async def aio(
589
- self,
590
- /,
591
- name: str,
592
- namespace=None,
593
- client: typing.Optional[modal.client.Client] = None,
594
- environment_name: typing.Optional[str] = None,
595
- required_keys: list[str] = [],
596
- ) -> Secret:
597
- """mdmd:hidden"""
598
- ...
599
-
600
- lookup: __lookup_spec
601
-
602
564
  class __create_deployed_spec(typing_extensions.Protocol):
603
565
  def __call__(
604
566
  self,
modal/volume.py CHANGED
@@ -484,47 +484,6 @@ class _Volume(_Object, type_prefix="vo"):
484
484
  rep="modal.Volume.ephemeral()",
485
485
  )
486
486
 
487
- @staticmethod
488
- async def lookup(
489
- name: str,
490
- namespace=None, # mdmd:line-hidden
491
- client: Optional[_Client] = None,
492
- environment_name: Optional[str] = None,
493
- create_if_missing: bool = False,
494
- version: "typing.Optional[modal_proto.api_pb2.VolumeFsVersion.ValueType]" = None,
495
- ) -> "_Volume":
496
- """mdmd:hidden
497
- Lookup a named Volume.
498
-
499
- DEPRECATED: This method is deprecated in favor of `modal.Volume.from_name`.
500
-
501
- In contrast to `modal.Volume.from_name`, this is an eager method
502
- that will hydrate the local object with metadata from Modal servers.
503
-
504
- ```python notest
505
- vol = modal.Volume.from_name("my-volume")
506
- print(vol.listdir("/"))
507
- ```
508
- """
509
- deprecation_warning(
510
- (2025, 1, 27),
511
- "`modal.Volume.lookup` is deprecated and will be removed in a future release."
512
- " It can be replaced with `modal.Volume.from_name`."
513
- "\n\nSee https://modal.com/docs/guide/modal-1-0-migration for more information.",
514
- )
515
- warn_if_passing_namespace(namespace, "modal.Volume.lookup")
516
- obj = _Volume.from_name(
517
- name,
518
- environment_name=environment_name,
519
- create_if_missing=create_if_missing,
520
- version=version,
521
- )
522
- if client is None:
523
- client = await _Client.from_env()
524
- resolver = Resolver(client=client)
525
- await resolver.load(obj)
526
- return obj
527
-
528
487
  @staticmethod
529
488
  async def create_deployed(
530
489
  deployment_name: str,
modal/volume.pyi CHANGED
@@ -533,30 +533,6 @@ class _Volume(modal._object._Object):
533
533
  """
534
534
  ...
535
535
 
536
- @staticmethod
537
- async def lookup(
538
- name: str,
539
- namespace=None,
540
- client: typing.Optional[modal.client._Client] = None,
541
- environment_name: typing.Optional[str] = None,
542
- create_if_missing: bool = False,
543
- version: typing.Optional[int] = None,
544
- ) -> _Volume:
545
- """mdmd:hidden
546
- Lookup a named Volume.
547
-
548
- DEPRECATED: This method is deprecated in favor of `modal.Volume.from_name`.
549
-
550
- In contrast to `modal.Volume.from_name`, this is an eager method
551
- that will hydrate the local object with metadata from Modal servers.
552
-
553
- ```python notest
554
- vol = modal.Volume.from_name("my-volume")
555
- print(vol.listdir("/"))
556
- ```
557
- """
558
- ...
559
-
560
536
  @staticmethod
561
537
  async def create_deployed(
562
538
  deployment_name: str,
@@ -866,59 +842,6 @@ class Volume(modal.object.Object):
866
842
  """
867
843
  ...
868
844
 
869
- class __lookup_spec(typing_extensions.Protocol):
870
- def __call__(
871
- self,
872
- /,
873
- name: str,
874
- namespace=None,
875
- client: typing.Optional[modal.client.Client] = None,
876
- environment_name: typing.Optional[str] = None,
877
- create_if_missing: bool = False,
878
- version: typing.Optional[int] = None,
879
- ) -> Volume:
880
- """mdmd:hidden
881
- Lookup a named Volume.
882
-
883
- DEPRECATED: This method is deprecated in favor of `modal.Volume.from_name`.
884
-
885
- In contrast to `modal.Volume.from_name`, this is an eager method
886
- that will hydrate the local object with metadata from Modal servers.
887
-
888
- ```python notest
889
- vol = modal.Volume.from_name("my-volume")
890
- print(vol.listdir("/"))
891
- ```
892
- """
893
- ...
894
-
895
- async def aio(
896
- self,
897
- /,
898
- name: str,
899
- namespace=None,
900
- client: typing.Optional[modal.client.Client] = None,
901
- environment_name: typing.Optional[str] = None,
902
- create_if_missing: bool = False,
903
- version: typing.Optional[int] = None,
904
- ) -> Volume:
905
- """mdmd:hidden
906
- Lookup a named Volume.
907
-
908
- DEPRECATED: This method is deprecated in favor of `modal.Volume.from_name`.
909
-
910
- In contrast to `modal.Volume.from_name`, this is an eager method
911
- that will hydrate the local object with metadata from Modal servers.
912
-
913
- ```python notest
914
- vol = modal.Volume.from_name("my-volume")
915
- print(vol.listdir("/"))
916
- ```
917
- """
918
- ...
919
-
920
- lookup: __lookup_spec
921
-
922
845
  class __create_deployed_spec(typing_extensions.Protocol):
923
846
  def __call__(
924
847
  self,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: modal
3
- Version: 1.1.5.dev63
3
+ Version: 1.1.5.dev65
4
4
  Summary: Python client library for Modal
5
5
  Author-email: Modal Labs <support@modal.com>
6
6
  License: Apache-2.0
@@ -3,7 +3,7 @@ modal/__main__.py,sha256=45H-GtwzaDfN-1nP4_HYvzN3s7AG_HXR4-ynrsjO_OI,2803
3
3
  modal/_clustered_functions.py,sha256=Sy4Sf_17EO8OL-FUe8LYcm4hrqLyQFCssNhr3p0SroU,3013
4
4
  modal/_clustered_functions.pyi,sha256=JmYwAGOLEnD5AF-gYF9O5tu-SgGjeoJz-X1j48b1Ijg,1157
5
5
  modal/_container_entrypoint.py,sha256=B_fIKKjWposiNsYOePifX7S6cR9hf5LRPhDfVums5O8,27867
6
- modal/_functions.py,sha256=6e4rFdl8thTnRuhUOj_4ehOzC1wdvJHhYSoIwB0LXhU,91783
6
+ modal/_functions.py,sha256=a0pCvDiTt2rsIBbHay68RbTpuiRDwxw11kv5nBcnwUo,90522
7
7
  modal/_ipython.py,sha256=TW1fkVOmZL3YYqdS2YlM1hqpf654Yf8ZyybHdBnlhSw,301
8
8
  modal/_location.py,sha256=joiX-0ZeutEUDTrrqLF1GHXCdVLF-rHzstocbMcd_-k,366
9
9
  modal/_object.py,sha256=gwsLdXb-Ecd8nH8LVCo8oVZPzzdyo9BrN1DjgQmsSuM,11967
@@ -22,33 +22,33 @@ modal/app.py,sha256=RRUz2NjAWIQLHtU2IEslOlnIOCxPiWts3IP3rTFArkY,49635
22
22
  modal/app.pyi,sha256=CDp_rlX3hBuFdv9VRsKvNKCgu_hS2IO2uNU5qhzmXps,44719
23
23
  modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
24
24
  modal/client.py,sha256=kyAIVB3Ay-XKJizQ_1ufUFB__EagV0MLmHJpyYyJ7J0,18636
25
- modal/client.pyi,sha256=yFNbH7Xxbyx0HcTl7d2OZpiRL2mw5QFNJzcv4HwBpBQ,15831
25
+ modal/client.pyi,sha256=_OFT7oKnia1QR1DVbTTc5poNIraxWjR-72lAUwPkzA4,15831
26
26
  modal/cloud_bucket_mount.py,sha256=I2GRXYhOWLIz2kJZjXu75jAm9EJkBNcutGc6jR2ReUw,5928
27
27
  modal/cloud_bucket_mount.pyi,sha256=VuUOipMIHqFXMkD-3g2bsoqpSxV5qswlFHDOqPQzYAo,7405
28
- modal/cls.py,sha256=R1uLQbdqWRRjvxs0I57a4hZZELZkBVCxOKxvKryU5_s,41639
29
- modal/cls.pyi,sha256=PRvC9lWIBL-L4cMc9cIt8I_ZDXI7oFttitKaFWWwhUk,29709
28
+ modal/cls.py,sha256=IZG9gLlssbhTgIn6iSEmBSKkbbkst3skASMae-59FII,40239
29
+ modal/cls.pyi,sha256=jJsDPFoqzM4ht-V-e-xEJKJ5TINLF0fYtoBm_UeAW5Y,27281
30
30
  modal/config.py,sha256=OLxJU1K7ijiV_65g700QcHX8hIPH-dgzuybyQAOf6cg,12333
31
31
  modal/container_process.py,sha256=Mutkl7sg_WR5zP4oJiWSC-3UdYRqp0zdKi1shZbi-bk,6996
32
32
  modal/container_process.pyi,sha256=9m-st3hCUlNN1GOTctfPPvIvoLtEl7FbuGWwif5-7YU,6037
33
- modal/dict.py,sha256=PGtZWy1F72qkoYu6_6chXLFQczobZwZyCxYle0vEd-o,22988
34
- modal/dict.pyi,sha256=vlNhkQefMUrktVHYeWds1IZDwAw9LYiJslDI_lYqPoA,34087
35
- modal/environments.py,sha256=gHFNLG78bqgizpQ4w_elz27QOqmcgAonFsmLs7NjUJ4,6804
36
- modal/environments.pyi,sha256=9-KtrzAcUe55cCP4020lSUD7-fWS7OPakAHssq4-bro,4219
33
+ modal/dict.py,sha256=XkaxuojMVtcc4bZvCjJcd6DedU5xxfF8H4w-mDzFPCo,21580
34
+ modal/dict.pyi,sha256=deOiwuwZtwXqedC3h19SwoQIWc4mUnDTBM5XkONt48Y,31712
35
+ modal/environments.py,sha256=xXYDfgzd20CuFdww_zQ53OB0qANQG-j_ls_fT7mGdoQ,6028
36
+ modal/environments.pyi,sha256=YwI2zClQ5vZHqqKaBJYX2eK4QHRlUuqRlF0lM1JrMOs,3673
37
37
  modal/exception.py,sha256=o0V93PK8Hcg2YQ2aeOB1Y-qWBw4Gz5ATfyokR8GapuQ,5634
38
38
  modal/file_io.py,sha256=OSKr77TujcXGJW1iikzYiHckLSmv07QBgBHcxxYEkoI,21456
39
39
  modal/file_io.pyi,sha256=xtO6Glf_BFwDE7QiQQo24QqcMf_Vv-iz7WojcGVlLBU,15932
40
40
  modal/file_pattern_matcher.py,sha256=A_Kdkej6q7YQyhM_2-BvpFmPqJ0oHb54B6yf9VqvPVE,8116
41
41
  modal/functions.py,sha256=kcNHvqeGBxPI7Cgd57NIBBghkfbeFJzXO44WW0jSmao,325
42
- modal/functions.pyi,sha256=9hHRHIkzRtaUWtAHZEmGSUmufyPfgB1JK0kgBipfbys,39597
42
+ modal/functions.pyi,sha256=Z6VuukLrjASAgf0kV9I6c09WvP_b2gCujX6f9j2bBaw,37988
43
43
  modal/gpu.py,sha256=Fe5ORvVPDIstSq1xjmM6OoNgLYFWvogP9r5BgmD3hYg,6769
44
44
  modal/image.py,sha256=pCiIeDt-YDpzBZ7_uqPcuizRniZYG34Z_NDMCsIIjas,108084
45
45
  modal/image.pyi,sha256=ZNp48mVPzcQ6XNvxin1iO5XrZ89vfEZvU1Bi-V57jq0,76835
46
46
  modal/io_streams.py,sha256=hZOVc5beOAm8S_VQQmmKUbk_BJ9OltN83RY0yMPqUDo,16545
47
47
  modal/io_streams.pyi,sha256=aOun_jUFKHSJyUY6-7gKvNoxzcULsa8_hxdtEO7v-gk,13980
48
- modal/mount.py,sha256=3WpYaaCBGLyawW2uhQzB4jXRBQEsuuRMxnCFsXSa9_k,37470
49
- modal/mount.pyi,sha256=y4jbfYwvD4NsLIxP8i0sua_98kNRPk1w1YlRiHqgrdo,20580
50
- modal/network_file_system.py,sha256=RWs1jocuyePNT6kRpngKmzL3W08bV8cnRYPm-GlBkYE,15009
51
- modal/network_file_system.pyi,sha256=Zg5Wg2c-EGOn2xTo2zgPbmtdyt51eda5E63UefI9yes,17837
48
+ modal/mount.py,sha256=4wpRDXb57CUkrU45r-r2_FxxrakY4zAvKByETJj6rkY,36614
49
+ modal/mount.pyi,sha256=u7ConYvpd85-722hFWxYwbECwy7n4t9cwc_Ds0iFTAU,20031
50
+ modal/network_file_system.py,sha256=ZdEIRgdcR-p_ILyw_AecEtPOhhrSWJeADYCtFnhtaHM,13509
51
+ modal/network_file_system.pyi,sha256=zF4PIaiuIaC4OLQ0YCj1e2O3uepW9-2Jo1T3blc7RVg,15365
52
52
  modal/object.py,sha256=bTeskuY8JFrESjU4_UL_nTwYlBQdOLmVaOX3X6EMxsg,164
53
53
  modal/object.pyi,sha256=qlyVVMezW3XgJe_iqhtzWRSki3Nuk-KrpXc1g-r8ujA,6944
54
54
  modal/output.py,sha256=q4T9uHduunj4NwY-YSwkHGgjZlCXMuJbfQ5UFaAGRAc,1968
@@ -59,8 +59,8 @@ modal/partial_function.pyi,sha256=lqqOzZ9-QvHTDWKQ_oAYYOvsXgTOBKhO9u-RI98JbUk,13
59
59
  modal/proxy.py,sha256=CQydu_NPDgApN2GLdd7rrcg8PM-pXyFdVYcTaGMBRCQ,1491
60
60
  modal/proxy.pyi,sha256=yWGWwADCRGrC2w81B7671UTH4Uv3HMZKy5vVqlJUZoA,1417
61
61
  modal/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
62
- modal/queue.py,sha256=ooD_-z3gthje_kxBZQ_xDfwyTy_cxtyn5oM9wt2sXTo,27133
63
- modal/queue.pyi,sha256=EJ6extEFKclbEUBXk-PuRJ4bkUYRwWgAAUNofQBbBmo,39509
62
+ modal/queue.py,sha256=aaH3SNWeh_HjEyVUtFiN345v0GJFoucJ6aNDrDggWZQ,25775
63
+ modal/queue.pyi,sha256=mFu7GFFVFNLU9VZshnfekEsb-ABgpjdhJ07KXHvdv3A,37256
64
64
  modal/retries.py,sha256=IvNLDM0f_GLUDD5VgEDoN09C88yoxSrCquinAuxT1Sc,5205
65
65
  modal/runner.py,sha256=A_zaRmJ4dNpQJWNlwUI_GJIy2GMuaQBRjMAabX0Fmvg,24599
66
66
  modal/runner.pyi,sha256=vUDRKqLz09QvZsaCH1gTG_iujewj-eGxxb6-VmN6eAw,8531
@@ -69,8 +69,8 @@ modal/sandbox.py,sha256=qi_zWDOntB6RSAejCrAAKcW3vZZOkdrBnuic4dBo7NI,45953
69
69
  modal/sandbox.pyi,sha256=Jkmi83cU0YfZTmGbyCiChHPcjpTjsagw4Q50_cowfNQ,50689
70
70
  modal/schedule.py,sha256=ng0g0AqNY5GQI9KhkXZQ5Wam5G42glbkqVQsNpBtbDE,3078
71
71
  modal/scheduler_placement.py,sha256=BAREdOY5HzHpzSBqt6jDVR6YC_jYfHMVqOzkyqQfngU,1235
72
- modal/secret.py,sha256=EifrHTx7QmU4DTU3QwedD7O4ma52hHL4Qku1dADjY0E,19305
73
- modal/secret.pyi,sha256=7EzD7nZGSZHQR-Hf5aRi0ooZGxvy1-G8A4ul-M04Qs4,21552
72
+ modal/secret.py,sha256=ThwP-PkwUZwiYkygqumh15n8P_77-N5ZyRWLc6I3r28,18323
73
+ modal/secret.pyi,sha256=2dj8FPBlAJodp_yvwwzV0_Q1VevMNpKxri0rDvlIn4U,20493
74
74
  modal/serving.py,sha256=3I3WBeVbzZY258u9PXBCW_dZBgypq3OhwBuTVvlgubE,4423
75
75
  modal/serving.pyi,sha256=YfixTaWikyYpwhnNxCHMZnDDQiPmV1xJ87QF91U_WGU,1924
76
76
  modal/snapshot.py,sha256=E3oxYQkYVRB_LeFBfmUV1Y6vHz8-azXJfC4x7A1QKnI,1455
@@ -78,8 +78,8 @@ modal/snapshot.pyi,sha256=0q83hlmWxAhDu8xwZyL5VmYh0i8Tigf7S60or2k30L8,1682
78
78
  modal/stream_type.py,sha256=A6320qoAAWhEfwOCZfGtymQTu5AfLfJXXgARqooTPvY,417
79
79
  modal/token_flow.py,sha256=GWpar0gANs71vm9Bd_Cj87UG1K3ljTURbkEjG3JLsrY,7616
80
80
  modal/token_flow.pyi,sha256=eirYjyqbRiT3GCKMIPHJPpkvBTu8WxDKqSHehWaJI_4,2533
81
- modal/volume.py,sha256=bPC8632-LyeLOjJu2fKOFyod0QG7Hd5bb-UIJ5syCjo,53303
82
- modal/volume.pyi,sha256=5VppIgoqoJqpivESYt5_oWgVTL__zlmpNZkOPk43JF8,54443
81
+ modal/volume.py,sha256=LNfy3GZVuPZdG9LaBjHiLtpw2OdKpuOfOvw6bK1yKT8,51798
82
+ modal/volume.pyi,sha256=Fgq-QDo4iwWO-CFAgG879AbbyBuSvwOaIRbGclcTQik,51972
83
83
  modal/_runtime/__init__.py,sha256=MIEP8jhXUeGq_eCjYFcqN5b1bxBM4fdk0VESpjWR0fc,28
84
84
  modal/_runtime/asgi.py,sha256=AOcduIlijmlxhXVWo7AIUhigo-bqm6nDkHj4Q4JLy6o,22607
85
85
  modal/_runtime/container_io_manager.py,sha256=6RnUl7-jizlSdo1S5ZG7cYG6XxdyAo6rXxmsDyRtW-8,52014
@@ -133,7 +133,7 @@ modal/cli/config.py,sha256=lhp2Pq4RbTDhaZJ-ZJvhrMqJj8c-WjuRX6gjE3TrvXc,1691
133
133
  modal/cli/container.py,sha256=9Ti-TIZ6vjDSmn9mk9h6SRwyhkQjtwirBN18LjpLyvE,3719
134
134
  modal/cli/dict.py,sha256=YAJtiv41YcCd5Fqam3hXCNTs4Y0yOgGR_i6RfQNSAFM,4572
135
135
  modal/cli/entry_point.py,sha256=F06p54rPOs1xAUeYW76RaimFOgLW_I17RCvNwfZRqPc,4747
136
- modal/cli/environment.py,sha256=QD1el4c1ALlTU5aN3e67SQt2E5sH7gPdXlBf9VHW2yI,4358
136
+ modal/cli/environment.py,sha256=LGBq8RVQjfBH3EWz8QgmYe19UO66JKSDNxOXMUjw7JM,4285
137
137
  modal/cli/import_refs.py,sha256=X59Z5JwgliRO6C-cIFto2Pr7o3SwlZMKQPKA0aI4ZK4,13927
138
138
  modal/cli/launch.py,sha256=VARim2SCzgtI1ZuxQ6JgTTtvFwGA5czCwQZQHWC8Zcc,6498
139
139
  modal/cli/network_file_system.py,sha256=I9IqTpVfk32uKYwGd8LTldkQx6UKYrQYNZ26q7Ab5Oo,8126
@@ -153,7 +153,7 @@ modal/experimental/__init__.py,sha256=QkCGP1lZiOa8sY4ZNqMF8JsnuRaDI7PJpXkGtKMWgD
153
153
  modal/experimental/flash.py,sha256=C4sef08rARYFllsgtqukFmYL18SZW0_JpMS0BejDcUs,28552
154
154
  modal/experimental/flash.pyi,sha256=vV_OQhtdrPn8SW0XrBK-aLLHHIvxAzLzwFbWrke-m74,15463
155
155
  modal/experimental/ipython.py,sha256=TrCfmol9LGsRZMeDoeMPx3Hv3BFqQhYnmD_iH0pqdhk,2904
156
- modal-1.1.5.dev63.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
156
+ modal-1.1.5.dev65.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
157
157
  modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
158
158
  modal_docs/gen_cli_docs.py,sha256=c1yfBS_x--gL5bs0N4ihMwqwX8l3IBWSkBAKNNIi6bQ,3801
159
159
  modal_docs/gen_reference_docs.py,sha256=d_CQUGQ0rfw28u75I2mov9AlS773z9rG40-yq5o7g2U,6359
@@ -182,10 +182,10 @@ modal_proto/sandbox_router_pb2.py,sha256=INd9izYaIYqllESQt4MSv2Rj9Hf5bMjAvtCc9b4
182
182
  modal_proto/sandbox_router_pb2.pyi,sha256=YCK0WnCgRos3-p7t4USQQ7x6WAuM278yeQX2IeU5mLg,13295
183
183
  modal_proto/sandbox_router_pb2_grpc.py,sha256=zonC5flvCwxeZYJPENj1IJo2Mr0J58DpoC1_8IdPYik,8243
184
184
  modal_proto/sandbox_router_pb2_grpc.pyi,sha256=4QgCB9b7_ykvH8YD-hfnogVH9CLyHVDC5QNb03l4_X8,2735
185
- modal_version/__init__.py,sha256=Nbm2o1XoG0BkWrkArE0HgzsS4YIQRPi8vBdYQw4LHDQ,121
185
+ modal_version/__init__.py,sha256=p_L8aINMl9Adr2BuLfwTk6eD9IXaYwlSIcCvvwLZsFk,121
186
186
  modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
187
- modal-1.1.5.dev63.dist-info/METADATA,sha256=uyfs1ri84-WfKELD7JRyEzx-Vs2KoRXYRb1DO0ikX1k,2481
188
- modal-1.1.5.dev63.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
189
- modal-1.1.5.dev63.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
190
- modal-1.1.5.dev63.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
191
- modal-1.1.5.dev63.dist-info/RECORD,,
187
+ modal-1.1.5.dev65.dist-info/METADATA,sha256=tMV-5HFjd8bjV7vsE-BOEwzs3MqzfsmW00ovf5w1m3A,2481
188
+ modal-1.1.5.dev65.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
189
+ modal-1.1.5.dev65.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
190
+ modal-1.1.5.dev65.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
191
+ modal-1.1.5.dev65.dist-info/RECORD,,
modal_version/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # Copyright Modal Labs 2025
2
2
  """Supplies the current version of the modal client library."""
3
3
 
4
- __version__ = "1.1.5.dev63"
4
+ __version__ = "1.1.5.dev65"