(self, spec: SelectionSpec)
return filtered_nodes
get_selected runs through the node selection process:

            - node selection. Based on the include/exclude sets, the set
                of matched unique IDs is returned
                - includes direct + indirect selection (for tests)
            - filtering:
                - selectors can filter the nodes after all of them have been
                  selected
get_selected runs through the node selection process:
get_selected runs through the node selection process :
def get_selected(self, spec: SelectionSpec) -> Set[UniqueId]:
        """get_selected runs through the node selection process:

            - node selection. Based on the include/exclude sets, the set
                of matched unique IDs is returned
                - includes direct + indirect selection (for tests)
            - filtering:
                - selectors can filter the nodes after all of them have been
                  selected
        """
        selected_nodes, indirect_only = self.select_nodes(spec)
        filtered_nodes = self.filter_selection(selected_nodes)

        return filtered_nodes
def get_selected ( self , spec : SelectionSpec ) -> Set [ UniqueId ] : selected_nodes , indirect_only = self . select_nodes ( spec ) filtered_nodes = self . filter_selection ( selected_nodes ) return filtered_nodes