mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-25 01:02:15 +00:00
refactor(types): keep guardrail metadata helper accepting dicts
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
e0b92b2b25
commit
6ba4c2e339
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ class BaseTranslation(ABC):
|
|||
|
||||
@staticmethod
|
||||
def transform_user_api_key_dict_to_metadata(
|
||||
user_api_key_dict: Optional["UserAPIKeyAuth"],
|
||||
user_api_key_dict: Any | None,
|
||||
) -> dict[str, object]:
|
||||
"""
|
||||
Transform user_api_key_dict to a metadata dict with prefixed keys.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue