mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-08 07:12: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 .base import IDModel, TimestampModel
|
||||
|
||||
class ChunkBase(BaseModel):
|
||||
|
|
@ -12,5 +12,4 @@ class ChunkUpdate(ChunkBase):
|
|||
pass
|
||||
|
||||
class ChunkRead(ChunkBase, IDModel, TimestampModel):
|
||||
class Config:
|
||||
from_attributes = True
|
||||
model_config = ConfigDict(from_attributes=True)
|
||||
Loading…
Add table
Add a link
Reference in a new issue