def get_reports_by_faculty(self, faculty):
    for report in self.db['reports'].find({'faculty': faculty}):
        (yield report)
def get_reports_by_faculty(self, faculty):
    for report in self.db['reports'].find({'faculty': faculty}):
        (yield report)