eomatch.finder.sat2sat.Sat2SatMUFinder.to_matchup_set#
- Sat2SatMUFinder.to_matchup_set(mu_events: List[MatchupEvent]) List[MatchupEvent][source]#
Query scrappi for each event and build per-event
MatchupSetobjects.For each
MatchupEvent, one scrappi query is issued per platform. Products returned for each platform are combined via a Cartesian product and those where all products geometrically overlap becomeMatchupobjects. Events for which fewer than two platforms return products are skipped.- Parameters:
mu_events – list of
MatchupEventobjects to query.- Returns:
the same list with
matchup_setpopulated for events that produced at least one matchup.