fix function name

This commit is contained in:
Jakub Trllo 2022-09-05 12:20:16 +02:00
parent 0015b477eb
commit 81d8a53dba
2 changed files with 4 additions and 4 deletions

View file

@ -48,7 +48,7 @@ from .entities import (
from .entity_links import (
get_linked_asset_ids,
get_linked_assets,
get_linked_representation_ids,
get_linked_representation_id,
)
from .operations import (
@ -102,7 +102,7 @@ __all__ = (
"get_linked_asset_ids",
"get_linked_assets",
"get_linked_representation_ids",
"get_linked_representation_id",
"create_project",
)

View file

@ -1061,14 +1061,14 @@ def get_linked_ids_for_representations(
Function will be removed after release version 3.16.*
"""
from openpype.client import get_linked_representation_ids
from openpype.client import get_linked_representation_id
if not isinstance(repre_ids, list):
repre_ids = [repre_ids]
output = []
for repre_id in repre_ids:
output.extend(get_linked_representation_ids(
output.extend(get_linked_representation_id(
project_name,
repre_id=repre_id,
link_type=link_type,