Пример #1
0
 def _get_bugs(self):
     return Bug.select(
         OR(
             Bug.q.reporter == self.email,
             Bug.q.assignedTo == self.email,
             Bug.q.qaContact == self.email,
             BugComment.q.author == self.email,
         )
     )
Пример #2
0
 def _get_bugsByComments(self):
     return Bug.select(BugComment.q.author == self.email)
Пример #3
0
 def _get_bugsByAssignedTo(self):
     return Bug.select(Bug.q.assignedTo == self.email)
Пример #4
0
 def _get_bugsByQAContact(self):
     return Bug.select(Bug.q.qaContact == self.email)
Пример #5
0
 def _get_bugsByReporter(self):
     return Bug.select(Bug.q.reporter == self.email)