mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix linting
This commit is contained in:
parent
0bd747ef7e
commit
bac6685bfc
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
import ast
|
import ast
|
||||||
import json
|
import json
|
||||||
from typing import Optional
|
from typing import List, Optional
|
||||||
|
|
||||||
from fastapi import Request, UploadFile, status
|
from fastapi import Request, UploadFile, status
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ async def _read_request_body(request: Optional[Request]) -> dict:
|
||||||
def check_file_size_under_limit(
|
def check_file_size_under_limit(
|
||||||
request_data: dict,
|
request_data: dict,
|
||||||
file: UploadFile,
|
file: UploadFile,
|
||||||
router_model_names: list[str],
|
router_model_names: List[str],
|
||||||
) -> bool:
|
) -> bool:
|
||||||
"""
|
"""
|
||||||
Check if any files passed in request are under max_file_size_mb
|
Check if any files passed in request are under max_file_size_mb
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue