def keys(self, redis_key: str):
    '\n        Get current keys on redis db that match the pattern\n\n        Args:\n            redis_key:pattern to match the redis keys\n\n        '
    for k in self.client.keys(pattern='{}*'.format(redis_key)):
        deserialized_key = k.decode('utf-8')
        print(deserialized_key)
Get current keys on redis db that match the pattern

Args:
    redis_key:pattern to match the redis keys
def keys(self, redis_key: str):
    '\n        Get current keys on redis db that match the pattern\n\n        Args:\n            redis_key:pattern to match the redis keys\n\n        '
    for k in self.client.keys(pattern='{}*'.format(redis_key)):
        deserialized_key = k.decode('utf-8')
        print(deserialized_key)