mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-11 16:52:38 +02:00
style(backend): run ruff format on 10 files
This commit is contained in:
parent
20b8a17254
commit
949ec949f6
10 changed files with 48 additions and 32 deletions
|
|
@ -257,14 +257,11 @@ class PublicChatResponse(BaseModel):
|
|||
|
||||
|
||||
class CloneInitResponse(BaseModel):
|
||||
|
||||
|
||||
thread_id: int
|
||||
search_space_id: int
|
||||
share_token: str
|
||||
|
||||
|
||||
class CompleteCloneResponse(BaseModel):
|
||||
|
||||
status: str
|
||||
message_count: int
|
||||
|
|
|
|||
|
|
@ -59,6 +59,8 @@ class PodcastRead(PodcastBase):
|
|||
"search_space_id": obj.search_space_id,
|
||||
"status": obj.status,
|
||||
"created_at": obj.created_at,
|
||||
"transcript_entries": len(obj.podcast_transcript) if obj.podcast_transcript else None,
|
||||
"transcript_entries": len(obj.podcast_transcript)
|
||||
if obj.podcast_transcript
|
||||
else None,
|
||||
}
|
||||
return cls(**data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue