Skip to content

Commit 81fdc86

Browse files
committed
update public api
1 parent f7e1b61 commit 81fdc86

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

ayon_api/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
get_server_version,
5656
get_server_version_tuple,
5757
is_product_base_type_supported,
58+
links_graphql_support_data,
5859
get_users,
5960
get_user_by_name,
6061
get_user,
@@ -339,6 +340,7 @@
339340
"get_server_version",
340341
"get_server_version_tuple",
341342
"is_product_base_type_supported",
343+
"links_graphql_support_data",
342344
"get_users",
343345
"get_user_by_name",
344346
"get_user",

ayon_api/_api.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,13 @@ def is_product_base_type_supported() -> bool:
729729
return con.is_product_base_type_supported()
730730

731731

732+
def links_graphql_support_data() -> bool:
733+
"""Links data can be received by GraphQl.
734+
"""
735+
con = get_server_api_connection()
736+
return con.links_graphql_support_data()
737+
738+
732739
def get_users(
733740
project_name: Optional[str] = None,
734741
usernames: Optional[Iterable[str]] = None,

0 commit comments

Comments
 (0)