mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
fix(types): use direct FileTypes import in video schemas
Avoid the temporary Any alias and use a concrete FileTypes import compatible with type checks. Made-with: Cursor
This commit is contained in:
parent
4a7ef7b1d2
commit
94405b6218
1 changed files with 1 additions and 2 deletions
|
|
@ -1,10 +1,9 @@
|
|||
from typing import Any, Dict, List, Literal, Optional
|
||||
|
||||
from openai.types.audio.transcription_create_params import FileTypes # type: ignore
|
||||
from pydantic import BaseModel
|
||||
from typing_extensions import TypedDict
|
||||
|
||||
FileTypes = Any
|
||||
|
||||
|
||||
class VideoObject(BaseModel):
|
||||
"""Represents a generated video object."""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue