

def proto_gen_cmd(source, gen_type, gen_dir):
    ensure_dir(gen_type)
    if (gen_type == 'py'):
        return ['protoc', source, ('--python_out=%s' % os.path.dirname(source)), ('-I%s' % os.path.dirname(source))]

dataset/ETHPy150Open viewfinderco/viewfinder/__init__.py proto_gen_cmd/VarMisuse@16/24 `gen_dir`->`gen_type`