mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
remove legacy_io.py
This commit is contained in:
parent
5939e00fe7
commit
ca06fb8ef0
1 changed files with 0 additions and 36 deletions
|
|
@ -1,36 +0,0 @@
|
|||
import logging
|
||||
from ayon_core.pipeline import get_current_project_name
|
||||
|
||||
Session = {}
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
log.warning(
|
||||
"DEPRECATION WARNING: 'legacy_io' is deprecated and will be removed in"
|
||||
" future versions of ayon-core addon."
|
||||
"\nReading from Session won't give you updated information and changing"
|
||||
" values won't affect global state of a process."
|
||||
)
|
||||
|
||||
|
||||
def session_data_from_environment(context_keys=False):
|
||||
return {}
|
||||
|
||||
|
||||
def is_installed():
|
||||
return False
|
||||
|
||||
|
||||
def install():
|
||||
pass
|
||||
|
||||
|
||||
def uninstall():
|
||||
pass
|
||||
|
||||
|
||||
def active_project(*args, **kwargs):
|
||||
return get_current_project_name()
|
||||
|
||||
|
||||
def current_project(*args, **kwargs):
|
||||
return get_current_project_name()
|
||||
Loading…
Add table
Add a link
Reference in a new issue