Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
steinitzu committed Oct 10, 2024
1 parent ccbf816 commit bb49c49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlt/extract/hints.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def apply_hints(
else:
# Replace existin refs for same table
new_references = t.get("references") or []
ref_dict = {r["referenced_table"]: r for r in new_references}
ref_dict = {r["referenced_table"]: r for r in new_references} # type: ignore[union-attr]
for ref in references:
ref_dict[ref["referenced_table"]] = ref
t["references"] = list(ref_dict.values())
Expand Down

0 comments on commit bb49c49

Please sign in to comment.