mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2025-08-26 16:40:40 +03:00
lint code
This commit is contained in:
parent
1c2223424d
commit
2bcd95556d
@ -79,6 +79,6 @@ class Base:
|
||||
raise HTTPException(
|
||||
status_code=status.HTTP_422_UNPROCESSABLE_ENTITY,
|
||||
detail=repr(exception),
|
||||
)
|
||||
) from exception
|
||||
finally:
|
||||
await db.close()
|
||||
|
Loading…
x
Reference in New Issue
Block a user