From 541a1a4837999f09e354cac6e86337554deb85b6 Mon Sep 17 00:00:00 2001 From: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> Date: Fri, 6 Dec 2024 12:15:40 +0100 Subject: [PATCH] add missing import --- ayon_api/_api.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/ayon_api/_api.py b/ayon_api/_api.py index ba3efa3f3..8896311d1 100644 --- a/ayon_api/_api.py +++ b/ayon_api/_api.py @@ -30,6 +30,7 @@ NOT_SET, SortOrder, TransferProgress, + ThumbnailContent, get_default_settings_variant as _get_default_settings_variant, ) @@ -5690,7 +5691,7 @@ def get_workfile_info_by_id( def get_thumbnail_by_id( project_name: str, thumbnail_id: str, -) -> "ayon_api.utils.ThumbnailContent": +) -> ThumbnailContent: """Get thumbnail from server by id. Permissions of thumbnails are related to entities so thumbnails must @@ -5727,7 +5728,7 @@ def get_thumbnail( entity_type: str, entity_id: str, thumbnail_id: Optional[str] = None, -) -> "ayon_api.utils.ThumbnailContent": +) -> ThumbnailContent: """Get thumbnail from server. Permissions of thumbnails are related to entities so thumbnails must @@ -5767,7 +5768,7 @@ def get_folder_thumbnail( project_name: str, folder_id: str, thumbnail_id: Optional[str] = None, -) -> "ayon_api.utils.ThumbnailContent": +) -> ThumbnailContent: """Prepared method to receive thumbnail for folder entity. Args: @@ -5793,7 +5794,7 @@ def get_version_thumbnail( project_name: str, version_id: str, thumbnail_id: Optional[str] = None, -) -> "ayon_api.utils.ThumbnailContent": +) -> ThumbnailContent: """Prepared method to receive thumbnail for version entity. Args: @@ -5820,7 +5821,7 @@ def get_workfile_thumbnail( project_name: str, workfile_id: str, thumbnail_id: Optional[str] = None, -) -> "ayon_api.utils.ThumbnailContent": +) -> ThumbnailContent: """Prepared method to receive thumbnail for workfile entity. Args: