예제 #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)