Skip to content

Commit 1457340

Browse files
committed
Code style
1 parent fc5d165 commit 1457340

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

graphdatascience/query_runner/arrow_graph_constructor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def run(self, node_dfs: list[DataFrame], relationship_dfs: list[DataFrame]) -> N
6565
try:
6666
self._client.abort(self._graph_name)
6767
except Exception as abort_exception:
68-
if not "No arrow process" in str(abort_exception):
68+
if "No arrow process" not in str(abort_exception):
6969
self._logger.warning(f"error aborting graph creation: {abort_exception}")
7070
raise e
7171

graphdatascience/query_runner/gds_arrow_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ def send_with_retry() -> dict[str, Any]:
642642
try:
643643
result = client.do_action(
644644
action=flight.Action(action_type, json.dumps(meta_data).encode("utf-8")),
645-
options=flight.FlightCallOptions(timeout=10.0)
645+
options=flight.FlightCallOptions(timeout=10.0),
646646
)
647647

648648
# Consume result fully to sanity check and avoid cancelled streams

0 commit comments

Comments
 (0)