This commit is contained in:
2026-01-05 07:51:19 -08:00
parent 8545367e28
commit 1f765cffda
32 changed files with 3447 additions and 3250 deletions

View File

@@ -26,8 +26,7 @@ class SearchResult:
def to_dict(self) -> Dict[str, Any]:
"""Convert to dictionary for pipeline processing."""
return {
out = {
"table": self.table,
"title": self.title,
"path": self.path,
@@ -40,6 +39,15 @@ class SearchResult:
"full_metadata": self.full_metadata,
}
try:
url_value = getattr(self, "url", None)
if url_value is not None:
out["url"] = url_value
except Exception:
pass
return out
class Provider(ABC):
"""Unified provider base class.