Skip to content

Commit 7613bfc

Browse files
committed
Merge branch 'develop'
2 parents a6edd07 + 9f5dd61 commit 7613bfc

13 files changed

Lines changed: 1534 additions & 304 deletions

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Python client for connection server. Client must be (at least for some time) Pyt
33

44
AYON Python api should support connection to server with raw REST functions and prepared functionality for work with entities. Must not contain only functionality that can be used with core server functionality.
55

6-
Module support singleton connection which is using `AYON_SERVER_URL` and `AYON_TOKEN` environment variables as source for connection. The singleton connection is using `ServerAPI` object. There can be created multiple connection to different server at one time, for that purpose use `ServerAPIBase` object.
6+
Module support singleton connection which is using `AYON_SERVER_URL` and `AYON_API_KEY` environment variables as source for connection. The singleton connection is using `ServerAPI` object. There can be created multiple connection to different server at one time, for that purpose use `ServerAPIBase` object.
77

88
## Install
99
AYON python api is available on PyPi:
@@ -49,8 +49,16 @@ If pip complain that `ayon-python-api` is already installed just uninstall exist
4949
- Add all available CRUD operation on entities using REST
5050
- Add folder and task changes to operations
5151
- Enhance entity hub
52+
- Missing docstrings in EntityHub -> especially entity arguments are missing
53+
- Better order of arguments for entity classes
54+
- Move entity hub to first place
55+
- Skip those which are invalid for the entity and fake it for base or remove it from base
5256
- Entity hub should use operations session to do changes
5357
- Entity hub could also handle 'subset', 'version' and 'representation' entities
54-
- Missing docstrings in EntityHub -> especially entity arguments are missing
55-
- Pass docstrings and arguments definitions from `ServerAPI` methods to global functions
58+
- Missing 'statuses' on project
59+
- Missing 'status' on folders
60+
- Missing assignees on tasks
61+
- Pass docstrings and arguments definitions from `ServerAPI` methods to global functions
62+
- Split `ServerAPI` into smaller chunks (somehow), the class has 4k+ lines of code
63+
- Add .pyi stub for ServerAPI
5664
- Missing websockets connection

ayon_api/__init__.py

Lines changed: 52 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
query_graphql,
5757

5858
get_addons_info,
59+
get_addon_url,
5960
download_addon_private_file,
6061

6162
get_dependencies_info,
@@ -121,11 +122,35 @@
121122
get_representation_parents,
122123
get_repre_ids_by_context_filters,
123124

124-
create_thumbnail,
125125
get_thumbnail,
126126
get_folder_thumbnail,
127127
get_version_thumbnail,
128128
get_workfile_thumbnail,
129+
create_thumbnail,
130+
update_thumbnail,
131+
132+
get_full_link_type_name,
133+
get_link_types,
134+
get_link_type,
135+
create_link_type,
136+
delete_link_type,
137+
make_sure_link_type_exists,
138+
139+
create_link,
140+
delete_link,
141+
get_entities_links,
142+
get_folder_links,
143+
get_folders_links,
144+
get_task_links,
145+
get_tasks_links,
146+
get_subset_links,
147+
get_subsets_links,
148+
get_version_links,
149+
get_versions_links,
150+
get_representations_links,
151+
get_representation_links,
152+
153+
send_batch_operations,
129154
)
130155

131156

@@ -184,6 +209,7 @@
184209
"query_graphql",
185210

186211
"get_addons_info",
212+
"get_addon_url",
187213
"download_addon_private_file",
188214

189215
"get_dependencies_info",
@@ -248,9 +274,33 @@
248274
"get_representation_parents",
249275
"get_repre_ids_by_context_filters",
250276

251-
"create_thumbnail",
252277
"get_thumbnail",
253278
"get_folder_thumbnail",
254279
"get_version_thumbnail",
255280
"get_workfile_thumbnail",
281+
"create_thumbnail",
282+
"update_thumbnail",
283+
284+
"get_full_link_type_name",
285+
"get_link_types",
286+
"get_link_type",
287+
"create_link_type",
288+
"delete_link_type",
289+
"make_sure_link_type_exists",
290+
291+
"create_link",
292+
"delete_link",
293+
"get_entities_links",
294+
"get_folder_links",
295+
"get_folders_links",
296+
"get_task_links",
297+
"get_tasks_links",
298+
"get_subset_links",
299+
"get_subsets_links",
300+
"get_version_links",
301+
"get_versions_links",
302+
"get_representations_links",
303+
"get_representation_links",
304+
305+
"send_batch_operations",
256306
)

0 commit comments

Comments
 (0)