diff options
author | Frederick Muriuki Muriithi | 2024-11-22 10:02:40 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-11-22 10:17:19 -0600 |
commit | 463194da3cfc077513e98948dd31cfd60d2eb0e0 (patch) | |
tree | 90716f2a8e7b64772871df24e28f6c5a788deca4 /scripts/batch_assign_data_to_default_admin.py | |
parent | cab78050064424d31534c3bba9c68080108dacd6 (diff) | |
download | gn-auth-463194da3cfc077513e98948dd31cfd60d2eb0e0.tar.gz |
Use code in gn_libs for MySQL/MariaDB connection.
Update the application to use the gn_libs code for connecting to the
database, rather than using a local module.
Diffstat (limited to 'scripts/batch_assign_data_to_default_admin.py')
-rw-r--r-- | scripts/batch_assign_data_to_default_admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/batch_assign_data_to_default_admin.py b/scripts/batch_assign_data_to_default_admin.py index 3df123d..a468019 100644 --- a/scripts/batch_assign_data_to_default_admin.py +++ b/scripts/batch_assign_data_to_default_admin.py @@ -7,10 +7,10 @@ import logging from pathlib import Path import click +from gn_libs import mysqldb as biodb from pymonad.maybe import Just, Maybe, Nothing from pymonad.tools import monad_from_none_or_value -from gn_auth.auth.db import mariadb as biodb from gn_auth.auth.db import sqlite3 as authdb from gn_auth.auth.authentication.users import User from gn_auth.auth.authorisation.resources.groups.models import ( |