mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-05 13:52:40 +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,5 +1,5 @@
|
|||
from typing import List, Any
|
||||
from pydantic import BaseModel
|
||||
from pydantic import BaseModel, ConfigDict
|
||||
from sqlalchemy import JSON
|
||||
from .base import IDModel, TimestampModel
|
||||
from app.db import DocumentType
|
||||
|
|
@ -37,6 +37,5 @@ class DocumentRead(BaseModel):
|
|||
created_at: datetime
|
||||
search_space_id: int
|
||||
|
||||
class Config:
|
||||
from_attributes = True
|
||||
model_config = ConfigDict(from_attributes=True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue