mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
fix(cache): use builtin dict annotation to satisfy UP006 budget gate
This commit is contained in:
parent
b86c01c624
commit
0d31088724
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ _REDACTED_VALUE = "***REDACTED***"
|
|||
_URL_OVERRIDDEN_CONNECTION_FIELDS: frozenset = frozenset({"host", "port", "db", "password", "username"})
|
||||
|
||||
|
||||
def _resolve_cache_url_precedence(settings: Mapping[str, Any]) -> Dict[str, Any]:
|
||||
def _resolve_cache_url_precedence(settings: Mapping[str, Any]) -> dict[str, Any]:
|
||||
"""Return cache settings with the url-vs-discrete-fields ambiguity resolved.
|
||||
|
||||
When a full ``url`` is supplied it wins: the discrete
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue