mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
add signature to the original function
This commit is contained in:
parent
8c61e65521
commit
efcd4425b7
1 changed files with 12 additions and 2 deletions
|
|
@ -829,7 +829,12 @@ def _get_representation_path_decorator(func):
|
|||
|
||||
|
||||
@_get_representation_path_decorator
|
||||
def get_representation_path(*args, **kwargs) -> TemplateResult:
|
||||
def get_representation_path(project_name: str,
|
||||
repre_entity: dict[str, Any],
|
||||
*,
|
||||
anatomy: Optional[Anatomy] = None,
|
||||
project_entity: Optional[dict[str, Any]] = None,
|
||||
) -> TemplateResult:
|
||||
"""Get filled representation path.
|
||||
|
||||
Args:
|
||||
|
|
@ -846,7 +851,12 @@ def get_representation_path(*args, **kwargs) -> TemplateResult:
|
|||
InvalidRepresentationContext: When representation data are probably
|
||||
invalid or not available.
|
||||
"""
|
||||
pass
|
||||
return _get_representation_path(
|
||||
project_name,
|
||||
repre_entity,
|
||||
anatomy=anatomy,
|
||||
project_entity=project_entity,
|
||||
)
|
||||
|
||||
|
||||
def get_representation_path_by_names(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue