in asfpy/db.py [0:0]
def first_row(self, *params):
"Helper method to fetch the first row of a query."
self.perform(*params)
row = self.fetchone()
# We do not want to close the cursor. Thus, we must run the fetch
# to completion instead. For queries using .first_row() this should
# be no further rows.
_ = self.fetchall()
return row # note the ROW_FACTORY implies this is an EasyDict