Skip to content

Commit 6f28b67

Browse files
Make type more specific
1 parent c1c18c7 commit 6f28b67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guardrails/guard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def _call_sync(
374374
call_log: Call,
375375
*args,
376376
**kwargs,
377-
) -> Union[ValidationOutcome[OT], Iterable]:
377+
) -> Union[ValidationOutcome[OT], Iterable[str]]:
378378
instructions_obj = instructions or self.instructions
379379
prompt_obj = prompt or self.prompt
380380
msg_history_obj = msg_history or []

0 commit comments

Comments
 (0)