          if not kwargs.get("choices", []):
              raise ValueError(f"Choices must be provided for Radio buttons: {opt}")
          super().__init__(*args, **kwargs)
  
      def __call__(self, parser, namespace, values, option_string=None):
          setattr(namespace, self.dest, values)
  
  
  class MultiOption(argparse.Action):  # pylint: disable=too-few-public-methods
      """ Adds support for multiple option checkboxes in the GUI.
 
</s> remove     def __call__(self, parser, namespace, values, option_string=None):
 </s> add     def __call__(self, parser, namespace, values, option_string=None) -> None: </s> remove     def __init__(self, *args, **kwargs):
 </s> add     def __init__(self, *args, **kwargs) -> None: </s> remove     pass  # pylint: disable=unnecessary-pass
 </s> add     def __call__(self, parser, namespace, values, option_string=None) -> None:
        """ Override :class:`_FullPaths` __call__ function.

        The input for this option can be a space separated list of files or a single folder.
        Folders can have spaces in them, so we don't want to blindly expand the paths.

        We check whether the input can be resolved to a folder first before expanding.
        """
        assert isinstance(values, (list, tuple))
        folder = os.path.abspath(os.path.expanduser(" ".join(values)))
        if os.path.isdir(folder):
            setattr(namespace, self.dest, [folder])
        else:  # file list so call parent method
            super().__call__(parser, namespace, values, option_string) </s> remove     def __call__(self, parser, namespace, values, option_string=None):
 </s> add     def __call__(self, parser, namespace, values, option_string=None) -> None: </s> remove     def __call__(self, parser, namespace, values, option_string=None):
 </s> add     def __call__(self, parser, namespace, values, option_string=None) -> None:
    def __call__(self, parser, namespace, values, option_string=None) -> None:
          if not kwargs.get("choices", []):
              raise ValueError(f"Choices must be provided for Radio buttons: {opt}")
          super().__init__(*args, **kwargs)
  
    def __call__(self, parser, namespace, values, option_string=None) -> None:
          setattr(namespace, self.dest, values)
  
  
  class MultiOption(argparse.Action):  # pylint: disable=too-few-public-methods
      """ Adds support for multiple option checkboxes in the GUI.
keep keep keep keep replace keep keep keep keep keep
 bugfix - extract filters: spaces in folder names 
lib/cli/actions.py