def METHOD_NAME(
    self, sample: Optional[DeclarativeMeta], session: Optional[Session] = None
):
    """
    SQLAlchemy query to execute with .all()
    Note that we might need to pass the session
    from the profiler to precook some
    necessary ingredients.
    """