Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove mentions and workarounds for older Redis versions #8

Merged
merged 8 commits into from
May 29, 2024
Prev Previous commit
Next Next commit
docs: fix mentioning of redis
Signed-off-by: Mikhail Koviazin <mikhail.koviazin@aiven.io>
mkmkme committed May 28, 2024
commit 495cdfb91c4ccf300cdf6007e1096722b6988b3c
4 changes: 2 additions & 2 deletions docs/lua_scripting.rst
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ key, multiplies it with the multiplier value and returns the result.

.. code:: python

>>> r = redis.Redis()
>>> r = valkey.Valkey()
>>> lua = """
... local value = redis.call('GET', KEYS[1])
... value = tonumber(value)
@@ -62,7 +62,7 @@ one that points to a completely different Valkey server.

.. code:: python

>>> r2 = redis.Redis('valkey2.example.com')
>>> r2 = valkey.Valkey('valkey2.example.com')
>>> r2.set('foo', 3)
>>> multiply(keys=['foo'], args=[5], client=r2)
15