def METHOD_NAME(self):
    if not self._subparsers:
        self.error('cannot return the subparser action, no subparsers added')
    for action in self._subparsers._group_actions:
        if isinstance(action, argparse._SubParsersAction):
            return action