Skip to content

Commit

Permalink
fix:flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
cunla committed Jun 19, 2023
1 parent fa99fd5 commit 5f5e6c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fakeredis/commands_mixins/streams_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ def xpending(self, key, group_name, *args):
else:
return group.pending_summary()

@command(name="XGROUP CREATE", fixed=(Key(XStream), bytes, bytes), repeat=(bytes,), flags=msgs.FLAG_LEAVE_EMPTY_VAL)
@command(name="XGROUP CREATE", fixed=(Key(XStream), bytes, bytes), repeat=(bytes,),
flags=msgs.FLAG_LEAVE_EMPTY_VAL)
def xgroup_create(self, key, group_name, start_key, *args):
(mkstream, entries_read,), _ = extract_args(args, ('mkstream', '+entriesread'))
if key.value is None and not mkstream:
Expand Down

0 comments on commit 5f5e6c6

Please sign in to comment.