mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
added context getter functions to pipeline init
This commit is contained in:
parent
fb56e169dc
commit
2313cd0507
1 changed files with 13 additions and 0 deletions
|
|
@ -86,6 +86,12 @@ from .context_tools import (
|
|||
registered_host,
|
||||
deregister_host,
|
||||
get_process_id,
|
||||
|
||||
get_current_context,
|
||||
get_current_host_name,
|
||||
get_current_project_name,
|
||||
get_current_asset_name,
|
||||
get_current_task_name,
|
||||
)
|
||||
install = install_host
|
||||
uninstall = uninstall_host
|
||||
|
|
@ -176,6 +182,13 @@ __all__ = (
|
|||
"register_host",
|
||||
"registered_host",
|
||||
"deregister_host",
|
||||
"get_process_id",
|
||||
|
||||
"get_current_context",
|
||||
"get_current_host_name",
|
||||
"get_current_project_name",
|
||||
"get_current_asset_name",
|
||||
"get_current_task_name",
|
||||
|
||||
# Backwards compatible function names
|
||||
"install",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue