cunla / fakeredis-py

Implementation of Redis in python without having a Redis server running. Fully compatible with using redis-py.

Home Page:https://fakeredis.moransoftware.ca/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement support for `TOPK.RESERVE` (topk command)

cunla opened this issue · comments

Implement support for command TOPK.RESERVE in topk_mixin.py.

Initializes a TopK with specified parameters.

Here is the Official documentation

Hey, I would like to work on this.

Hi, thanks for jumping in.
I started creating a skeleton for it here.

Feel free to fork and continue working on it, as I won't have time this month.

Let me know if you have any questions.

@cunla sure will do. Was thinking of building a separate package for the HeavyKeeper datastructure, would you mind importing it, instead of adding it here as part of the source code?

See the file. I started implementing the HeavyKeeper class...
not sure whether that class merit its own package.

Ok. I will continue from there.

Do you have an ETA when you finish it?
I want to release a new version and it would be great if this is in it.

1 to 2 week max

any update on this?

Actually something came up that's impossibilating me to work on this. Sorry, maybe next time will be able to contribute 😄