Skip to content

Commit 52683da

Browse files
committed
Removed List import
1 parent 82b72d8 commit 52683da

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

arango/formatter.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, List, Sequence
1+
from typing import Any, Sequence
22

33
from arango.typings import Headers, Json
44

@@ -1104,18 +1104,17 @@ def format_pregel_job_data(body: Json) -> Json:
11041104
result["vertex_count"] = body["vertexCount"]
11051105
if "edgeCount" in body:
11061106
result["edge_count"] = body["edgeCount"]
1107-
1108-
# The detail element was introduced in 3.10
1109-
if "detail" in body:
1110-
result["detail"] = body["detail"]
1111-
11121107
if "aggregators" in body:
11131108
result["aggregators"] = body["aggregators"]
11141109
if "receivedCount" in body:
11151110
result["received_count"] = body["receivedCount"]
11161111
if "sendCount" in body:
11171112
result["send_count"] = body["sendCount"]
11181113

1114+
# The detail element was introduced in 3.10
1115+
if "detail" in body:
1116+
result["detail"] = body["detail"]
1117+
11191118
return verify_format(body, result)
11201119

11211120

0 commit comments

Comments
 (0)