We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33450d9 commit a32b513Copy full SHA for a32b513
redis/commands/json/commands.py
@@ -121,7 +121,9 @@ def objkeys(
121
""" # noqa
122
return self.execute_command("JSON.OBJKEYS", name, str(path))
123
124
- def objlen(self, name: str, path: Optional[str] = Path.root_path()) -> int:
+ def objlen(
125
+ self, name: str, path: Optional[str] = Path.root_path()
126
+ ) -> List[Optional[int]]:
127
"""Return the length of the dictionary JSON value under ``path`` at key
128
``name``.
129
0 commit comments