Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
epinzur committed Oct 10, 2024
1 parent a14af29 commit 6dc61b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/astradb/langchain_astradb/graph_vectorstores.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ async def fetch_initial_candidates() -> None:
retrieved_docs[doc_id] = doc

if doc_id not in outgoing_links_map:
node = self._doc_to_node(doc)
node = _doc_to_node(doc)
outgoing_links_map[doc_id] = _outgoing_links(node=node)
candidates[doc_id] = embedding
helper.add_candidates(candidates)
Expand Down Expand Up @@ -986,7 +986,7 @@ async def _get_outgoing_links(self, source_ids: Iterable[str]) -> set[Link]:

for doc in docs:
if doc is not None:
node = self._doc_to_node(doc=doc)
node = _doc_to_node(doc=doc)
links.update(_outgoing_links(node=node))

return links
Expand Down

0 comments on commit 6dc61b8

Please sign in to comment.