get_redis

privex.helpers.plugin.get_redis(new_connection=False, thread_id=None, **rd_config) → redis.client.Redis[source]

Get a Redis connection object. Create one if it doesn’t exist.