Skip to content

Commit

Permalink
Fix: make the lineage sources dict type covariant (#3122)
Browse files Browse the repository at this point in the history
  • Loading branch information
georgesittas committed Mar 11, 2024
1 parent c333017 commit 12d72a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlglot/lineage.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def lineage(
column: str | exp.Column,
sql: str | exp.Expression,
schema: t.Optional[t.Dict | Schema] = None,
sources: t.Optional[t.Dict[str, str | exp.Query]] = None,
sources: t.Optional[t.Mapping[str, str | exp.Query]] = None,
dialect: DialectType = None,
**kwargs,
) -> Node:
Expand Down

0 comments on commit 12d72a6

Please sign in to comment.