Skip to content

Commit

Permalink
Merge pull request #91 from ynput/bugfix/links-docstring-fix
Browse files Browse the repository at this point in the history
Docstring: Fix 'get_entities_links' docstring
  • Loading branch information
iLLiCiTiT authored Sep 7, 2023
2 parents 1ac320b + 9a79565 commit 0e7517c
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions ayon_api/server_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5863,19 +5863,22 @@ def get_entities_links(
"""Helper method to get links from server for entity types.
Example output:
[
{
"id": "59a212c0d2e211eda0e20242ac120002",
"linkType": "reference",
"description": "reference link between folders",
"projectName": "my_project",
"author": "frantadmin",
"entityId": "b1df109676db11ed8e8c6c9466b19aa8",
"entityType": "folder",
"direction": "out"
},
{
"59a212c0d2e211eda0e20242ac120001": [
{
"id": "59a212c0d2e211eda0e20242ac120002",
"linkType": "reference",
"description": "reference link between folders",
"projectName": "my_project",
"author": "frantadmin",
"entityId": "b1df109676db11ed8e8c6c9466b19aa8",
"entityType": "folder",
"direction": "out"
},
...
],
...
]
}
Args:
project_name (str): Project where links are.
Expand Down

0 comments on commit 0e7517c

Please sign in to comment.