chore: ran linting

This commit is contained in:
Anish Sarkar 2026-03-17 04:40:46 +05:30
parent bc1f31b481
commit ac0f2fa2eb
33 changed files with 688 additions and 661 deletions

View file

@ -37,9 +37,7 @@ async def safe_set_chunks(
from app.db import Chunk
if document.id is not None:
await session.execute(
delete(Chunk).where(Chunk.document_id == document.id)
)
await session.execute(delete(Chunk).where(Chunk.document_id == document.id))
for chunk in chunks:
chunk.document_id = document.id