diff options
author | Frederick Muriuki Muriithi | 2022-03-11 05:25:31 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-03-11 07:35:19 +0300 |
commit | d1268f513bfc955390354c2678e9407949723d00 (patch) | |
tree | 6109a60f775bb82eebcf0f5803ca21acbb8ab368 /wqflask/utility/formatting.py | |
parent | 4a7e2c1602ed82aabd7d04953067ba49cb1cebff (diff) | |
download | genenetwork2-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