<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_role(self, role):
 """Returns a role object """

        role = AuthGroup.objects(role=role, creator=self.client).first()
        return role