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:
Petr Kalis 2024-05-30 11:36:07 +02:00
parent 62f43bfb6d
commit 63a2e8f81e

View file

@ -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.