Skip to content

Commit bbb8860

Browse files
authored
Merge pull request #262 from ynput/enhancement/259-ay-7977_get_list-api-call-for-lists
Lists: Added api calls for list entities
2 parents 69d5f09 + cc326e8 commit bbb8860

File tree

9 files changed

+919
-5
lines changed

9 files changed

+919
-5
lines changed

automated_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
ServerAPI,
3535
_PLACEHOLDER,
3636
_ActionsAPI,
37+
_ListsAPI,
3738
)
3839
from ayon_api.utils import NOT_SET # noqa: E402
3940

@@ -294,6 +295,7 @@ def prepare_api_functions(api_globals):
294295
functions = []
295296
_items = list(ServerAPI.__dict__.items())
296297
_items.extend(_ActionsAPI.__dict__.items())
298+
_items.extend(_ListsAPI.__dict__.items())
297299
for attr_name, attr in _items:
298300
if (
299301
attr_name.startswith("_")

ayon_api/__init__.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,18 @@
249249
set_action_config,
250250
take_action,
251251
abort_action,
252+
get_entity_lists,
253+
get_entity_list_rest,
254+
get_entity_list_by_id,
255+
create_entity_list,
256+
update_entity_list,
257+
delete_entity_list,
258+
get_entity_list_attribute_definitions,
259+
set_entity_list_attribute_definitions,
260+
create_entity_list_item,
261+
update_entity_list_items,
262+
update_entity_list_item,
263+
delete_entity_list_item,
252264
)
253265

254266

@@ -501,4 +513,16 @@
501513
"set_action_config",
502514
"take_action",
503515
"abort_action",
516+
"get_entity_lists",
517+
"get_entity_list_rest",
518+
"get_entity_list_by_id",
519+
"create_entity_list",
520+
"update_entity_list",
521+
"delete_entity_list",
522+
"get_entity_list_attribute_definitions",
523+
"set_entity_list_attribute_definitions",
524+
"create_entity_list_item",
525+
"update_entity_list_items",
526+
"update_entity_list_item",
527+
"delete_entity_list_item",
504528
)

0 commit comments

Comments
 (0)