From 63a2e8f81e311eba37eb14a2d1741dcc28f4f3ca Mon Sep 17 00:00:00 2001 From: Petr Kalis Date: Thu, 30 May 2024 11:36:07 +0200 Subject: [PATCH] AY-5539 - removed get_current_task_entity Wasn't implemented properly, cannot import from context_tools because of circular import. --- client/ayon_core/pipeline/create/context.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/client/ayon_core/pipeline/create/context.py b/client/ayon_core/pipeline/create/context.py index f29f2a12a0..f9ed61bc5b 100644 --- a/client/ayon_core/pipeline/create/context.py +++ b/client/ayon_core/pipeline/create/context.py @@ -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.