mirror of
https://github.com/MODSetter/SurfSense.git
synced 2025-09-15 08:39:46 +00:00
Fixed all ruff lint and formatting errors
This commit is contained in:
parent
0a03c42cc5
commit
d359a59f6d
85 changed files with 5520 additions and 3870 deletions
|
@ -1,15 +1,20 @@
|
|||
from pydantic import BaseModel, ConfigDict
|
||||
|
||||
from .base import IDModel, TimestampModel
|
||||
|
||||
|
||||
class ChunkBase(BaseModel):
|
||||
content: str
|
||||
document_id: int
|
||||
|
||||
|
||||
class ChunkCreate(ChunkBase):
|
||||
pass
|
||||
|
||||
|
||||
class ChunkUpdate(ChunkBase):
|
||||
pass
|
||||
|
||||
|
||||
class ChunkRead(ChunkBase, IDModel, TimestampModel):
|
||||
model_config = ConfigDict(from_attributes=True)
|
||||
model_config = ConfigDict(from_attributes=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue