refactor: begin transaction to automatically commit (#41979)

Co-authored-by: Evan Rusackas <evan@preset.io>
This commit is contained in:
Hans Yu
2026-07-13 22:45:40 -07:00
committed by GitHub
co-authored by Evan Rusackas
parent 8afad27c84
commit e165762bb7
7 changed files with 102 additions and 89 deletions
+2
View File
@@ -36,6 +36,8 @@ filterwarnings =
# error:"TableColumn" object is being merged into a Session:sqlalchemy.exc.RemovedIn20Warning
# error:"TaggedObject" object is being merged into a Session:sqlalchemy.exc.RemovedIn20Warning
# error:The autoload parameter is deprecated:sqlalchemy.exc.RemovedIn20Warning
# error:The connection.execute\(\) method:sqlalchemy.exc.RemovedIn20Warning
error:The current statement is being autocommitted using implicit autocommit:sqlalchemy.exc.RemovedIn20Warning
error:The connection.execute\(\) method:sqlalchemy.exc.RemovedIn20Warning
# error:The current statement is being autocommitted using implicit autocommit:sqlalchemy.exc.RemovedIn20Warning
# error:The ``declarative_base\(\)`` function is now available:sqlalchemy.exc.RemovedIn20Warning