Exemplo n.º 1
0
  def __init__(self, team):
    self.team = team
    self.sessions = {}
    self.running = False
    self.cond = asyncio.Condition()
    self.current_pair = None

    self.min_size = scrum.default_min_players(self.options, team.size)
Exemplo n.º 2
0
    def __init__(self, team):
        self.team = team
        self.sessions = {}
        self.wid_sessions = {}
        self.running = False
        self.cond = asyncio.Condition()

        self.solved = set()
        self.widq = collections.deque()
        self.wids = {}

        self.min_size = scrum.default_min_players(self.options, team.size)