Skip to content

Commit

Permalink
fix(ingest): support pydantic v2 in file-based lineage (datahub-proje…
Browse files Browse the repository at this point in the history
  • Loading branch information
hsheth2 authored and PeteMango committed Mar 3, 2025
1 parent ace25f2 commit 92372f5
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 92372f5

Please sign in to comment.