From 4710224996df5bc783127aab9b064c905c6c1ac4 Mon Sep 17 00:00:00 2001 From: glrs <5999366+glrs@users.noreply.github.com> Date: Thu, 5 Dec 2024 18:53:17 +0100 Subject: [PATCH] Never peaked up, remove. Could revisit in the future --- lib/core_utils/destiny_interface.py | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 lib/core_utils/destiny_interface.py diff --git a/lib/core_utils/destiny_interface.py b/lib/core_utils/destiny_interface.py deleted file mode 100644 index 8279d21..0000000 --- a/lib/core_utils/destiny_interface.py +++ /dev/null @@ -1,26 +0,0 @@ -import warnings -from abc import ABC, abstractmethod - - -class DestinyInterface(ABC): - """ - DestinyInterface serves as an abstract base for different 'destiny' strategies in the Yggdrasil application. - It defines the interface for processing documents, where each destiny encapsulates a unique pathway - or processing logic, akin to the diverse fates woven by the Norns under Yggdrasil. - """ - - def __init__(self): - warnings.warn( - "DestinyInterface is deprecated and will be removed in future releases, use RealmTemplate instead.", - DeprecationWarning, - ) - - @abstractmethod - def process(self, doc): - """ - Process a document according to the specific destiny (strategy). This method needs to be implemented - by each concrete destiny class, defining how each document's journey unfolds. - - :param doc: The document to be processed. - """ - pass