from pydantic import BaseModel | |
class TranscriptionMetadata(BaseModel): | |
duration: int = 0 | |
language: str = "0" | |
logs: str = 0 | |
percentage: str = "0" | |
transcription: dict = {} | |
state: str = "PENDING" | |
class UserDetails(BaseModel): | |
userId: str | |
from pydantic import BaseModel | |
class TranscriptionMetadata(BaseModel): | |
duration: int = 0 | |
language: str = "0" | |
logs: str = 0 | |
percentage: str = "0" | |
transcription: dict = {} | |
state: str = "PENDING" | |
class UserDetails(BaseModel): | |
userId: str | |