def __init__(self, port=None, path='redis-server', **extra_args):
    '\n        :param port: port number to start the redis server on. Specify none to automatically generate\n        :type port: int|None\n        :param extra_args: any extra arguments kwargs will be passed to redis server as --key val\n        '
    self._port = port
    self.port = None
    self.extra_args = list(itertools.chain(*((('--%s' % k), v) for (k, v) in extra_args.items())))
    self.path = os.getenv(REDIS_PATH_ENVVAR, path)
:param port: port number to start the redis server on. Specify none to automatically generate
:type port: int|None
:param extra_args: any extra arguments kwargs will be passed to redis server as --key val
def __init__(self, port=None, path='redis-server', **extra_args):
    '\n        :param port: port number to start the redis server on. Specify none to automatically generate\n        :type port: int|None\n        :param extra_args: any extra arguments kwargs will be passed to redis server as --key val\n        '
    self._port = port
    self.port = None
    self.extra_args = list(itertools.chain(*((('--%s' % k), v) for (k, v) in extra_args.items())))
    self.path = os.getenv(REDIS_PATH_ENVVAR, path)