formatting fixes

This commit is contained in:
Jakub Trllo 2025-06-26 10:20:56 +02:00
parent 646f3bedd4
commit 91377aa400
2 changed files with 6 additions and 8 deletions

View file

@ -182,7 +182,6 @@ class ListPublishedWorkfilesOptionalData(_WorkfileOptionalData):
version_entities = list(ayon_api.get_versions(
project_name,
product_ids=product_ids,
task_ids=task_filters,
fields={"id", "author", "taskId"},
))
@ -444,7 +443,6 @@ def get_list_published_workfiles_context(
repre_entities,
) = prepared_data.get_entities(project_name, folder_id)
return ListPublishedWorkfilesContext(
data_version=prepared_data.data_version,
project_name=project_name,
@ -1598,8 +1596,8 @@ class IWorkfileHost:
Can be overridden to implement host specific logic.
Args:
save_workfile_context (SaveWorkfileContext): Workfile path with target
folder and task context.
save_workfile_context (SaveWorkfileContext): Workfile path with
target folder and task context.
"""
pass
@ -1614,8 +1612,8 @@ class IWorkfileHost:
Can be overridden to implement host specific logic.
Args:
save_workfile_context (SaveWorkfileContext): Workfile path with target
folder and task context.
save_workfile_context (SaveWorkfileContext): Workfile path with
target folder and task context.
"""
workdir = os.path.dirname(save_workfile_context.dst_path)

View file

@ -473,8 +473,8 @@ def copy_and_open_workfile_representation(
version (Optional[int]): Workfile version.
comment (optional[str]): Workfile comment.
description (Optional[str]): Workfile description.
prepared_data (Optional[CopyPublishedWorkfileOptionalData]): Prepared data
for speed enhancements.
prepared_data (Optional[CopyPublishedWorkfileOptionalData]): Prepared
data for speed enhancements.
"""
from ayon_core.pipeline.context_tools import registered_host