Skip to content

Commit f7b39f0

Browse files
authored
IHS-163 Add required change for IFC-1820 (display_label) (#556)
*Also fix typo which probably has been there for a while
1 parent 2a0c092 commit f7b39f0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

infrahub_sdk/schema/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ class BaseSchema(BaseModel):
267267
description: str | None = None
268268
include_in_menu: bool | None = None
269269
menu_placement: str | None = None
270+
display_label: str | None = None
270271
display_labels: list[str] | None = None
271272
human_friendly_id: list[str] | None = None
272273
icon: str | None = None

tests/unit/sdk/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ async def rfile_schema() -> NodeSchemaAPI:
862862
"name": "TransformJinja2",
863863
"namespace": "Core",
864864
"default_filter": "name__value",
865-
"display_label": ["label__value"],
865+
"display_labels": ["label__value"],
866866
"branch": BranchSupportType.AWARE.value,
867867
"attributes": [
868868
{"name": "name", "kind": "String", "unique": True},

0 commit comments

Comments
 (0)