From b2c23d6ddcb581a1dfd44f3a695aab15b35c9b63 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 8 Aug 2023 04:47:02 +0300 Subject: 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 --- gn_auth/commands.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gn_auth/commands.py') 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]], -- cgit v1.2.3