code: def get_branching_args_group(parser):
      """Return the arguments for automatic branching resolution."""
      branching_args_group = parser.add_argument_group(
          "Oríon branching arguments (optional)",
          description="Arguments to automatically resolved branching events.",
      )
  
      _add_enable_argument(branching_args_group)
      _add_manual_resolution_argument(branching_args_group)
      _add_non_monitored_arguments_argument(branching_args_group)
      _add_ignore_code_changes_argument(branching_args_group)
      _add_auto_resolution_argument(branching_args_group)
      _add_branch_from_argument(branching_args_group)
  
      for resolution_class in sorted(
          Resolution.__subclasses__(), key=lambda cls: cls.__name__
      ):
          if not resolution_class.ARGUMENT:
              continue
  
          metavar = resolution_class.namespace()
  
          # This should fail blatantly if we forget to create a parser for a new resolution which
          # needs argument in command-line for automatic resolution.
          assert (
              metavar in resolution_arguments
          ), UNDEFINED_PARSER_ERROR.format(metavar)
  
          resolution_arguments[metavar](
              branching_args_group, resolution_class
          )
  
      return branching_args_group
  
file_path: orion/src/orion/core/cli/evc.py
imports: from orion.core.evc import adapters
  from orion.core.evc.conflicts import Resolution
label_desc: Use image node_id 13 for calling a global function with example usage: get_branching_args_group(parser) and returns: branching_args_group