class_docstr: Inherit from this class if you wish to override any of the stages below. Otherwise, use
  ``argcomplete.autocomplete()`` directly (it's a convenience instance of this class). It has the same signature as
  :meth:`CompletionFinder.__call__()`.
code: def _get_completions(
      self, comp_words, cword_prefix, cword_prequote, last_wordbreak_pos
  ):
      active_parsers = self._patch_argument_parser()
  
      parsed_args = argparse.Namespace()
      self.completing = True
  
      try:
          debug("invoking parser with", comp_words[1:])
          with mute_stderr():
              a = self._parser.parse_known_args(
                  comp_words[1:], namespace=parsed_args
              )
          debug("parsed args:", a)
      except BaseException as e:
          debug("\nexception", type(e), str(e), "while parsing args")
  
      self.completing = False
  
      if "--" in comp_words:
          self.always_complete_options = False
  
      completions = self.collect_completions(
          active_parsers, parsed_args, cword_prefix
      )
      completions = self.filter_completions(completions)
      completions = self.quote_completions(
          completions, cword_prequote, last_wordbreak_pos
      )
      return completions
  
imports: import argparse
  import os
  import sys
  from collections.abc import Mapping
  from typing import Callable, Dict, List, Optional, Sequence, Union
  from .None import io
  from .completers import ChoicesCompleter, FilesCompleter, SuppressCompleter
  from .io import debug, mute_stderr
  from .lexers import split_line
  from .packages._argparse import IntrospectiveArgumentParser, action_is_greedy, action_is_open, action_is_satisfied
label_desc: Use image node_id 3 for calling the CompletionFinder obj's underlying member method code with example usage: obj._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) and returns: completions