Skip to content

Commit c23873c

Browse files
committed
Fix checkstyle
1 parent 12cc45f commit c23873c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graphdatascience/procedure_surface/arrow/node_property_endpoints.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def run_job_and_get_summary(self, endpoint: str, G: GraphV2, config: dict[str, A
3535

3636
job_id = JobClient.run_job_and_wait(self._arrow_client, endpoint, config, show_progress)
3737
result = JobClient.get_summary(self._arrow_client, job_id)
38-
if config := result.get("configuration"):
38+
if config := result.get("configuration", None):
3939
self._drop_write_internals(config)
4040
return result
4141

@@ -52,7 +52,7 @@ def run_job_and_mutate(
5252
computation_result["nodePropertiesWritten"] = mutate_result.node_properties_written
5353
computation_result["mutateMillis"] = mutate_result.mutate_millis
5454

55-
if config := computation_result.get("configuration"):
55+
if (config := computation_result.get("configuration", None)) is not None:
5656
config["mutateProperty"] = mutate_property
5757
self._drop_write_internals(config)
5858

0 commit comments

Comments
 (0)