<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def client(self, id):
 """Returns the client object in the database given a certain id. Raises an error if that does not exist."""


    return self.query(Client).filter(Client.id==id).one()