chore(lint): ruff checks

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2025-11-26 13:22:31 -08:00
parent 34fbee0c28
commit 8f30cfd69a
8 changed files with 44 additions and 26 deletions

View file

@ -118,7 +118,9 @@ class ConnectorService:
# Extract webcrawler-specific metadata
url = metadata.get("source", metadata.get("url", ""))
title = document.get("title", metadata.get("title", "Untitled Document"))
title = document.get(
"title", metadata.get("title", "Untitled Document")
)
description = metadata.get("description", "")
language = metadata.get("language", "")
last_crawled_at = metadata.get("last_crawled_at", "")
@ -2573,4 +2575,4 @@ class ConnectorService:
"sources": sources_list,
}
return result_object, elasticsearch_chunks
return result_object, elasticsearch_chunks