4 ms·
Python context managers are a great way to prevent this type of issues. Anyway feels like a bit strange to not use the current connection (from between the tra
by jordic 6y ago
Python context managers are a great way to prevent this type of issues.
Anyway feels like a bit strange to not use the current connection (from between the transaction) to query things. Perhaps the problem is between the API, because it's not explicit the borrow/leave of connections from the pool.