mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-30 11:26:24 +02:00
chore: Added direct handling for markdown files.
- Fixed podcast imports.
This commit is contained in:
parent
704af3e4d1
commit
1586a0bd78
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