chore: syntax cleaning and code quality

This commit is contained in:
2025-12-12 11:44:11 +01:00
parent f2646b6fa1
commit a4fd4e7aea
2 changed files with 23 additions and 20 deletions

View File

@@ -1,6 +1,7 @@
from abc import ABC, abstractmethod
from sklearn.base import BaseEstimator, TransformerMixin
from procesing.context import PipelineContext
from typing import Any
class BaseContextStep(BaseEstimator, TransformerMixin, ABC):
"""
@@ -16,7 +17,7 @@ class BaseContextStep(BaseEstimator, TransformerMixin, ABC):
return self
@abstractmethod
def transform(self, X):
def transform(self, X) -> Any:
"""Transform input using context. Must be implemented by subclass."""
pass