DSPy: The framework for programming—not prompting—language models
Python
Fix breaking ruff test (#1693)
Herumb Shandilyaf0149c68f15e
diff --git a/dspy/adapters/base.py b/dspy/adapters/base.pyindex e9010d6ef..cfa9d7e88 100644--- a/dspy/adapters/base.py+++ b/dspy/adapters/base.py@@ -1,4 +1,3 @@-from dspy.utils.callback import with_callbacksclass Adapter:@@ -7,7 +6,6 @@ class Adapter:def __init_subclass__(cls, **kwargs) -> None:super().__init_subclass__(**kwargs)- from dspy.utils.callback import with_callbacks# Decorate format() and parse() method with with_callbackscls.format = with_callbacks(cls.format)