added pending
Browse files
App/Transcription/Schemas.py
CHANGED
@@ -8,17 +8,19 @@ class TranscriptionMetadata(BaseModel):
|
|
8 |
language: str = "-"
|
9 |
percentage: str = "-"
|
10 |
content: list = []
|
11 |
-
status: str
|
12 |
|
13 |
|
14 |
class TranscriptionResult(TranscriptionMetadata):
|
15 |
created_at: datetime = Field(default_factory=datetime.utcnow)
|
16 |
task_id: str
|
17 |
|
|
|
18 |
class BaseTranscription(TranscriptionResult):
|
19 |
file_name: str = "-"
|
20 |
tl_file_id: Optional[str] = "-"
|
21 |
youtubeLink: Optional[str] = "-"
|
22 |
|
|
|
23 |
class UserDetails(BaseModel):
|
24 |
userId: str
|
|
|
8 |
language: str = "-"
|
9 |
percentage: str = "-"
|
10 |
content: list = []
|
11 |
+
status: str = "PENDING"
|
12 |
|
13 |
|
14 |
class TranscriptionResult(TranscriptionMetadata):
|
15 |
created_at: datetime = Field(default_factory=datetime.utcnow)
|
16 |
task_id: str
|
17 |
|
18 |
+
|
19 |
class BaseTranscription(TranscriptionResult):
|
20 |
file_name: str = "-"
|
21 |
tl_file_id: Optional[str] = "-"
|
22 |
youtubeLink: Optional[str] = "-"
|
23 |
|
24 |
+
|
25 |
class UserDetails(BaseModel):
|
26 |
userId: str
|