refactor: ignore type error
This commit is contained in:
parent
95b0b91e18
commit
dea0cc33d5
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ async def delete_messages_session(
|
||||||
session: Session = Depends(get_session),
|
session: Session = Depends(get_session),
|
||||||
):
|
):
|
||||||
try:
|
try:
|
||||||
session.exec(
|
session.exec( # type: ignore
|
||||||
delete(MessageTable)
|
delete(MessageTable)
|
||||||
.where(col(MessageTable.session_id) == session_id)
|
.where(col(MessageTable.session_id) == session_id)
|
||||||
.execution_options(synchronize_session="fetch")
|
.execution_options(synchronize_session="fetch")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue