diff options
author | Frederick Muriuki Muriithi | 2023-08-08 04:47:02 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-08-08 04:47:02 +0300 |
commit | b2c23d6ddcb581a1dfd44f3a695aab15b35c9b63 (patch) | |
tree | b7c049fb75afda32589847d8517c6218c7f29014 /gn_auth/auth/db/sqlite3.py | |
parent | d88ef631a78c32baed34a126d79f4679a2f09d10 (diff) | |
download | gn-auth-b2c23d6ddcb581a1dfd44f3a695aab15b35c9b63.tar.gz |
Fix issues caught by linter
* Add a .pylintrc to silence annoying messages
* Fix imports
* Add missing `parse_db_url` function
* Add a new `gn_auth.auth.db.redis` module
Diffstat (limited to 'gn_auth/auth/db/sqlite3.py')
-rw-r--r-- | gn_auth/auth/db/sqlite3.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gn_auth/auth/db/sqlite3.py b/gn_auth/auth/db/sqlite3.py index 3d94832..be9eb2f 100644 --- a/gn_auth/auth/db/sqlite3.py +++ b/gn_auth/auth/db/sqlite3.py @@ -6,6 +6,8 @@ from typing import Any, Callable, Iterator import traceback +from flask import current_app + from .protocols import DbCursor, DbConnection @contextlib.contextmanager |