DBUtils
DBUtils copied to clipboard
Database connections for multi-threaded environments
% `ruff --select=FBT --statistics .` ``` 93 FBT003 Boolean positional value in function call 12 FBT002 Boolean default value in function definition ``` * https://beta.ruff.rs/docs/rules/#flake8-boolean-trap-fbt * https://adamj.eu/tech/2021/07/10/python-type-hints-how-to-avoid-the-boolean-trap/ My sense is...
The official document (https://webwareforpython.github.io/DBUtils/main.html) mentions "thread-safe" several times. These statements probably written with the GIL assumption. At least, I could not find any mention of the GIL on the document....
Hi, I am using DBUtils (perhaps incorrectly) to handle client-managed server failover for a database cluster (ie. the client must select a new DB host when the current host has...