remove invalid returns typehints

This commit is contained in:
Jakub Trllo 2025-06-16 14:42:04 +02:00
parent 2e798f9ee2
commit 34d9289f3c

View file

@ -334,7 +334,7 @@ def save_current_workfile_to(
project_entity: Optional[dict[str, Any]] = None,
project_settings: Optional[dict[str, Any]] = None,
anatomy: Optional["Anatomy"] = None,
):
) -> None:
"""Save current workfile to new location or context.
Args:
@ -355,9 +355,6 @@ def save_current_workfile_to(
anatomy (Optional[Anatomy]): Project anatomy used for rootless
path calculation.
Returns:
dict[str, Any]: Workfile info entity.
"""
from ayon_core.pipeline.context_tools import registered_host
@ -392,7 +389,7 @@ def copy_and_open_workfile(
project_entity: Optional[dict[str, Any]] = None,
project_settings: Optional[dict[str, Any]] = None,
anatomy: Optional["Anatomy"] = None,
):
) -> None:
"""Copy workfile to new location and open it.
Args:
@ -414,9 +411,6 @@ def copy_and_open_workfile(
anatomy (Optional[Anatomy]): Project anatomy used for rootless
path calculation.
Returns:
dict[str, Any]: Workfile info entity.
"""
from ayon_core.pipeline.context_tools import registered_host
@ -456,7 +450,7 @@ def copy_and_open_workfile_representation(
project_settings: Optional[dict[str, Any]] = None,
anatomy: Optional["Anatomy"] = None,
src_anatomy: Optional["Anatomy"] = None,
):
) -> None:
"""Copy workfile to new location and open it.
Args:
@ -483,9 +477,6 @@ def copy_and_open_workfile_representation(
anatomy (Optional[Anatomy]): Project anatomy used for rootless
path calculation.
Returns:
dict[str, Any]: Workfile info entity.
"""
from ayon_core.pipeline.context_tools import registered_host