mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-09 07:42:39 +02:00
chore: Added direct handling for markdown files.
- Fixed podcast imports.
This commit is contained in:
parent
d716347531
commit
9ccc147bb0
10 changed files with 118 additions and 59 deletions
|
|
@ -1,4 +1,4 @@
|
|||
from pydantic import BaseModel
|
||||
from pydantic import BaseModel, ConfigDict
|
||||
from typing import Any, List, Literal
|
||||
from .base import IDModel, TimestampModel
|
||||
|
||||
|
|
@ -15,8 +15,7 @@ class PodcastUpdate(PodcastBase):
|
|||
pass
|
||||
|
||||
class PodcastRead(PodcastBase, IDModel, TimestampModel):
|
||||
class Config:
|
||||
from_attributes = True
|
||||
model_config = ConfigDict(from_attributes=True)
|
||||
|
||||
class PodcastGenerateRequest(BaseModel):
|
||||
type: Literal["DOCUMENT", "CHAT"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue