<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def query_one(self, sql, params=None):
 """Grab just one record """

        r = self.engine.execute(sql, params)
        return r.fetchone()