Skip to content

Commit 001a180

Browse files
committed
update readme
1 parent 1e44eda commit 001a180

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

README.rst

+2-12
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,8 @@ Care must be taken when adding namespacing support to existing systems. The
710710
following caveats need be considered:
711711

712712
- The `keys` command will namespace any provided pattern and default to the
713-
return value of `add_namespace('*')`.
713+
return value of `add_namespace('*')`. The `scan` command's `MATCH` arg
714+
will default to `add_namespace('*')`.
714715

715716
- There is no way to know if your existing data structures contain
716717
non-namspaced keys. Therefore, any existing data structures that
@@ -724,17 +725,6 @@ following caveats need be considered:
724725
- Cluster commands, using `r.cluster(...)`, *do not* currently support
725726
namespacing.
726727

727-
You can make a function run the `rm_namespace` function on its response by
728-
overriding the method and passing the `rm_namespace` kwarg to the
729-
`execute_command` function.
730-
731-
.. code-block:: pycon
732-
733-
>>> class MyRedis(StrictRedis):
734-
... def randomkey(self):
735-
... return self.execute_command('RANDOMKEY',
736-
... rm_namespace=self.rm_namespace)
737-
738728
Author
739729
^^^^^^
740730

0 commit comments

Comments
 (0)