Skip to content

Commit

Permalink
fix(ingest): support pydantic v2 in file-based lineage (#12723)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsheth2 authored Mar 2, 2025
1 parent 3e1b20c commit a19edde
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ def downstream_type_must_be_supported(cls, v: str) -> str:

class EntityNodeConfig(ConfigModel):
entity: EntityConfig
upstream: Optional[List["EntityNodeConfig"]]
fineGrainedLineages: Optional[List[FineGrainedLineageConfig]]
upstream: Optional[List["EntityNodeConfig"]] = None
fineGrainedLineages: Optional[List[FineGrainedLineageConfig]] = None


# https://pydantic-docs.helpmanual.io/usage/postponed_annotations/ required for when you reference a model within itself
Expand Down

0 comments on commit a19edde

Please sign in to comment.