feat(batch_processor): Add feature_contract method to ToBatchProcessor

- Introduced feature_contract method that returns features without modification, maintaining the no-op behavior of the processor.
- This addition enhances the flexibility of the ToBatchProcessor for future feature processing needs.
This commit is contained in:
Adil Zouitine
2025-08-01 09:18:16 +02:00
committed by Steven Palma
parent e9cb779eab
commit 3e7c9d7afc
+4
View File
@@ -121,3 +121,7 @@ class ToBatchProcessor:
def reset(self) -> None:
"""Reset processor state (no-op for this processor)."""
pass
def feature_contract(self, features: dict[str, Any]) -> dict[str, Any]:
"""Return features (no-op for this processor)."""
return features