|
|
|
|
|
by jordic
2120 days 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. |
|