mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-29 10:56:24 +02:00
chore: biome & ruff checks
This commit is contained in:
parent
35a7427b00
commit
898fc884a9
5 changed files with 30 additions and 38 deletions
|
|
@ -1,7 +1,7 @@
|
|||
from datetime import datetime
|
||||
from typing import TypeVar
|
||||
|
||||
from pydantic import BaseModel, ConfigDict
|
||||
from typing import Generic, TypeVar
|
||||
|
||||
from app.db import DocumentType
|
||||
|
||||
|
|
@ -58,6 +58,6 @@ class DocumentWithChunksRead(DocumentRead):
|
|||
model_config = ConfigDict(from_attributes=True)
|
||||
|
||||
|
||||
class PaginatedResponse(BaseModel, Generic[T]):
|
||||
class PaginatedResponse[T](BaseModel):
|
||||
items: list[T]
|
||||
total: int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue