diff options
author | Frederick Muriuki Muriithi | 2023-04-04 10:07:03 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-04-05 14:51:04 +0300 |
commit | 3d873435f0d464864d4d691d6be4db40931fac05 (patch) | |
tree | 7d311b19234d46d3a0e75ee6404b64cdfc0ee84b /gn3/auth | |
parent | 87b439265ad44b90742e69a992e2fd66fdc48c49 (diff) | |
download | genenetwork3-3d873435f0d464864d4d691d6be4db40931fac05.tar.gz |
Enable use of `database_connection` in scripts without current_app
There is need to run external scripts using the same configurations as the application but without the need to couple the script to the application. In this case, we provide the needed configuration directly in the CLI, and modify the existing `gn3.db_utils.database_connection` function to allow it to work coupled to the app or otherwise.
Diffstat (limited to 'gn3/auth')
0 files changed, 0 insertions, 0 deletions