Skip to content

Commit b035208

Browse files
committed
fix typehints
1 parent 1e6fde5 commit b035208

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

ayon_api/_api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8053,8 +8053,8 @@ def update_entity_list(
80538053
entity list.
80548054
data (Optional[dict[str, Any]]): Custom data of entity list.
80558055
tags (Optional[list[str]]): Entity list tags.
8056-
entity_list_folder_id (str | None | type[NOT_SET]): New
8057-
entity list folder id. Use 'None' to move entity list to root.
8056+
entity_list_folder_id (str | None | type[NOT_SET]): New entity
8057+
list folder id. Use ``None`` to move entity list to root.
80588058
Use 'NOT_SET' to keep current folder.
80598059
owner (Optional[str]): New owner of the list.
80608060
active (Optional[bool]): Change active state of entity list.
@@ -8331,7 +8331,7 @@ def create_entity_list_folder(
83318331
parent_id: str | None = None,
83328332
color: str | None = None,
83338333
icon: str | None = None,
8334-
scope: list[EntityListScope] | Non] = None,
8334+
scope: list[EntityListScope] | None = None,
83358335
data: dict[str, Any] | None = None,
83368336
access: dict[str, Any] | None = None,
83378337
entity_list_folder_id: str | None = None,
@@ -8379,7 +8379,7 @@ def update_entity_list_folder(
83798379
parent_id: str | None | type[NOT_SET] = NOT_SET,
83808380
color: str | None = None,
83818381
icon: str | None = None,
8382-
scope: list[EntityListScope] | Non] = None,
8382+
scope: list[EntityListScope] | None = None,
83838383
data: dict[str, Any] | None = None,
83848384
access: dict[str, Any] | None = None,
83858385
) -> None:

ayon_api/_api_helpers/lists.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ def update_entity_list(
243243
entity list.
244244
data (Optional[dict[str, Any]]): Custom data of entity list.
245245
tags (Optional[list[str]]): Entity list tags.
246-
entity_list_folder_id (str | None | type[NOT_SET]): New
247-
entity list folder id. Use 'None' to move entity list to root.
246+
entity_list_folder_id (str | None | type[NOT_SET]): New entity
247+
list folder id. Use ``None`` to move entity list to root.
248248
Use 'NOT_SET' to keep current folder.
249249
owner (Optional[str]): New owner of the list.
250250
active (Optional[bool]): Change active state of entity list.

0 commit comments

Comments
 (0)