remove legacy_io.py

This commit is contained in:
Jakub Trllo 2024-03-28 14:15:14 +01:00
parent 5939e00fe7
commit ca06fb8ef0

View file

@ -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()