Skip to content

Commit

Permalink
refactor: indentation and whitespace nits
Browse files Browse the repository at this point in the history
  • Loading branch information
lxobr committed Dec 16, 2024
1 parent b78a011 commit 4023b4d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cognee/tasks/summarization/summarize_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@


async def summarize_code(
code_graph_nodes: list[DataPoint],
summarization_model: Type[BaseModel],
code_graph_nodes: list[DataPoint],
summarization_model: Type[BaseModel],
) -> list[DataPoint]:
if len(code_graph_nodes) == 0:
return
Expand All @@ -35,6 +35,7 @@ async def summarize_code(

if not isinstance(node, CodeFile):
continue

yield CodeSummary(
id=uuid5(node.id, "CodeSummary"),
made_from=node,
Expand Down

0 comments on commit 4023b4d

Please sign in to comment.