Skip to content
Draft
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions api/folders/list_folders.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ class FolderListItem(OPModel):
status: str
attrib: dict[str, Any] | None = None
own_attrib: list[str] | None = None
active: bool = True
created_at: datetime.datetime
updated_at: datetime.datetime

Expand Down
2 changes: 2 additions & 0 deletions ayon_server/helpers/hierarchy_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ async def rebuild_hierarchy_cache(project_name: str) -> list[dict[str, Any]]:
f.status,
f.attrib,
f.tags,
f.active,
f.created_at,
f.updated_at,
ea.attrib as all_attrib,
Expand Down Expand Up @@ -99,6 +100,7 @@ async def rebuild_hierarchy_cache(project_name: str) -> list[dict[str, Any]]:
"own_attrib": list(row["attrib"].keys()),
"has_reviewables": row["has_reviewables"],
"has_versions": row["has_versions"],
"active": row["active"],
"created_at": row["created_at"],
"updated_at": row["updated_at"],
}
Expand Down
Loading