chore: format

This commit is contained in:
Timothy Jaeryang Baek
2026-07-20 22:11:42 -04:00
parent 4a42543fc3
commit 49e57f4e7e
16 changed files with 44 additions and 60 deletions
+1 -3
View File
@@ -203,9 +203,7 @@ async def process_uploaded_file(
else:
# Keep the generic file status stream open until the
# KB-specific vector write and durable link both finish.
await Files.update_file_data_by_id(
file_item.id, {'status': 'processing'}, db=db_session
)
await Files.update_file_data_by_id(file_item.id, {'status': 'processing'}, db=db_session)
await process_file(
request,
ProcessFileForm(file_id=file_item.id, collection_name=knowledge_id),
+1 -3
View File
@@ -582,9 +582,7 @@ async def update_note_by_id(
event_data = note.model_dump()
if form_data.data is not None:
event_data['data'] = {
key: note.data.get(key)
for key in form_data.data.keys()
if note.data is not None and key in note.data
key: note.data.get(key) for key in form_data.data.keys() if note.data is not None and key in note.data
}
await sio.emit(