Skip to content

Commit

Permalink
fix:mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
cunla committed Dec 3, 2023
1 parent 77ba24b commit a225431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fakeredis/_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def check_arity(self, args: Tuple[Any], version: Tuple[int]) -> None:

def apply(
self, args: Tuple[Any], db: Database, version: Tuple[int]
) -> Tuple[Any] | Tuple[List[Any], List[CommandItem]]:
) -> Union[Tuple[Any], Tuple[List[Any], List[CommandItem]]]:
"""Returns a tuple, which is either:
- transformed args and a dict of CommandItems; or
- a single containing a short-circuit return value
Expand Down

0 comments on commit a225431

Please sign in to comment.