BaseTextFilter: only require subclasses to implement filter()

This commit is contained in:
Aleix Conchillo Flaqué
2025-11-17 11:19:04 -08:00
parent 47f78df497
commit 7eedb33d50
2 changed files with 6 additions and 9 deletions

View File

@@ -26,7 +26,6 @@ class BaseTextFilter(ABC):
behavior, settings management, and interruption handling logic.
"""
@abstractmethod
async def update_settings(self, settings: Mapping[str, Any]):
"""Update the filter's configuration settings.
@@ -53,7 +52,6 @@ class BaseTextFilter(ABC):
"""
pass
@abstractmethod
async def handle_interruption(self):
"""Handle interruption events in the processing pipeline.
@@ -62,7 +60,6 @@ class BaseTextFilter(ABC):
"""
pass
@abstractmethod
async def reset_interruption(self):
"""Reset the filter state after an interruption has been handled.