aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/formatting.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-03-11 05:25:31 +0300
committerFrederick Muriuki Muriithi2022-03-11 07:35:19 +0300
commitd1268f513bfc955390354c2678e9407949723d00 (patch)
tree6109a60f775bb82eebcf0f5803ca21acbb8ab368 /wqflask/utility/formatting.py
parent4a7e2c1602ed82aabd7d04953067ba49cb1cebff (diff)
downloadgenenetwork2-d1268f513bfc955390354c2678e9407949723d00.tar.gz
Break dependence on `wqflask.utility.tools` to fix circular imports
Remove the `wqflask.utility.tools` and retrieve the `SQL_URI` setting directly from the environment or the settings file. This breaks the circular imports and makes the `wqflask.database` module standalone. Move the `parse_db_url` function to the `wqflask.database` module, where it is more sensible to be.
Diffstat (limited to 'wqflask/utility/formatting.py')
0 files changed, 0 insertions, 0 deletions