fix(refusal_classifier): quote self-referential return annotation to fix import NameError

This commit is contained in:
Tai An committed 2026-09-11 00:07:19 -07:00
1 parent 1f2413e2b0
commit 6f221d5c62
1 file changed
+1 -1
@@ -86,7 +86,7 @@ class HybridRefusalClassifier:
detector: RefusalDetector, detector: RefusalDetector,
weight: float = 1.0, weight: float = 1.0,
name: str | None = None, name: str | None = None,
) -> HybridRefusalClassifier: ) -> "HybridRefusalClassifier":
"""Add a detection method with specified weight. """Add a detection method with specified weight.
Args: Args: