Skip to content

Commit 8a4d73c

Browse files
committed
fix available attribs for list entities
1 parent bf31c85 commit 8a4d73c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ayon_api/server_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1956,6 +1956,8 @@ def get_default_fields_for_type(self, entity_type: str) -> set[str]:
19561956

19571957
elif entity_type == "entityList":
19581958
entity_type_defaults = set(DEFAULT_ENTITY_LIST_FIELDS)
1959+
# Attributes scope is 'list'
1960+
entity_type = "list"
19591961

19601962
else:
19611963
raise ValueError(f"Unknown entity type \"{entity_type}\"")

0 commit comments

Comments
 (0)