view_student.py
def check_review_done(self, reviews_table, reviewer_id, reviewee_id, team_id, is_final):
        """
        Check if a review has been submitted using the given reviewer, reviewee, team_id, and is_final
        INPUT: -self,
               -reviews_table (an instance of gbmodel.reports() class that we use to make our database call),
               -reviewer_id (the id of the student who authored the review we are looking for),
               -reviewee_id (the id of the student being reviewed),
               -team_id (the id of the team the reviewer and reviewee are on),
               -is_final (a boolean to indicate if we are looking for a midterm or final review)
        OUTPUT: a boolean indiating if the review was found in the database or not
        """
        return reviews_table.get_report(reviewer_id, reviewee_id, team_id, is_final) is not None

        Check if a review has been submitted using the given reviewer, reviewee, team_id, and is_final
        INPUT: -self,
               -reviews_table (an instance of gbmodel.reports() class that we use to make our database call),
               -reviewer_id (the id of the student who authored the review we are looking for),
               -reviewee_id (the id of the student being reviewed),
               -team_id (the id of the team the reviewer and reviewee are on),
               -is_final (a boolean to indicate if we are looking for a midterm or final review)
        OUTPUT: a boolean indiating if the review was found in the database or not
        
Check if a review has been submitted using the given reviewer, reviewee, team_id, and is_final
INPUT: -self,
reviews_table (an instance of gbmodel.reports() class that we use to make our database call),
reviewer_id (the id of the student who authored the review we are looking for),
reviewee_id (the id of the student being reviewed),
team_id (the id of the team the reviewer and reviewee are on),
is_final (a boolean to indicate if we are looking for a midterm or final review)
OUTPUT: a boolean indiating if the review was found in the database or not
Check if a review has been submitted using the given reviewer reviewee team_id and is_final INPUT : - self reviews_table ( an instance of gbmodel . reports () class that we use to make our database call ) reviewer_id ( the id of the student who authored the review we are looking for ) reviewee_id ( the id of the student being reviewed ) team_id ( the id of the team the reviewer and reviewee are on ) is_final ( a boolean to indicate if we are looking for a midterm or final review ) OUTPUT : a boolean indiating if the review was found in the database or not
def check_review_done(self, reviews_table, reviewer_id, reviewee_id, team_id, is_final):
        return reviews_table.get_report(reviewer_id, reviewee_id, team_id, is_final) is not None
def check_review_done ( self , reviews_table , reviewer_id , reviewee_id , team_id , is_final ) : return reviews_table . get_report ( reviewer_id , reviewee_id , team_id , is_final ) is not None
Check if a review has been submitted using the given reviewer, reviewee, team_id, and is_final
INPUT: -self,
reviews_table (an instance of gbmodel.reports() class that we use to make our database call),
reviewer_id (the id of the student who authored the review we are looking for),
reviewee_id (the id of the student being reviewed),
team_id (the id of the team the reviewer and reviewee are on),
is_final (a boolean to indicate if we are looking for a midterm or final review)
OUTPUT: a boolean indiating if the review was found in the database or not
Check if a review has been submitted using the given reviewer reviewee team_id and is_final INPUT : - self reviews_table ( an instance of gbmodel . reports () class that we use to make our database call ) reviewer_id ( the id of the student who authored the review we are looking for ) reviewee_id ( the id of the student being reviewed ) team_id ( the id of the team the reviewer and reviewee are on ) is_final ( a boolean to indicate if we are looking for a midterm or final review ) OUTPUT : a boolean indiating if the review was found in the database or not
"""
        Check if a review has been submitted using the given reviewer, reviewee, team_id, and is_final
        INPUT: -self,
               -reviews_table (an instance of gbmodel.reports() class that we use to make our database call),
               -reviewer_id (the id of the student who authored the review we are looking for),
               -reviewee_id (the id of the student being reviewed),
               -team_id (the id of the team the reviewer and reviewee are on),
               -is_final (a boolean to indicate if we are looking for a midterm or final review)
        OUTPUT: a boolean indiating if the review was found in the database or not
        """
self
reviews_table
reviewer_id
reviewee_id
team_id
is_final