isolate 0.13.6__py3-none-any.whl → 0.13.7__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 isolate might be problematic. Click here for more details.
- isolate/_isolate_version.py +2 -2
- isolate/server/server.py +7 -2
- {isolate-0.13.6.dist-info → isolate-0.13.7.dist-info}/METADATA +1 -1
- {isolate-0.13.6.dist-info → isolate-0.13.7.dist-info}/RECORD +8 -8
- {isolate-0.13.6.dist-info → isolate-0.13.7.dist-info}/WHEEL +1 -1
- {isolate-0.13.6.dist-info → isolate-0.13.7.dist-info}/LICENSE +0 -0
- {isolate-0.13.6.dist-info → isolate-0.13.7.dist-info}/entry_points.txt +0 -0
- {isolate-0.13.6.dist-info → isolate-0.13.7.dist-info}/top_level.txt +0 -0
isolate/_isolate_version.py
CHANGED
isolate/server/server.py
CHANGED
|
@@ -329,8 +329,13 @@ class IsolateServicer(definitions.IsolateServicer):
|
|
|
329
329
|
|
|
330
330
|
self.background_tasks[task_id] = task
|
|
331
331
|
|
|
332
|
-
def _callback(
|
|
333
|
-
|
|
332
|
+
def _callback(future: futures.Future) -> None:
|
|
333
|
+
msg = f"Task {task_id} finished with"
|
|
334
|
+
if exc := future.exception():
|
|
335
|
+
msg += f" error: {exc!r}"
|
|
336
|
+
else:
|
|
337
|
+
msg += f" result: {future.result()!r}"
|
|
338
|
+
print(msg)
|
|
334
339
|
self.background_tasks.pop(task_id, None)
|
|
335
340
|
|
|
336
341
|
task.future.add_done_callback(_callback)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
isolate/__init__.py,sha256=uXOKnONs7sXgARNgElwr4_A1sKoA6ACHVEvs3IDiX1M,127
|
|
2
|
-
isolate/_isolate_version.py,sha256=
|
|
2
|
+
isolate/_isolate_version.py,sha256=J3hUjIxi9-2Hwjh_p1oec7w4YBnJzhuSOooK-tFHc9M,413
|
|
3
3
|
isolate/_version.py,sha256=05pXvy-yr5t3I1m9JMn42Ilzpg7fa8IB2J8a3G7t1cU,274
|
|
4
4
|
isolate/logger.py,sha256=SehnK6rPx-HDqQHJ3sKWqhDGmD3fTDGBIkjnNQYnFJU,453
|
|
5
5
|
isolate/logs.py,sha256=R_AHUVYD18z_PhtK_mDWi9Gch79CxmwHY09hUDShtwg,2079
|
|
@@ -42,7 +42,7 @@ isolate/connections/ipc/agent.py,sha256=hGlL4x78FhRvMZ4DkVh3dk-EmWQqxHW4LIipgyOk
|
|
|
42
42
|
isolate/server/__init__.py,sha256=7R3GuWmxuqe0q28rVqETJN9OCrP_-Svjv9h0NR1GFL0,79
|
|
43
43
|
isolate/server/health_server.py,sha256=yN7F1Q28DdX8-Zk3gef7XcQEE25XwlHwzV5GBM75aQM,1249
|
|
44
44
|
isolate/server/interface.py,sha256=nGbjdxrN0p9m1LNdeds8NIoJOwPYW2NM6ktmbhfG4_s,687
|
|
45
|
-
isolate/server/server.py,sha256=
|
|
45
|
+
isolate/server/server.py,sha256=R9m_L2PMTYkXcu-7Jo3T-0RgUDFo4P2v4zbSUV-TXnU,16527
|
|
46
46
|
isolate/server/definitions/__init__.py,sha256=f_Q3pdjMuZrjgNlbM60btFKiB1Vg8cnVyKEbp0RmU0A,572
|
|
47
47
|
isolate/server/definitions/server.proto,sha256=GIou0c_RP4sVDxjdYQzUtSptOfJtvbgsU4MGhL9hsMQ,1372
|
|
48
48
|
isolate/server/definitions/server_pb2.py,sha256=SdbigRwRd1pU1yFwvyrA4vkmwQHPelPkQT7dtggKUlk,3194
|
|
@@ -53,9 +53,9 @@ isolate/server/health/health.proto,sha256=wE2_QD0OQAblKkEBG7sALLXEOj1mOLKG-FbC4t
|
|
|
53
53
|
isolate/server/health/health_pb2.py,sha256=onOdP3M4Tpqhqs2PlGcyfoKe2VVKUEDx5ALeRcObb9A,1899
|
|
54
54
|
isolate/server/health/health_pb2.pyi,sha256=CPyvxvDzra-1d-mBsukaJnscMUDBaqSACvo9LiXlFzo,2416
|
|
55
55
|
isolate/server/health/health_pb2_grpc.py,sha256=XgsULrnRBmYIqvKr8eI7bqs6NIea5A0kkqdOOc2JHBY,5303
|
|
56
|
-
isolate-0.13.
|
|
57
|
-
isolate-0.13.
|
|
58
|
-
isolate-0.13.
|
|
59
|
-
isolate-0.13.
|
|
60
|
-
isolate-0.13.
|
|
61
|
-
isolate-0.13.
|
|
56
|
+
isolate-0.13.7.dist-info/LICENSE,sha256=427vuyirL5scgBLqA9UWcdnxKrtSGc0u_JfUupk6lAA,11359
|
|
57
|
+
isolate-0.13.7.dist-info/METADATA,sha256=Q1Tt_5nNvlj-JifneuTBV4k36lHWcKu2Y4zp56HekpU,3209
|
|
58
|
+
isolate-0.13.7.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
|
|
59
|
+
isolate-0.13.7.dist-info/entry_points.txt,sha256=s3prh2EERaVCbL8R45tfY5WFPZ1TsYOsz305YR7s-Pc,360
|
|
60
|
+
isolate-0.13.7.dist-info/top_level.txt,sha256=W9QJBHcq5WXRkbOXf25bvftzFsOZZN4n1DAatdroZrs,8
|
|
61
|
+
isolate-0.13.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|