code: def parse_args(args):
      parser = argparse.ArgumentParser(
          description=(
              "Generate a pip-compatible requirements.txt file from an MLflow"
              " requirements.yaml specification"
          )
      )
      parser.add_argument(
          "--requirements-yaml-location",
          required=True,
          help="Local file path of the requirements.yaml specification.",
      )
      parser.add_argument(
          "--requirements-txt-output-location",
          required=True,
          help="Local output path for the generated requirements.txt file.",
      )
  
      return parser.parse_args(args)
  
imports: import argparse
  import sys
  import yaml
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args(args) and returns: parser