예제 #1
0
 def in_rounds(self, first, last):
     try:
         return in_rounds(type(self), first, last, session=self.session,
             id_in_subsession=self.id_in_subsession)
     except InvalidRoundError as exc:
         msg = str(exc) + '; ' + (
             'Hint: you should not use this '
             'method if you are rearranging groups between rounds.'
         )
         ExceptionClass = type(exc)
         raise ExceptionClass(msg) from None
예제 #2
0
 def in_rounds(self, first, last):
     try:
         return in_rounds(type(self),
                          first,
                          last,
                          session=self.session,
                          id_in_subsession=self.id_in_subsession)
     except InvalidRoundError as exc:
         msg = str(exc) + '; ' + (
             'Hint: you should not use this '
             'method if you are rearranging groups between rounds.')
         ExceptionClass = type(exc)
         raise ExceptionClass(msg) from None
예제 #3
0
 def in_rounds(self, first, last):
     return in_rounds(type(self), first, last, session=self.session)
예제 #4
0
 def in_rounds(self, first, last):
     return in_rounds(type(self), first, last, participant=self.participant)
예제 #5
0
 def in_rounds(self, first, last):
     return in_rounds(type(self), first, last, session=self.session)
예제 #6
0
 def in_rounds(self, first, last):
     return in_rounds(type(self), first, last, participant=self.participant)