Skip to content

Commit

Permalink
LOC ingestion
Browse files Browse the repository at this point in the history
  • Loading branch information
docuracy committed Jan 28, 2025
1 parent c901873 commit c5b5ff2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vespa/repository/api/ingestion/subtransformers/loc/links.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@ def _check_url(self, url: str) -> None:
def process(self) -> List[Dict[str, Any]]:

# Populate self.uris using self.linkfacets from self.graph
logger.info(f"Processing graph: {self.graph}")
for item in self.graph:
for facet in self.linkfacets:
# Check if the facet exists in the item and extract the URIs
if facet in item:
if f"madsrdf:{facet}" in item:
logger.info(f"Processing facet: {facet}")
facet_value = item[facet]
if isinstance(facet_value, dict):
Expand Down

0 comments on commit c5b5ff2

Please sign in to comment.