Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
ILSparkle committed Dec 11, 2024
1 parent 2758a69 commit 29c287c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/cardinal/graph/neo4j.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,13 @@ def clustering(self) -> None:

def community_schema(self) -> dict[str, T]:
results = defaultdict(
lambda: dict(
level=None,
title=None,
edges=set(),
nodes=set(),
sub_communities=[],
)
lambda: {
'level': None,
'title': None,
'edges': set(),
'nodes': set(),
'sub_communities':[]
}
)

with self.driver.session() as session:
Expand Down

0 comments on commit 29c287c

Please sign in to comment.