Skip to content

Commit

Permalink
linters
Browse files Browse the repository at this point in the history
  • Loading branch information
dvora-h authored Jan 9, 2024
1 parent 7814413 commit 53d2817
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion redis/commands/json/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ def objkeys(
""" # noqa
return self.execute_command("JSON.OBJKEYS", name, str(path), keys=[name])

def objlen(self, name: str, path: Optional[str] = Path.root_path()) -> List[Optional[int]]:
def objlen(
self, name: str, path: Optional[str] = Path.root_path()
) -> List[Optional[int]]:
"""Return the length of the dictionary JSON value under ``path`` at key
``name``.
Expand Down

0 comments on commit 53d2817

Please sign in to comment.