mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
style(purview): apply Black formatting to base.py
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
061b292b2a
commit
30b5e820f1
1 changed files with 1 additions and 4 deletions
|
|
@ -293,10 +293,7 @@ class PurviewGuardrailBase:
|
|||
if trusted:
|
||||
return trusted
|
||||
|
||||
if (
|
||||
hasattr(user_api_key_dict, "end_user_id")
|
||||
and user_api_key_dict.end_user_id
|
||||
):
|
||||
if hasattr(user_api_key_dict, "end_user_id") and user_api_key_dict.end_user_id:
|
||||
return str(user_api_key_dict.end_user_id)
|
||||
|
||||
metadata = data.get("metadata") or data.get("litellm_metadata") or {}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue