Skip to content

Commit

Permalink
Doc and name fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
valentino committed Aug 29, 2018
1 parent c56dafa commit 07914a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions RedisLibrary/RedisLibraryKeywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ def get_from_redis(self, redis_conn, key):
"""
return redis_conn.get(key)

@keyword('Smembers From Redis')
def smembers_from_redis(self, redis_conn, key):
""" Get cached data from Redis
@keyword('Get Set From Redis Set')
def get_set_from_redis_set(self, redis_conn, key):
""" Get cached members from Redis sets
Arguments:
- redis_conn: Redis connection object
- key: Set keyword to find.
Examples:
| ${data}= | Get From Redis | ${redis_conn} | BARCODE:12345:67890 |
| ${data}= | Get Set From Redis Set | ${redis_conn} | BARCODE:12345:67890 |
"""
return redis_conn.smembers(key)

Expand Down

0 comments on commit 07914a9

Please sign in to comment.