mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-10 08:28:25 +00:00
test(guardrails): type the guardrail metadata fake's parameters
This commit is contained in:
parent
dcf0f62400
commit
9c6e8bea9e
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ async def test_pre_call_hook_processes_guardrail_metadata_when_no_overrides(prox
|
|||
proxy_logging.slack_alerting_instance = MagicMock(alerting=None)
|
||||
invoked = {}
|
||||
|
||||
def fake_process(d, *, skip_guardrails):
|
||||
def fake_process(d: object, *, skip_guardrails: bool) -> None:
|
||||
invoked["data"] = d
|
||||
invoked["skip_guardrails"] = skip_guardrails
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue