Linter fixes.
This commit is contained in:
parent
9e3265ab9e
commit
7fa62da881
2 changed files with 6 additions and 6 deletions
|
@ -9,6 +9,7 @@ async def check_for_command(conn, cmd):
|
|||
cmd_info = await conn.execute_command("command", "info", cmd)
|
||||
return not None in cmd_info
|
||||
|
||||
|
||||
@lru_cache(maxsize=None)
|
||||
async def has_redis_json(conn=None):
|
||||
if conn is None:
|
||||
|
@ -16,6 +17,7 @@ async def has_redis_json(conn=None):
|
|||
command_exists = await check_for_command(conn, "json.set")
|
||||
return command_exists
|
||||
|
||||
|
||||
@lru_cache(maxsize=None)
|
||||
async def has_redisearch(conn=None):
|
||||
if conn is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue