docs: def _first(self, query):
          """Gets the first row of the query. Raises NotFoundError if there isn't a row"""
          result = query.first()
          if result is None:
              raise NotFoundError
          else:
              if result.has_expired(self._expirations):
                  raise NotFoundError
              return result