Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ingest): support pydantic v2 with properties subcommand #10256

Merged
merged 2 commits into from
Apr 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,17 @@ def validate_allowed_types(cls, v):


class StructuredProperties(ConfigModel):
id: Optional[str]
urn: Optional[str]
qualified_name: Optional[str]
id: Optional[str] = None
urn: Optional[str] = None
qualified_name: Optional[str] = None
type: str
value_entity_types: Optional[List[str]]
description: Optional[str]
display_name: Optional[str]
entity_types: Optional[List[str]]
cardinality: Optional[str]
allowed_values: Optional[List[AllowedValue]]
type_qualifier: Optional[TypeQualifierAllowedTypes]
value_entity_types: Optional[List[str]] = None
description: Optional[str] = None
display_name: Optional[str] = None
entity_types: Optional[List[str]] = None
cardinality: Optional[str] = None
allowed_values: Optional[List[AllowedValue]] = None
type_qualifier: Optional[TypeQualifierAllowedTypes] = None

@property
def fqn(self) -> str:
Expand Down
Loading