def _check_spokes_priority_uniqueness(self): # Force us to always decide order of standalone spokes based on priority not by name. # This will ordering errors easier to spot. spokes = self.ordered_action_classes for hub in self.hubs: pre_spokes = UserInterface._filter_spokes_by_pre_for_hub_reference(spokes, hub) self._check_spokes_with_same_priority(pre_spokes) post_spokes = UserInterface._filter_spokes_by_post_for_hub_reference(spokes, hub) self._check_spokes_with_same_priority(post_spokes)