From 240796319cb2ef3c32099d99cb7d85ebdf227373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Srinivasan?= Date: Mon, 5 Aug 2019 17:35:06 -0700 Subject: [PATCH] Update README to be consistent with Gears docs Gears docs use GearsBuilder rather than RGB --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a981698..9f63dd1 100644 --- a/README.md +++ b/README.md @@ -3,14 +3,14 @@ ## Example: Using the Python Client: ```python -from gearsclient import GearsRemoteBuilder as GRB +from gearsclient import GearsRemoteBuilder as GearsBuilder import redis conn = redis.Redis(host='localhost', port=6379) # count for each genre how many times it appears -res = GRB('KeysOnlyReader', r=conn).\ +res = GearsBuilder('KeysOnlyReader', r=conn).\ map(lambda x:execute('hget', x, 'genres')).\ filter(lambda x:x != '\\N').\ flatmap(lambda x: x.split(',')).\ @@ -27,4 +27,4 @@ for r in res[0]: ``` pip install git+https://github.com/RedisGears/redisgears-py.git ``` -Notice that the library also need to be installed in RedisGears virtual env. \ No newline at end of file +Notice that the library also need to be installed in RedisGears virtual env.