tortoise/tortoise-orm

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

Open

#1.094 geöffnet am 27. März 2022

Auf GitHub ansehen
 (20 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Python (333 Forks)batch import
help wanted

Repository-Metriken

Stars
 (3.863 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 15T 7h) (9 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide