Skip to content

Commit 6b06136

Browse files
committed
update faq regarding custom fix
1 parent c6d052b commit 6b06136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ You can override the `fix` behavior by passing it as a function to the Guard obj
5858
```python
5959
from guardrails import Guard
6060

61-
def fix_is_cake(value, metadata):
61+
def fix_is_cake(value, fail_result: FailResult):
6262
return "IT IS cake"
6363

6464
guard = Guard().use(is_cake, on_fail=fix_is_cake)

0 commit comments

Comments
 (0)