mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
style(files): collapse list_files guard to one line for ruff format
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
b6932a4929
commit
6ab5ab68dd
1 changed files with 1 additions and 3 deletions
|
|
@ -1404,9 +1404,7 @@ async def list_files(
|
|||
_response = await proxy_logging_obj.post_call_success_hook(
|
||||
data=data, user_api_key_dict=user_api_key_dict, response=response
|
||||
)
|
||||
if _response is not None and isinstance(
|
||||
_response, (OpenAIFileObject, AsyncCursorPage)
|
||||
):
|
||||
if _response is not None and isinstance(_response, (OpenAIFileObject, AsyncCursorPage)):
|
||||
response = _response
|
||||
|
||||
### ALERTING ###
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue