chore: ran linting

This commit is contained in:
Anish Sarkar 2026-02-26 01:29:25 +05:30
parent 380c1c3877
commit 25df3dff64
3 changed files with 17 additions and 10 deletions

View file

@ -1303,10 +1303,9 @@ class ConnectorService:
sources_list = self._build_chunk_sources_from_documents(
github_docs,
description_fn=lambda chunk, _doc_info, metadata: metadata.get(
"description"
)
or chunk.get("content", ""),
description_fn=lambda chunk, _doc_info, metadata: (
metadata.get("description") or chunk.get("content", "")
),
url_fn=lambda _doc_info, metadata: metadata.get("url", "") or "",
)