

def convert(experiment, client_id, kpi=None, datetime=None, redis=None):
    exp = Experiment.find(experiment, redis=redis)
    if cfg.get('enabled', True):
        client = Client(client, redis=redis)
        alt = exp.convert(client, dt=datetime, kpi=kpi)
    else:
        alt = exp.control
    return alt

dataset/ETHPy150Open seatgeek/sixpack/sixpack/api.py convert/VarMisuse@53/60 `client_id`->`client`