mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-04 21:32:39 +02:00
chore: linting
This commit is contained in:
parent
b9a66cb417
commit
ca9bbee06d
41 changed files with 314 additions and 244 deletions
|
|
@ -79,9 +79,7 @@ async def load_action(
|
|||
return result.scalars().first()
|
||||
|
||||
|
||||
async def load_thread(
|
||||
session: AsyncSession, *, thread_id: int
|
||||
) -> NewChatThread | None:
|
||||
async def load_thread(session: AsyncSession, *, thread_id: int) -> NewChatThread | None:
|
||||
stmt = select(NewChatThread).where(NewChatThread.id == thread_id)
|
||||
result = await session.execute(stmt)
|
||||
return result.scalars().first()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue