code: def expand_value(self, **kwargs):
          
          selection = []
          for v in self.get_value(**kwargs):
              for choice in self.choices:
                  if v==choice and choice not in selection:
                      selection.append(choice)
                  elif fnmatch(choice, v) and choice not in selection:
                      selection.append(choice)
  
          return selection
docs: expand the selection to account for wildcards