def METHOD_NAME(cls) -> list[Node]:
    """
    Return nodes that currently have status 'online'
    Returns
    -------
    list[Node]
        List of node models that are currently online
    """
    session = DatabaseSessionManager.get_session()
    result = session.query(cls).filter_by(status='online').all()
    session.commit()
    return result