mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-28 06:23:07 +00:00
fix(cache): avoid redundant namespace cast
This commit is contained in:
parent
ba2423667a
commit
e736c9402e
1 changed files with 1 additions and 1 deletions
|
|
@ -658,7 +658,7 @@ class Cache:
|
|||
)
|
||||
namespace: Final[str | None] = (
|
||||
":".join(
|
||||
cast(str, value)
|
||||
value
|
||||
for value in namespace_parts
|
||||
if isinstance(value, str) and value
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue