from typing import Optional | |
from pydantic import BaseModel | |
class BaseRequest(BaseModel): | |
userId: int | |
taskId: str | |
fileName: str | |
youtubeLink: Optional[str] | |
telegramId: Optional[str] | |
class GetTranscriptions(BaseModel): | |
userId: int | |
from typing import Optional | |
from pydantic import BaseModel | |
class BaseRequest(BaseModel): | |
userId: int | |
taskId: str | |
fileName: str | |
youtubeLink: Optional[str] | |
telegramId: Optional[str] | |
class GetTranscriptions(BaseModel): | |
userId: int | |