Skip to content
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
2 changes: 2 additions & 0 deletions infrahub_sdk/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@
max_length: Optional[int] = None
min_length: Optional[int] = None
regex: Optional[str] = None
order_weight: Optional[int] = None

Check warning on line 294 in infrahub_sdk/schema.py

View check run for this annotation

Codecov / codecov/patch

infrahub_sdk/schema.py#L294

Added line #L294 was not covered by tests


class RelationshipSchema(BaseModel):
Expand All @@ -308,6 +309,7 @@
optional: bool = True
read_only: bool = False
filters: list[FilterSchema] = Field(default_factory=list)
order_weight: Optional[int] = None

Check warning on line 312 in infrahub_sdk/schema.py

View check run for this annotation

Codecov / codecov/patch

infrahub_sdk/schema.py#L312

Added line #L312 was not covered by tests


class BaseNodeSchema(BaseModel):
Expand Down