modal 1.1.2.dev20__py3-none-any.whl → 1.1.2.dev21__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.
@@ -282,7 +282,7 @@ class _MethodDecoratorType:
282
282
 
283
283
  # TODO(elias): fix support for coroutine type unwrapping for methods (static typing)
284
284
  def _method(
285
- _warn_parentheses_missing=None,
285
+ _warn_parentheses_missing=None, # mdmd:line-hidden
286
286
  *,
287
287
  # Set this to True if it's a non-generator function returning
288
288
  # a [sync/async] generator object
@@ -337,7 +337,7 @@ def _parse_custom_domains(custom_domains: Optional[Iterable[str]] = None) -> lis
337
337
 
338
338
 
339
339
  def _fastapi_endpoint(
340
- _warn_parentheses_missing=None,
340
+ _warn_parentheses_missing=None, # mdmd:line-hidden
341
341
  *,
342
342
  method: str = "GET", # REST method for the created endpoint.
343
343
  label: Optional[str] = None, # Label for created endpoint. Final subdomain will be <workspace>--<label>.modal.run.
@@ -400,7 +400,7 @@ def _fastapi_endpoint(
400
400
 
401
401
 
402
402
  def _web_endpoint(
403
- _warn_parentheses_missing=None,
403
+ _warn_parentheses_missing=None, # mdmd:line-hidden
404
404
  *,
405
405
  method: str = "GET", # REST method for the created endpoint.
406
406
  label: Optional[str] = None, # Label for created endpoint. Final subdomain will be <workspace>--<label>.modal.run.
@@ -468,7 +468,7 @@ def _web_endpoint(
468
468
 
469
469
 
470
470
  def _asgi_app(
471
- _warn_parentheses_missing=None,
471
+ _warn_parentheses_missing=None, # mdmd:line-hidden
472
472
  *,
473
473
  label: Optional[str] = None, # Label for created endpoint. Final subdomain will be <workspace>--<label>.modal.run.
474
474
  custom_domains: Optional[Iterable[str]] = None, # Deploy this endpoint on a custom domain.
@@ -525,7 +525,7 @@ def _asgi_app(
525
525
 
526
526
 
527
527
  def _wsgi_app(
528
- _warn_parentheses_missing=None,
528
+ _warn_parentheses_missing=None, # mdmd:line-hidden
529
529
  *,
530
530
  label: Optional[str] = None, # Label for created endpoint. Final subdomain will be <workspace>--<label>.modal.run.
531
531
  custom_domains: Optional[Iterable[str]] = None, # Deploy this endpoint on a custom domain.
@@ -645,7 +645,7 @@ def _web_server(
645
645
 
646
646
 
647
647
  def _enter(
648
- _warn_parentheses_missing=None,
648
+ _warn_parentheses_missing=None, # mdmd:line-hidden
649
649
  *,
650
650
  snap: bool = False,
651
651
  ) -> Callable[[Union[_PartialFunction, NullaryMethod]], _PartialFunction]:
@@ -696,7 +696,7 @@ def _exit(_warn_parentheses_missing=None) -> Callable[[NullaryMethod], _PartialF
696
696
 
697
697
 
698
698
  def _batched(
699
- _warn_parentheses_missing=None,
699
+ _warn_parentheses_missing=None, # mdmd:line-hidden
700
700
  *,
701
701
  max_batch_size: int,
702
702
  wait_ms: int,
@@ -758,7 +758,7 @@ def _batched(
758
758
 
759
759
 
760
760
  def _concurrent(
761
- _warn_parentheses_missing=None,
761
+ _warn_parentheses_missing=None, # mdmd:line-hidden
762
762
  *,
763
763
  max_inputs: int, # Hard limit on each container's input concurrency
764
764
  target_inputs: Optional[int] = None, # Input concurrency that Modal's autoscaler should target
modal/app.py CHANGED
@@ -612,7 +612,7 @@ class _App:
612
612
  @warn_on_renamed_autoscaler_settings
613
613
  def function(
614
614
  self,
615
- _warn_parentheses_missing: Any = None,
615
+ _warn_parentheses_missing=None, # mdmd:line-hidden
616
616
  *,
617
617
  image: Optional[_Image] = None, # The image to run as the container for the function
618
618
  schedule: Optional[Schedule] = None, # An optional Modal Schedule for the function
@@ -841,7 +841,7 @@ class _App:
841
841
  @warn_on_renamed_autoscaler_settings
842
842
  def cls(
843
843
  self,
844
- _warn_parentheses_missing: Optional[bool] = None,
844
+ _warn_parentheses_missing=None, # mdmd:line-hidden
845
845
  *,
846
846
  image: Optional[_Image] = None, # The image to run as the container for the function
847
847
  secrets: Sequence[_Secret] = (), # Optional Modal Secret objects with environment variables for the container
modal/app.pyi CHANGED
@@ -387,7 +387,7 @@ class _App:
387
387
 
388
388
  def function(
389
389
  self,
390
- _warn_parentheses_missing: typing.Any = None,
390
+ _warn_parentheses_missing=None,
391
391
  *,
392
392
  image: typing.Optional[modal.image._Image] = None,
393
393
  schedule: typing.Optional[modal.schedule.Schedule] = None,
@@ -441,7 +441,7 @@ class _App:
441
441
  )
442
442
  def cls(
443
443
  self,
444
- _warn_parentheses_missing: typing.Optional[bool] = None,
444
+ _warn_parentheses_missing=None,
445
445
  *,
446
446
  image: typing.Optional[modal.image._Image] = None,
447
447
  secrets: collections.abc.Sequence[modal.secret._Secret] = (),
@@ -990,7 +990,7 @@ class App:
990
990
 
991
991
  def function(
992
992
  self,
993
- _warn_parentheses_missing: typing.Any = None,
993
+ _warn_parentheses_missing=None,
994
994
  *,
995
995
  image: typing.Optional[modal.image.Image] = None,
996
996
  schedule: typing.Optional[modal.schedule.Schedule] = None,
@@ -1044,7 +1044,7 @@ class App:
1044
1044
  )
1045
1045
  def cls(
1046
1046
  self,
1047
- _warn_parentheses_missing: typing.Optional[bool] = None,
1047
+ _warn_parentheses_missing=None,
1048
1048
  *,
1049
1049
  image: typing.Optional[modal.image.Image] = None,
1050
1050
  secrets: collections.abc.Sequence[modal.secret.Secret] = (),
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.2.dev20",
36
+ version: str = "1.1.2.dev21",
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.2.dev20",
167
+ version: str = "1.1.2.dev21",
168
168
  ):
169
169
  """mdmd:hidden
170
170
  The Modal client object is not intended to be instantiated directly by users.
modal/dict.py CHANGED
@@ -227,7 +227,7 @@ class _Dict(_Object, type_prefix="di"):
227
227
  data: Optional[dict] = None, # DEPRECATED
228
228
  client: Optional[_Client] = None,
229
229
  environment_name: Optional[str] = None,
230
- _heartbeat_sleep: float = EPHEMERAL_OBJECT_HEARTBEAT_SLEEP,
230
+ _heartbeat_sleep: float = EPHEMERAL_OBJECT_HEARTBEAT_SLEEP, # mdmd:line-hidden
231
231
  ) -> AsyncIterator["_Dict"]:
232
232
  """Creates a new ephemeral Dict within a context manager:
233
233
 
@@ -136,7 +136,7 @@ class _NetworkFileSystem(_Object, type_prefix="sv"):
136
136
  cls: type["_NetworkFileSystem"],
137
137
  client: Optional[_Client] = None,
138
138
  environment_name: Optional[str] = None,
139
- _heartbeat_sleep: float = EPHEMERAL_OBJECT_HEARTBEAT_SLEEP,
139
+ _heartbeat_sleep: float = EPHEMERAL_OBJECT_HEARTBEAT_SLEEP, # mdmd:line-hidden
140
140
  ) -> AsyncIterator["_NetworkFileSystem"]:
141
141
  """Creates a new ephemeral network filesystem within a context manager:
142
142
 
modal/queue.py CHANGED
@@ -263,7 +263,7 @@ class _Queue(_Object, type_prefix="qu"):
263
263
  cls: type["_Queue"],
264
264
  client: Optional[_Client] = None,
265
265
  environment_name: Optional[str] = None,
266
- _heartbeat_sleep: float = EPHEMERAL_OBJECT_HEARTBEAT_SLEEP,
266
+ _heartbeat_sleep: float = EPHEMERAL_OBJECT_HEARTBEAT_SLEEP, # mdmd:line-hidden
267
267
  ) -> AsyncIterator["_Queue"]:
268
268
  """Creates a new ephemeral queue within a context manager:
269
269
 
modal/volume.py CHANGED
@@ -381,7 +381,7 @@ class _Volume(_Object, type_prefix="vo"):
381
381
  client: Optional[_Client] = None,
382
382
  environment_name: Optional[str] = None,
383
383
  version: "typing.Optional[modal_proto.api_pb2.VolumeFsVersion.ValueType]" = None,
384
- _heartbeat_sleep: float = EPHEMERAL_OBJECT_HEARTBEAT_SLEEP,
384
+ _heartbeat_sleep: float = EPHEMERAL_OBJECT_HEARTBEAT_SLEEP, # mdmd:line-hidden
385
385
  ) -> AsyncGenerator["_Volume", None]:
386
386
  """Creates a new ephemeral volume within a context manager:
387
387
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: modal
3
- Version: 1.1.2.dev20
3
+ Version: 1.1.2.dev21
4
4
  Summary: Python client library for Modal
5
5
  Author-email: Modal Labs <support@modal.com>
6
6
  License: Apache-2.0
@@ -8,7 +8,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
10
10
  modal/_output.py,sha256=G9CeSQEBzjhveWWEzWmYa5Uwbu4lZf8N8IFH1UM4fU0,25803
11
- modal/_partial_function.py,sha256=B1J4S9W-La0NHaVmY1aCuH0E3QxJHIX6ZWY5eNTQ7io,37142
11
+ modal/_partial_function.py,sha256=Yqk97hLS6vi8nWWVpzS5TSWbndWMdCtkhccdnyDJgBk,37302
12
12
  modal/_pty.py,sha256=JZfPDDpzqICZqtyPI_oMJf_9w-p_lLNuzHhwhodUXio,1329
13
13
  modal/_resolver.py,sha256=2RWvm34cNSnbv1v7izJMNZgfvpLDD6LzaBlr0lIrLnY,7364
14
14
  modal/_resources.py,sha256=NMAp0GCLutiZI4GuKSIVnRHVlstoD3hNGUabjTUtzf4,1794
@@ -18,11 +18,11 @@ modal/_tunnel.py,sha256=zTBxBiuH1O22tS1OliAJdIsSmaZS8PlnifS_6S5z-mk,6320
18
18
  modal/_tunnel.pyi,sha256=rvC7USR2BcKkbZIeCJXwf7-UfGE-LPLjKsGNiK7Lxa4,13366
19
19
  modal/_type_manager.py,sha256=DWjgmjYJuOagw2erin506UUbG2H5UzZCFEekS-7hmfA,9087
20
20
  modal/_watcher.py,sha256=K6LYnlmSGQB4tWWI9JADv-tvSvQ1j522FwT71B51CX8,3584
21
- modal/app.py,sha256=kpq4kXp7pch688y6g55QYAC10wqPTU5FXKoWPMirA3E,47899
22
- modal/app.pyi,sha256=-jKXlGDBWRPVsuenBhdMRqawK-L2eiJ7gHbmSblhltg,43525
21
+ modal/app.py,sha256=GsClEQIs8i0K-n-DxkCO3flV2xq36sejFd4Dtjxfw0U,47914
22
+ modal/app.pyi,sha256=k0HnXfwV3mEze3PFHmSeqXBqizNqeJWF5oxrqo-P4Wg,43447
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=9lovB-COD4_ZrYL64vetE6vYHZQyGMs6vFoB5ovuKEc,15831
25
+ modal/client.pyi,sha256=o9jFAUJPRJWGcsqEcAMaxertZv2sl-2a7AKPzgdHIlM,15831
26
26
  modal/cloud_bucket_mount.py,sha256=YOe9nnvSr4ZbeCn587d7_VhE9IioZYRvF9VYQTQux08,5914
27
27
  modal/cloud_bucket_mount.pyi,sha256=-qSfYAQvIoO_l2wsCCGTG5ZUwQieNKXdAO00yP1-LYU,7394
28
28
  modal/cls.py,sha256=bsoBlJrriB-LXj81oyfKyaNW3Kra5A2YU3jhtnOmcAs,40132
@@ -30,7 +30,7 @@ modal/cls.pyi,sha256=_tZ5qrlL-ZDEcD-mf9BZkkNH5XPr4SmGTEQ-RVmqF3I,27772
30
30
  modal/config.py,sha256=tW-SEGjVvAt3D_MNi3LhxXnFKIA9fjLd3UIgbW8uSJE,12121
31
31
  modal/container_process.py,sha256=XkPwNIW-iD_GB9u9yqv9q8y-i5cQ8eBbLZZ_GvEw9t8,6858
32
32
  modal/container_process.pyi,sha256=9m-st3hCUlNN1GOTctfPPvIvoLtEl7FbuGWwif5-7YU,6037
33
- modal/dict.py,sha256=QfYy3RQC7fWq5I42gpJmfZh5dYlJOhUxpfu_RZbcyPY,20518
33
+ modal/dict.py,sha256=wqgbV0K0wp-jPF6JLQGOnC7hYEJeV1BfoaqGyNy3DvY,20538
34
34
  modal/dict.pyi,sha256=zHj9XK1uv8PR8Vvd9-RmMMd52002SxoNjNsrK2Bn1OE,29914
35
35
  modal/environments.py,sha256=gHFNLG78bqgizpQ4w_elz27QOqmcgAonFsmLs7NjUJ4,6804
36
36
  modal/environments.pyi,sha256=9-KtrzAcUe55cCP4020lSUD7-fWS7OPakAHssq4-bro,4219
@@ -47,7 +47,7 @@ modal/io_streams.py,sha256=ut9tY_yEtiBsgQ40u_72Ns87IZHfbMxfnh8t6U9RSGA,16204
47
47
  modal/io_streams.pyi,sha256=aOun_jUFKHSJyUY6-7gKvNoxzcULsa8_hxdtEO7v-gk,13980
48
48
  modal/mount.py,sha256=EHttd7D0HNtGUDyB3DS26dJMdabG-SlIaD5c52dJnbE,36729
49
49
  modal/mount.pyi,sha256=n6AuS8J3bTCQj750nVZZdVBvzCAlSM2fyxAt_5LLFik,20264
50
- modal/network_file_system.py,sha256=WHaPNZlgo1KzWa5qckKdLZWcj37NjGoz9abwvJ0P4HQ,14913
50
+ modal/network_file_system.py,sha256=S5WhQEUv55u0YDpgeEQP-PGIcq2o1gJZVBHAO5vSR2Q,14933
51
51
  modal/network_file_system.pyi,sha256=Td_IobHr84iLo_9LZKQ4tNdUB60yjX8QWBaFiUvhfi8,17685
52
52
  modal/object.py,sha256=bTeskuY8JFrESjU4_UL_nTwYlBQdOLmVaOX3X6EMxsg,164
53
53
  modal/object.pyi,sha256=qlyVVMezW3XgJe_iqhtzWRSki3Nuk-KrpXc1g-r8ujA,6944
@@ -59,7 +59,7 @@ 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=yknHLrxwd5aYxcpfTq-huSQArOhXJiZY1DvS7qe7L-k,24968
62
+ modal/queue.py,sha256=TJWkFtOVxg1gtlc40-wGVsYzY7PqQpaJXYSsI_-Rquw,24988
63
63
  modal/queue.pyi,sha256=cnnd5ZxZA3X0xT-igJbLC3p0TXATNwkJaXC8qCeFphQ,35815
64
64
  modal/retries.py,sha256=IvNLDM0f_GLUDD5VgEDoN09C88yoxSrCquinAuxT1Sc,5205
65
65
  modal/runner.py,sha256=ostdzYpQb-20tlD6dIq7bpWTkZkOhjJBNuMNektqnJA,24068
@@ -78,7 +78,7 @@ 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=hYllk839X0X3uc_DolZkEkM_hZOFYe1nzjatz5XwGZY,50146
81
+ modal/volume.py,sha256=XCAq7kY9z1bYXgyU8VJf3hnY26NNdhzuXzWTKJUUUH0,50166
82
82
  modal/volume.pyi,sha256=fnHhR152qCh5St7XT-PReQK_tPAQ0hmcXKoezOulEl4,49427
83
83
  modal/_runtime/__init__.py,sha256=MIEP8jhXUeGq_eCjYFcqN5b1bxBM4fdk0VESpjWR0fc,28
84
84
  modal/_runtime/asgi.py,sha256=_2xSTsDD27Cit7xnMs4lzkJA2wzer2_N4Oa3BkXFzVA,22521
@@ -153,7 +153,7 @@ modal/experimental/__init__.py,sha256=dPBPpxsmjZMLF3YjRrXoTvT01pl65wxi4UdFZsOem3
153
153
  modal/experimental/flash.py,sha256=viXQumCIFp5VFsPFURdFTBTjP_QnsAi8nSWXAMmfjeQ,19744
154
154
  modal/experimental/flash.pyi,sha256=A8_qJGtGoXEzKDdHbvhmCw7oqfneFEvJQK3ZdTOvUdU,10830
155
155
  modal/experimental/ipython.py,sha256=TrCfmol9LGsRZMeDoeMPx3Hv3BFqQhYnmD_iH0pqdhk,2904
156
- modal-1.1.2.dev20.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
156
+ modal-1.1.2.dev21.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
@@ -176,10 +176,10 @@ modal_proto/options_pb2.pyi,sha256=l7DBrbLO7q3Ir-XDkWsajm0d0TQqqrfuX54i4BMpdQg,1
176
176
  modal_proto/options_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
177
177
  modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0yJSI,247
178
178
  modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
179
- modal_version/__init__.py,sha256=SFWk7kqssJHyJo-Fj_Vly-IsjNquxz_ELkq3ewOy8CE,121
179
+ modal_version/__init__.py,sha256=ZWIe8UdlTy_UO8WRbI1RPSaVXYBiL4kpV8plkJWLU0U,121
180
180
  modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
181
- modal-1.1.2.dev20.dist-info/METADATA,sha256=EloQuzgfXFmrnXHqHx3B5vSMswTLyqiKpZPE3-BKKBs,2460
182
- modal-1.1.2.dev20.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
183
- modal-1.1.2.dev20.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
184
- modal-1.1.2.dev20.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
185
- modal-1.1.2.dev20.dist-info/RECORD,,
181
+ modal-1.1.2.dev21.dist-info/METADATA,sha256=qTPOZ3jPBgvHMqlmemQFrh-lU4S5rheZLwD5wS2bSpA,2460
182
+ modal-1.1.2.dev21.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
183
+ modal-1.1.2.dev21.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
184
+ modal-1.1.2.dev21.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
185
+ modal-1.1.2.dev21.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.2.dev20"
4
+ __version__ = "1.1.2.dev21"