We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6d052b commit 6b06136Copy full SHA for 6b06136
docs/faq.md
@@ -58,7 +58,7 @@ You can override the `fix` behavior by passing it as a function to the Guard obj
58
```python
59
from guardrails import Guard
60
61
-def fix_is_cake(value, metadata):
+def fix_is_cake(value, fail_result: FailResult):
62
return "IT IS cake"
63
64
guard = Guard().use(is_cake, on_fail=fix_is_cake)
0 commit comments