from typing import List, Optional from pydantic import EmailStr, BaseModel from passlib.context import CryptContext from fastapi import UploadFile class TranscriptionMetadata(BaseModel): duration: int = 0 language: str = "0" logs: str = 0 percentage: str = "0" state: str = "PENDING" class UserDetails(BaseModel): userId: str