mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
- Unifies all subprocess calls. - Validates ffmpeg process. - Feedback the errored subprocess output.
87 lines
1.7 KiB
Python
87 lines
1.7 KiB
Python
from .plugin import (
|
|
|
|
Extractor,
|
|
|
|
ValidatePipelineOrder,
|
|
ValidateContentsOrder,
|
|
ValidateSceneOrder,
|
|
ValidateMeshOrder,
|
|
ValidationException
|
|
)
|
|
|
|
# temporary fix, might
|
|
from .action import (
|
|
get_errored_instances_from_context,
|
|
RepairAction,
|
|
RepairContextAction
|
|
)
|
|
|
|
from pypeapp import Logger
|
|
|
|
|
|
from .templates import (
|
|
get_project_name,
|
|
get_project_code,
|
|
get_hierarchy,
|
|
get_asset,
|
|
get_task,
|
|
set_avalon_workdir,
|
|
get_version_from_path,
|
|
get_workdir_template,
|
|
set_hierarchy,
|
|
set_project_code
|
|
)
|
|
|
|
from .lib import (
|
|
version_up,
|
|
get_handle_irregular,
|
|
get_project_data,
|
|
get_asset_data,
|
|
modified_environ,
|
|
add_tool_to_environment,
|
|
get_data_hierarchical_attr,
|
|
get_avalon_project_template
|
|
)
|
|
|
|
# Special naming case for subprocess since its a built-in method.
|
|
from .lib import _subprocess as subprocess
|
|
|
|
__all__ = [
|
|
# plugin classes
|
|
"Extractor",
|
|
# ordering
|
|
"ValidatePipelineOrder",
|
|
"ValidateContentsOrder",
|
|
"ValidateSceneOrder",
|
|
"ValidateMeshOrder",
|
|
# action
|
|
"get_errored_instances_from_context",
|
|
"RepairAction",
|
|
"RepairContextAction",
|
|
|
|
"Logger",
|
|
|
|
"ValidationException",
|
|
|
|
# get contextual data
|
|
"version_up",
|
|
"get_handle_irregular",
|
|
"get_project_data",
|
|
"get_asset_data",
|
|
"get_project_name",
|
|
"get_project_code",
|
|
"get_hierarchy",
|
|
"get_asset",
|
|
"get_task",
|
|
"set_avalon_workdir",
|
|
"get_version_from_path",
|
|
"get_workdir_template",
|
|
"modified_environ",
|
|
"add_tool_to_environment",
|
|
"set_hierarchy",
|
|
"set_project_code",
|
|
"get_data_hierarchical_attr",
|
|
"get_avalon_project_template",
|
|
"subprocess"
|
|
|
|
]
|