

def thrift_gen_cmd(source, gen_type, gen_dir):
    ensure_dir(gen_dir)
    return ['thrift', '-gen', gen_type, '-out', gen_type, source]

dataset/ETHPy150Open viewfinderco/viewfinder/__init__.py thrift_gen_cmd/VarMisuse@29/48 `gen_dir`->`gen_type`