def get_outcome()

in jetstream/config.py [0:0]


    def get_outcome(self, outcome_slug: str, app_name: str) -> Outcome | None:
        """Return the outcome matching the specified slug."""
        for outcome in self.configs.outcomes:
            if outcome.slug == outcome_slug and app_name == outcome.platform:
                return copy.deepcopy(outcome)

        return None