2015-06-23 9 views

ответ

7

Найден ответ. Просто добавьте один из классов клиента (StrictRedis или Redis) и используйте их метод execute_command.

redis_client = redis.StrictRedis(host, port, db) 
data = redis_client.execute_command('custom redis command') 

https://github.com/andymccurdy/redis-py/issues/632

Смежные вопросы