Skip to content

Commit

Permalink
Update the list of unimplemented commands
Browse files Browse the repository at this point in the history
  • Loading branch information
bmerry committed Aug 4, 2020
1 parent 1cb465b commit 85f896f
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 18 deletions.
69 changes: 52 additions & 17 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,33 +146,29 @@ that may require changes to your code:
constructor of the latter (provided no server is provided).



Unimplemented Commands
======================

All of the redis commands are implemented in fakeredis with
these exceptions:


connection
----------

* auth
* quit


server
------

* acl load
* acl save
* acl list
* acl users
* acl getuser
* acl setuser
* acl deluser
* acl cat
* acl genpass
* acl whoami
* acl log
* acl help
* bgrewriteaof
* client id
* client kill
* client list
* client getname
* client pause
* client reply
* client setname
* client unblock
* command
* command count
* command getkeys
Expand All @@ -184,20 +180,49 @@ server
* debug object
* debug segfault
* info
* lolwut
* memory doctor
* memory help
* memory malloc-stats
* memory purge
* memory stats
* memory usage
* module list
* module load
* module unload
* monitor
* role
* shutdown
* slaveof
* replicaof
* slowlog
* sync
* time
* psync
* latency doctor
* latency graph
* latency history
* latency latest
* latency reset
* latency help


connection
----------

* auth
* client caching
* client id
* client kill
* client list
* client getname
* client getredir
* client pause
* client reply
* client setname
* client tracking
* client unblock
* hello
* quit


string
Expand All @@ -206,6 +231,7 @@ string
* bitfield
* bitop
* bitpos
* stralgo


sorted_set
Expand All @@ -221,15 +247,18 @@ cluster
-------

* cluster addslots
* cluster bumpepoch
* cluster count-failure-reports
* cluster countkeysinslot
* cluster delslots
* cluster failover
* cluster flushslots
* cluster forget
* cluster getkeysinslot
* cluster info
* cluster keyslot
* cluster meet
* cluster myid
* cluster nodes
* cluster replicate
* cluster reset
Expand Down Expand Up @@ -265,6 +294,12 @@ geo
* georadiusbymember


list
----

* lpos


pubsub
------

Expand Down
2 changes: 1 addition & 1 deletion scripts/supported
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ for k, v in list(commands.items()):


implemented_commands = set()
for name, method in inspect.getmembers(fakeredis.server.FakeSocket):
for name, method in inspect.getmembers(fakeredis._server.FakeSocket):
if hasattr(method, '_fakeredis_sig'):
implemented_commands.add(name)
# Currently no programmatic way to discover implemented subcommands
Expand Down

0 comments on commit 85f896f

Please sign in to comment.