code: def make_ast_func(
      name: str,
      input_kwargs: List[str],
      output_arg: str,
      body=List[ast.AST],
  ) -> ast.FunctionDef:
      args = make_ast_args(input_kwargs)
      r = make_return(output_arg)
      new_body = body + [r]
      f = ast.FunctionDef(
          name=name,
          args=args,
          body=new_body,
          decorator_list=[],
          lineno=0,
      )
      return f
  
file_path: PySyft/packages/syft/src/syft/service/code/user_code_parse.py
imports: import ast
  from typing import List
  from .unparse import unparse
label_desc: Use image node_id 4 for calling a global function with example usage: make_ast_func(name, input_kwargs, output_arg, body) and returns: f