mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
AY-5539 - removed get_current_task_entity
Wasn't implemented properly, cannot import from context_tools because of circular import.
This commit is contained in:
parent
62f43bfb6d
commit
63a2e8f81e
1 changed files with 0 additions and 11 deletions
|
|
@ -1572,17 +1572,6 @@ class CreateContext:
|
|||
|
||||
return self._current_task_name
|
||||
|
||||
def get_current_task_entity(self):
|
||||
"""Task name which was used as current context on context reset.
|
||||
|
||||
Returns:
|
||||
Union[str, None]: Task name.
|
||||
"""
|
||||
task_name = self.get_current_task_name()
|
||||
if self._current_task_entity is None and task_name:
|
||||
self._current_task_entity = get_current_task_entity()
|
||||
return self._current_task_entity
|
||||
|
||||
def get_current_workfile_path(self):
|
||||
"""Workfile path which was opened on context reset.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue