about summary refs log tree commit diff
path: root/gn_auth/commands.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-08-08 04:47:02 +0300
committerFrederick Muriuki Muriithi2023-08-08 04:47:02 +0300
commitb2c23d6ddcb581a1dfd44f3a695aab15b35c9b63 (patch)
treeb7c049fb75afda32589847d8517c6218c7f29014 /gn_auth/commands.py
parentd88ef631a78c32baed34a126d79f4679a2f09d10 (diff)
downloadgn-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/commands.py')
-rw-r--r--gn_auth/commands.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gn_auth/commands.py b/gn_auth/commands.py
index d6f6f56..cc00413 100644
--- a/gn_auth/commands.py
+++ b/gn_auth/commands.py
@@ -10,6 +10,8 @@ from typing import Dict, Optional, Tuple, Union, Sequence
 
 from redis.client import Redis
 
+from gn_auth.auth.db.redis import RedisConnectionError
+
 def queue_cmd(conn: Redis,
               job_queue: str,
               cmd: Union[str, Sequence[str]],