tortoise/tortoise-orm

Error: Resetting connection with an active transaction <asyncpg.connection.Connection object at 0x00000....>

开放

#1,094 创建于 2022年3月27日

 (20 条评论) (1 个反应) (0 位负责人)Python (333 个派生)batch import
help wanted

仓库指标

星标
 (3,863 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Describe the bug Every time I access the database, by create, get, save I get this error that spams my terminal and another side effect is that the data that's returned becomes None, or when I try to save data it says saved but actually isn't.

To Reproduce I'm not even sure, this just started happening randomly and I don't know how to diagnose

Expected behavior What should happen is that my data is returned as normal AND when saving my data is actually saved, and also my terminal isn't spammed 24/7 :c

Additional context None that comes to mind

贡献者指南