modAL 1.4.2.dev3__py3-none-any.whl → 1.4.2.dev5__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/_runtime/asgi.py CHANGED
@@ -474,8 +474,11 @@ async def _proxy_lifespan_request(base_url, scope, receive, send) -> None:
474
474
  auto_decompress=False,
475
475
  read_bufsize=1024 * 1024, # 1 MiB
476
476
  connector=aiohttp.TCPConnector(
477
- limit=1000
478
- ), # 100 is the default max, but 1000 is the max for `@modal.concurrent`.
477
+ limit=1000, # 100 is the default max, but 1000 is the max for `@modal.concurrent`.
478
+ # Disable keep-alive connection reuse to avoid ServerDisconnectedError
479
+ # from stale pooled connections.
480
+ force_close=True,
481
+ ),
479
482
  # Note: these values will need to be kept in sync.
480
483
  **(
481
484
  # These options were introduced in aiohttp 3.9, and we can remove the
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.dev3",
38
+ version: str = "1.4.2.dev5",
39
39
  ):
40
40
  """mdmd:hidden
41
41
  The Modal client object is not intended to be instantiated directly by users.
@@ -171,7 +171,7 @@ class Client:
171
171
  server_url: str,
172
172
  client_type: int,
173
173
  credentials: typing.Optional[tuple[str, str]],
174
- version: str = "1.4.2.dev3",
174
+ version: str = "1.4.2.dev5",
175
175
  ):
176
176
  """mdmd:hidden
177
177
  The Modal client object is not intended to be instantiated directly by users.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: modal
3
- Version: 1.4.2.dev3
3
+ Version: 1.4.2.dev5
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=kcDK0DrpTUHyHDF76M-Qq0NopoPHUocInUtvqOUDh5Q,54017
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=yxMDF2vQZAwgYCatTem1lyRLS90u9T0BFnHBUAg1XU0,14998
29
- modal/client.pyi,sha256=aQGGwNDho2_Oox_0ZOqcwR2jjOuR8qUavhOXMTjhQkY,14930
29
+ modal/client.pyi,sha256=GbLdeeHZkDGqhAURpUvHKZws32meJ1MeDZrv_VqphW4,14930
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
@@ -93,7 +93,7 @@ modal/_output/pty.py,sha256=wniYe_MW9_pEhCjDgRyrruYJNNtZoAJ0MuOOl3UrGI0,10174
93
93
  modal/_output/rich.py,sha256=5pzIxJqlJSc1Fn02KnQq3VodslCtvo8dVpYitd85L0U,31920
94
94
  modal/_output/status.py,sha256=xk3sksl8bOftfnJSGz57IFDWtpM3YPJze-IzYaKT9DY,4520
95
95
  modal/_runtime/__init__.py,sha256=MIEP8jhXUeGq_eCjYFcqN5b1bxBM4fdk0VESpjWR0fc,28
96
- modal/_runtime/asgi.py,sha256=kaSjq_3bnWogx0YF24y1PscArt6Lx5INHnU9YIofg7A,22613
96
+ modal/_runtime/asgi.py,sha256=1d6PG6pxQAOg1FZTeB6YW_86zAw4OxnY-uOjaaGzyxA,22808
97
97
  modal/_runtime/container_io_manager.py,sha256=EQF1aAtzb0A2chhr0B8es_G0rawbBUKZaFu0-p6dsQU,52102
98
98
  modal/_runtime/container_io_manager.pyi,sha256=qwnmErhulV_2OYRWbw8wM3vw6r2Pub1W98NccrKrXaY,22701
99
99
  modal/_runtime/execution_context.py,sha256=AYrNQRHHXEqX2MwMf8zxelKZnYf25RE_B-NRLWf93n8,3521
@@ -173,7 +173,7 @@ modal/experimental/__init__.py,sha256=Wb1YoAKAnNxH_0c2wA0T12I7bSu9PSO2nS_LuLska7
173
173
  modal/experimental/flash.py,sha256=ATGhVO8AleJ-TOe2PGolI5T7zfCEtj0kl_ivMPp7Rqg,33362
174
174
  modal/experimental/flash.pyi,sha256=R4h2nQl7-oiwqq_twCp0YqID_LnPjPGqxywXvxbiLIk,17011
175
175
  modal/experimental/ipython.py,sha256=TrCfmol9LGsRZMeDoeMPx3Hv3BFqQhYnmD_iH0pqdhk,2904
176
- modal-1.4.2.dev3.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
176
+ modal-1.4.2.dev5.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
177
177
  modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
178
178
  modal_docs/gen_cli_docs.py,sha256=5sVABw4uGUqPXjcWT0Nqjkpe5KLs89C3tFnla58-D0M,3756
179
179
  modal_docs/gen_cli_docs_main.py,sha256=UPGr7O1DYTIRLwfINe2rbdh89J3cPVTU1OWL-SjxnOQ,198
@@ -184,8 +184,8 @@ modal_docs/mdmd/mdmd.py,sha256=fNMtrFy0Z7KMXysr9v0w9H0OOuRVBW4-sqJu1pvRQm4,9583
184
184
  modal_docs/mdmd/signatures.py,sha256=XJaZrK7Mdepk5fdX51A8uENiLFNil85Ud0d4MH8H5f0,3218
185
185
  modal_proto/__init__.py,sha256=MIEP8jhXUeGq_eCjYFcqN5b1bxBM4fdk0VESpjWR0fc,28
186
186
  modal_proto/api_grpc.py,sha256=XRW6PS7TAMwsI90sbW1GH8aa2wft0ZA4AeDrOMH3ULk,149205
187
- modal_proto/api_pb2.py,sha256=eWRKWMJdoGhDV-fhFqR-0B-kiQHpgCc9PK2l_yHd3x0,413538
188
- modal_proto/api_pb2.pyi,sha256=ZQYG4OM92CprRpobU2MU3oGSI2SakV5tjztSC9C6IKY,578771
187
+ modal_proto/api_pb2.py,sha256=4hqDeG_eUCZGquPCAPDz3n519dO30goWufui97XAI8M,413709
188
+ modal_proto/api_pb2.pyi,sha256=BuIh9AVIGqk7MU6mV2BJ1p5zebYcuUhwoROyX2g7-3k,579662
189
189
  modal_proto/api_pb2_grpc.py,sha256=Li6NnZt0kW4DIDOYecagfGaImcVkQBmGOgIgwK9GvGQ,321425
190
190
  modal_proto/api_pb2_grpc.pyi,sha256=IQEuD26-FJAAs4rvWQQbv6E_-wriUSod1OCbybn-uVE,75061
191
191
  modal_proto/modal_api_grpc.py,sha256=dFGRDQp8kmoh3Bl6e-rkiAzchAwQhTvu-xne9UViiPQ,23547
@@ -195,10 +195,10 @@ modal_proto/task_command_router_pb2.py,sha256=Kadayms1M02hoAtV4hom00t143GAHxUNvo
195
195
  modal_proto/task_command_router_pb2.pyi,sha256=nnMXJQ81eSbgeA0SkBOcUHXiD5hRknYi5MK7wVkPlU0,27068
196
196
  modal_proto/task_command_router_pb2_grpc.py,sha256=CW52Dj00YLRRAc2-KIz_aimGe7RuKvx0cROMs2No-b0,25002
197
197
  modal_proto/task_command_router_pb2_grpc.pyi,sha256=j4-VU3QFp8nUyx5_6F04T4IIU28KWHpAFMnY8Eg521g,8018
198
- modal_version/__init__.py,sha256=N67UYtwBAzMJRzQCJl589wFDMSRxjyqqbdoF_NFbtKI,120
198
+ modal_version/__init__.py,sha256=tcjj6_ybC7Sk75fNR-hhpXMSAeDJKGWrXyZqVfEOtUs,120
199
199
  modal_version/__main__.py,sha256=nLUbubxKx7GXNzJIkTB7M7_u8080LyLM0IS0rzFkC_c,119
200
- modal-1.4.2.dev3.dist-info/METADATA,sha256=AOviSaj7vQ9sDbPc6k8J7qeSK4mzFz07vYxmH1v-nN4,2364
201
- modal-1.4.2.dev3.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
202
- modal-1.4.2.dev3.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
203
- modal-1.4.2.dev3.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
204
- modal-1.4.2.dev3.dist-info/RECORD,,
200
+ modal-1.4.2.dev5.dist-info/METADATA,sha256=eQnDluR_7dWAQ8nH4saVtqBT2Zy9SJLlZ94ps7cret0,2364
201
+ modal-1.4.2.dev5.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
202
+ modal-1.4.2.dev5.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
203
+ modal-1.4.2.dev5.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
204
+ modal-1.4.2.dev5.dist-info/RECORD,,