def get_sql_dialect(session):
    """Return the active SqlAlchemy dialect.

    Args:
        session (object): the session to check for SqlAlchemy dialect

    Returns:
        str: name of the SqlAlchemy dialect
    """

    return session.bind.dialect.name