@staticmethod
    def from_config(path=None):
        return RedisRouter(settings.REDIS_HOST, settings.REDIS_PORT,
                           0, settings.REDIS_PREFIX)
Returns a RedisRouter, using the default configuration from Ceryx
dataset/ETHPy150Open sourcelair/ceryx/api/ceryx/db.py/RedisRouter.from_config