def keys(self, pattern='*'):
        "Returns a list of keys matching ``pattern``"
        return self.execute_command('KEYS', pattern)
Returns a list of keys matching ``pattern``
stackoverflow/venv/lib/python3.6/site-packages/redis/client.py