modal 0.73.134__py3-none-any.whl → 0.73.136__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/_resolver.py +1 -6
- modal/client.pyi +2 -2
- modal/runner.py +2 -1
- {modal-0.73.134.dist-info → modal-0.73.136.dist-info}/METADATA +1 -1
- {modal-0.73.134.dist-info → modal-0.73.136.dist-info}/RECORD +10 -10
- modal_version/_version_generated.py +1 -1
- {modal-0.73.134.dist-info → modal-0.73.136.dist-info}/LICENSE +0 -0
- {modal-0.73.134.dist-info → modal-0.73.136.dist-info}/WHEEL +0 -0
- {modal-0.73.134.dist-info → modal-0.73.136.dist-info}/entry_points.txt +0 -0
- {modal-0.73.134.dist-info → modal-0.73.136.dist-info}/top_level.txt +0 -0
modal/_resolver.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
# Copyright Modal Labs 2023
|
2
2
|
import asyncio
|
3
3
|
import contextlib
|
4
|
-
import traceback
|
5
4
|
import typing
|
6
5
|
from asyncio import Future
|
7
6
|
from collections.abc import Hashable
|
@@ -154,11 +153,7 @@ class Resolver:
|
|
154
153
|
self._deduplication_cache[deduplication_key] = cached_future
|
155
154
|
|
156
155
|
# TODO(elias): print original exception/trace rather than the Resolver-internal trace
|
157
|
-
|
158
|
-
return await cached_future
|
159
|
-
except Exception:
|
160
|
-
traceback.print_exc()
|
161
|
-
raise
|
156
|
+
return await cached_future
|
162
157
|
|
163
158
|
def objects(self) -> list["modal._object._Object"]:
|
164
159
|
unique_objects: dict[str, "modal._object._Object"] = {}
|
modal/client.pyi
CHANGED
@@ -31,7 +31,7 @@ class _Client:
|
|
31
31
|
server_url: str,
|
32
32
|
client_type: int,
|
33
33
|
credentials: typing.Optional[tuple[str, str]],
|
34
|
-
version: str = "0.73.
|
34
|
+
version: str = "0.73.136",
|
35
35
|
): ...
|
36
36
|
def is_closed(self) -> bool: ...
|
37
37
|
@property
|
@@ -93,7 +93,7 @@ class Client:
|
|
93
93
|
server_url: str,
|
94
94
|
client_type: int,
|
95
95
|
credentials: typing.Optional[tuple[str, str]],
|
96
|
-
version: str = "0.73.
|
96
|
+
version: str = "0.73.136",
|
97
97
|
): ...
|
98
98
|
def is_closed(self) -> bool: ...
|
99
99
|
@property
|
modal/runner.py
CHANGED
@@ -318,7 +318,7 @@ async def _run_app(
|
|
318
318
|
def heartbeat():
|
319
319
|
return _heartbeat(client, running_app.app_id)
|
320
320
|
|
321
|
-
tc.infinite_loop(heartbeat, sleep=HEARTBEAT_INTERVAL, log_exception=not detach)
|
321
|
+
heartbeat_loop = tc.infinite_loop(heartbeat, sleep=HEARTBEAT_INTERVAL, log_exception=not detach)
|
322
322
|
logs_loop: Optional[asyncio.Task] = None
|
323
323
|
|
324
324
|
if output_mgr is not None:
|
@@ -370,6 +370,7 @@ async def _run_app(
|
|
370
370
|
else:
|
371
371
|
yield app
|
372
372
|
# successful completion!
|
373
|
+
heartbeat_loop.cancel()
|
373
374
|
await _status_based_disconnect(client, running_app.app_id, exc_info=None)
|
374
375
|
except KeyboardInterrupt as e:
|
375
376
|
# this happens only if sigint comes in during the yield block above
|
@@ -11,7 +11,7 @@ modal/_output.py,sha256=Z0nngPh2mKHMQc4MQ92YjVPc3ewOLa3I4dFBlL9nvQY,25656
|
|
11
11
|
modal/_partial_function.py,sha256=owqnPM7tGbl2b6qrdB__62W08DYF_1d4xEvS3RmayWk,33823
|
12
12
|
modal/_proxy_tunnel.py,sha256=gnKyCfmVB7x2d1A6c-JDysNIP3kEFxmXzhcXhPrzPn0,1906
|
13
13
|
modal/_pty.py,sha256=JZfPDDpzqICZqtyPI_oMJf_9w-p_lLNuzHhwhodUXio,1329
|
14
|
-
modal/_resolver.py,sha256=
|
14
|
+
modal/_resolver.py,sha256=RtoXoYzSllPlFu0D1vel_FWiEmDO7RyToiC2bxeN8ZY,6917
|
15
15
|
modal/_resources.py,sha256=5qmcirXUI8dSH926nwkUaeX9H25mqYu9mXD_KuT79-o,1733
|
16
16
|
modal/_serialization.py,sha256=SQMKtmjvjOLM6ErxTboeJiW970LySqjxDWk0humBR1U,21939
|
17
17
|
modal/_traceback.py,sha256=IZQzB3fVlUfMHOSyKUgw0H6qv4yHnpyq-XVCNZKfUdA,5023
|
@@ -23,7 +23,7 @@ modal/app.py,sha256=NKH7Cw1M6eyyrMXFbhWfdo3uRd28-8kv0Pcw56kPiPU,47312
|
|
23
23
|
modal/app.pyi,sha256=pUEqciyGZ446sc_QoG8XcQ_oc6oU-U4dqjkxjhgOX98,26968
|
24
24
|
modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
|
25
25
|
modal/client.py,sha256=j9D3hNis1lfhnz9lVFGgJgowbH3PaGUzNKgHPWYG778,15372
|
26
|
-
modal/client.pyi,sha256=
|
26
|
+
modal/client.pyi,sha256=RtO1c_dj5YsmyjzUBbNRKfq8amxhl6oaM16uAi5Uq-I,7661
|
27
27
|
modal/cloud_bucket_mount.py,sha256=YOe9nnvSr4ZbeCn587d7_VhE9IioZYRvF9VYQTQux08,5914
|
28
28
|
modal/cloud_bucket_mount.pyi,sha256=30T3K1a89l6wzmEJ_J9iWv9SknoGqaZDx59Xs-ZQcmk,1607
|
29
29
|
modal/cls.py,sha256=PJimWA9q_sbQJNLbYy7fzjZGBm_hdfXuuZ7O_pKLXdk,31586
|
@@ -65,7 +65,7 @@ modal/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
65
65
|
modal/queue.py,sha256=OIYmve1a4GTP54Vj2CcLatLPIAWToU7hWBNeu7IJiBY,18985
|
66
66
|
modal/queue.pyi,sha256=sgvELCK4bJXMZIZw7gllooGFZNipGjI3BT4rmUuyD9M,10282
|
67
67
|
modal/retries.py,sha256=IvNLDM0f_GLUDD5VgEDoN09C88yoxSrCquinAuxT1Sc,5205
|
68
|
-
modal/runner.py,sha256=
|
68
|
+
modal/runner.py,sha256=8jBg-gOjjYyteXMI01u6f7izYsGrABsFaByixeQlTmo,25126
|
69
69
|
modal/runner.pyi,sha256=HW2pvC_PLwg1Es_EkrfQgMZsktIr9zzVEtmjOVFG6Dw,5351
|
70
70
|
modal/running_app.py,sha256=v61mapYNV1-O-Uaho5EfJlryMLvIT9We0amUOSvSGx8,1188
|
71
71
|
modal/sandbox.py,sha256=effbnWXqLwxj5ix7fFHyq3n5FJHtuv2qzpdN7XLZ4ds,32619
|
@@ -172,10 +172,10 @@ modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0y
|
|
172
172
|
modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
173
173
|
modal_version/__init__.py,sha256=wiJQ53c-OMs0Xf1UeXOxQ7FwlV1VzIjnX6o-pRYZ_Pk,470
|
174
174
|
modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
|
175
|
-
modal_version/_version_generated.py,sha256=
|
176
|
-
modal-0.73.
|
177
|
-
modal-0.73.
|
178
|
-
modal-0.73.
|
179
|
-
modal-0.73.
|
180
|
-
modal-0.73.
|
181
|
-
modal-0.73.
|
175
|
+
modal_version/_version_generated.py,sha256=w4UoTfKKY5f3bptqQVeyJSPZrS1Py_SX_9mH5UPN5ro,150
|
176
|
+
modal-0.73.136.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
177
|
+
modal-0.73.136.dist-info/METADATA,sha256=2-yTbQLQc1vaSX6TqPqPUoGFJDrPDZjkMNYvtxu0y3s,2453
|
178
|
+
modal-0.73.136.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
179
|
+
modal-0.73.136.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
|
180
|
+
modal-0.73.136.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
|
181
|
+
modal-0.73.136.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|