Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianloose committed Feb 24, 2025
1 parent ef77b25 commit 710fdca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions app/domain/data/metrics/transcription_dto.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ class TranscriptionSegmentDTO(BaseModel):
end_time: float = Field(..., alias="endTime")
text: str = Field(..., alias="text")
slide_number: int = Field(default=0, alias="slideNumber")
# lecture_unit_id: int = Field(..., alias="lectureUnitId")


class TranscriptionDTO(BaseModel):
Expand All @@ -23,4 +22,4 @@ class TranscriptionWebhookDTO(BaseModel):
course_id: int = Field(..., alias="courseId")
course_name: str = Field(..., alias="courseName")
lecture_unit_id: int = Field(..., alias="lectureUnitId")
# course_description: str = Field(..., alias="courseDescription")
course_description: str = Field("", alias="courseDescription")
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


class TranscriptionIngestionPipelineExecutionDto(PipelineExecutionDTO):
transcriptions: List[TranscriptionWebhookDTO]
transcription: TranscriptionWebhookDTO
lectureUnitId: int
settings: Optional[PipelineExecutionSettingsDTO]
initial_stages: Optional[List[StageDTO]] = Field(
Expand Down

0 comments on commit 710fdca

Please sign in to comment.