mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Apply suggestions from code review
Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
This commit is contained in:
parent
e3114d85b8
commit
2e798f9ee2
3 changed files with 10 additions and 9 deletions
|
|
@ -342,7 +342,7 @@ class HostBase(ABC):
|
|||
|
||||
This method is called before the context is changed in the host.
|
||||
|
||||
Can be overriden to implement host specific logic.
|
||||
Can be overridden to implement host specific logic.
|
||||
|
||||
Args:
|
||||
context_change_data (ContextChangeData): Object with information
|
||||
|
|
@ -356,7 +356,7 @@ class HostBase(ABC):
|
|||
|
||||
This method is called after the context is changed in the host.
|
||||
|
||||
Can be overriden to implement host specific logic.
|
||||
Can be overridden to implement host specific logic.
|
||||
|
||||
Args:
|
||||
context_change_data (ContextChangeData): Object with information
|
||||
|
|
|
|||
|
|
@ -822,7 +822,7 @@ class IWorkfileHost:
|
|||
) -> None:
|
||||
"""Copy workfile representation.
|
||||
|
||||
Use representation as source for the workfile.
|
||||
Use representation as a source for the workfile.
|
||||
|
||||
Arguments 'rootless_path', 'workfile_entities', 'project_entity'
|
||||
and 'anatomy' can be filled to enhance efficiency if you already
|
||||
|
|
@ -1162,7 +1162,7 @@ class IWorkfileHost:
|
|||
|
||||
This method is called before the workfile is opened in the host.
|
||||
|
||||
Can be overriden to implement host specific logic.
|
||||
Can be overridden to implement host specific logic.
|
||||
|
||||
Args:
|
||||
open_workfile_data (WorkfileOpenData): Context and path of
|
||||
|
|
@ -1178,7 +1178,7 @@ class IWorkfileHost:
|
|||
|
||||
This method is called after the workfile is opened in the host.
|
||||
|
||||
Can be overriden to implement host specific logic.
|
||||
Can be overridden to implement host specific logic.
|
||||
|
||||
Args:
|
||||
open_workfile_data (WorkfileOpenData): Context and path of
|
||||
|
|
@ -1194,7 +1194,7 @@ class IWorkfileHost:
|
|||
|
||||
This method is called before the workfile is saved in the host.
|
||||
|
||||
Can be overriden to implement host specific logic.
|
||||
Can be overridden to implement host specific logic.
|
||||
|
||||
Args:
|
||||
save_workfile_data (WorkfileSaveData): Workfile path with target
|
||||
|
|
@ -1210,7 +1210,7 @@ class IWorkfileHost:
|
|||
|
||||
This method is called after the workfile is saved in the host.
|
||||
|
||||
Can be overriden to implement host specific logic.
|
||||
Can be overridden to implement host specific logic.
|
||||
|
||||
Args:
|
||||
save_workfile_data (WorkfileSaveData): Workfile path with target
|
||||
|
|
@ -1232,7 +1232,7 @@ class IWorkfileHost:
|
|||
This method is called before the workfile is copied by host
|
||||
integration.
|
||||
|
||||
Can be overriden to implement host specific logic.
|
||||
Can be overridden to implement host specific logic.
|
||||
|
||||
Args:
|
||||
copy_workfile_data (WorkfileCopyData): Source and destination
|
||||
|
|
@ -1249,7 +1249,7 @@ class IWorkfileHost:
|
|||
This method is called after the workfile is copied by host
|
||||
integration.
|
||||
|
||||
Can be overriden to implement host specific logic.
|
||||
Can be overridden to implement host specific logic.
|
||||
|
||||
Args:
|
||||
copy_workfile_data (WorkfileCopyData): Source and destination
|
||||
|
|
|
|||
|
|
@ -200,6 +200,7 @@ def save_workfile_info(
|
|||
workfile_entities: Optional[list[dict[str, Any]]] = None,
|
||||
) -> dict[str, Any]:
|
||||
"""Save workfile info entity for a workfile path.
|
||||
|
||||
Args:
|
||||
project_name (str): The name of the project.
|
||||
task_id (str): Task id under which is workfile created.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue