Skip to content

Commit

Permalink
Chore: fix arg name in Node Field definition (#3530)
Browse files Browse the repository at this point in the history
  • Loading branch information
treysp authored Dec 17, 2024
1 parent 48680db commit 2102cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlmesh/core/snapshot/definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
Interval = t.Tuple[int, int]
Intervals = t.List[Interval]

Node = t.Annotated[t.Union[Model, StandaloneAudit], Field(descriminator="source_type")]
Node = t.Annotated[t.Union[Model, StandaloneAudit], Field(discriminator="source_type")]


class SnapshotChangeCategory(IntEnum):
Expand Down

0 comments on commit 2102cc1

Please sign in to comment.