added 'get_workfir_data' to openpype api

This commit is contained in:
iLLiCiTiT 2021-11-19 15:28:29 +01:00
parent 103de741de
commit acde01d7ef
2 changed files with 2 additions and 0 deletions

View file

@ -17,6 +17,7 @@ from .lib import (
version_up,
get_asset,
get_hierarchy,
get_workdir_data,
get_version_from_path,
get_last_version_from_path,
get_app_environments_for_context,

View file

@ -465,6 +465,7 @@ def get_workfile_template_key(
return default
# TODO rename function as is not just "work" specific
def get_workdir_data(project_doc, asset_doc, task_name, host_name):
"""Prepare data for workdir template filling from entered information.