Exemplo n.º 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,
         )
     )
Exemplo n.º 2
0
 def _get_bugsByComments(self):
     return Bug.select(BugComment.q.author == self.email)
Exemplo n.º 3
0
 def _get_bugsByAssignedTo(self):
     return Bug.select(Bug.q.assignedTo == self.email)
Exemplo n.º 4
0
 def _get_bugsByQAContact(self):
     return Bug.select(Bug.q.qaContact == self.email)
Exemplo n.º 5
0
 def _get_bugsByReporter(self):
     return Bug.select(Bug.q.reporter == self.email)