parameters: (self)
return_statement: return [group.name for group in self.groups if group.name in self._selected_groups]
docstring: Returns the selected group names. Ensures the order of the returned group names is correct.
docstring_summary: Returns the selected group names. Ensures the order of the returned group names is correct.
docstring_tokens: Returns the selected group names . Ensures the order of the returned group names is correct .
function: def selected_groups(self) -> list:
          """Returns the selected group names. Ensures the order of the returned group names is correct."""
          return [group.name for group in self.groups if group.name in self._selected_groups]
function_tokens: def selected_groups ( self ) -> list : return [ group . name for group in self . groups if group . name in self . _selected_groups ]