mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-16 09:22:22 +00:00
style: black format arize_phoenix_client.py
This commit is contained in:
parent
852e62d066
commit
0100e8d3bf
1 changed files with 1 additions and 3 deletions
|
|
@ -15,9 +15,7 @@ def _sanitize_id(identifier: str) -> str:
|
|||
f"Invalid identifier {identifier!r}: contains disallowed characters"
|
||||
)
|
||||
if ".." in identifier:
|
||||
raise ValueError(
|
||||
f"Invalid identifier {identifier!r}: path traversal detected"
|
||||
)
|
||||
raise ValueError(f"Invalid identifier {identifier!r}: path traversal detected")
|
||||
return urllib.parse.quote(identifier, safe="")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue