↓ 99 callersMethodasync_pre_call_hook(
self, user_api_key_dict: UserAPIKeyAuth, cache: DualCache, data: dict[str, object], call_type: CallT
tests/unit/proxy/test_v2_hook_routing.py:344
↓ 93 callersFunction_make_guardrail(
inspection_type="chat",
event_hook="pre_call",
*,
name="t",
api_key="x",
default_on=
tests/unit/proxy/guardrails/guardrail_hooks/_cisco_ai_defense_test_utils.py:228
↓ 92 callersMethodasync_log_success_event(
self, kwargs: Mapping[str, object], response_obj: object, start_time: datetime, end_time: datetime
tests/unit/proxy/hooks/test_autorouter_baseline_cache.py:198
↓ 91 callersMethodtransform_response(
self,
model,
raw_response,
model_response,
logging_obj,
requ
tests/unit/llms/custom_httpx/test_llm_http_handler.py:4764