def do_build_flow(self, **kwargs): flow = linear_flow.Flow('gapic-codegen') flow.add(protoc_tasks.ProtoDescGenTask('ProtoDesc', inject=kwargs), gapic_tasks.GapicCodeGenTask('GapicCodegen', inject=kwargs), gapic_tasks.GapicCopyTask('GapicCopy', inject=kwargs), gapic_tasks.GapicPackmanTask('GapicPackman', inject=kwargs)) return flow
def do_build_flow(self, **kwargs): flow = linear_flow.Flow('gapic-codegen') flow.add(protoc_tasks.ProtoDescGenTask('ProtoDesc', inject=kwargs), gapic_tasks.GapicCodeGenTask('GapicCodegen', inject=kwargs), format_tasks.PythonFormatTask('PythonFormat', inject=kwargs), gapic_tasks.GapicMergeTask('GapicMerge', inject=kwargs), gapic_tasks.GapicPackmanTask('GapicPackman', inject=kwargs)) return flow
def do_build_flow(self, **kwargs): flow = linear_flow.Flow('gapic-codegen') flow.add( protoc_tasks.ProtoDescGenTask('ProtoDesc', inject=kwargs), gapic_tasks.GapicCodeGenTask('GapicCodegen', inject=kwargs), format_tasks.PythonFormatTask('PythonFormat', inject=kwargs), # TODO: Add merge task for python here. We don't use # GapicMergeTask because we don't want to have baseline/ in # the final_repo_dir in Python. gapic_tasks.GapicCopyTask('GapicCopy', inject=kwargs), gapic_tasks.GapicPackmanTask('GapicPackman', inject=kwargs), package_tasks.GapicPackageDirTask('PackageDir', inject=kwargs)) return flow