docs: def _one(self, query):
          """Gets one row from the query. Raises NotFoundError if there isn't a row or if there are multiple rows"""
          try:
              result = query.one()
              if result.has_expired(self._expirations):
                  raise NotFoundError
              return result
          except (NoResultFound, MultipleResultsFound):
              raise NotFoundError