src/orion/core/utils/backward.py
def db_is_outdated(database):
    """Return True if the database scheme is outdated."""
    deprecated_indices = [
        ("name", "metadata.user"),
        ("name", "metadata.user", "version"),
        "name_1_metadata.user_1",
        "name_1_metadata.user_1_version_1",
    ]

    index_information = database.index_information("experiments")
    return any(index in deprecated_indices for index in index_information.keys())
Return True if the database scheme is outdated.
Return True if the database scheme is outdated.
Return True if the database scheme is outdated .
def db_is_outdated(database):
    deprecated_indices = [
        ("name", "metadata.user"),
        ("name", "metadata.user", "version"),
        "name_1_metadata.user_1",
        "name_1_metadata.user_1_version_1",
    ]
    index_information = database.index_information("experiments")
    return any(index in deprecated_indices for index in index_information.keys())
def db_is_outdated ( database ) : deprecated_indices = [ ( "name" , "metadata.user" ) , ( "name" , "metadata.user" , "version" ) , "name_1_metadata.user_1" , "name_1_metadata.user_1_version_1" , ] index_information = database . index_information ( "experiments" ) return any ( index in deprecated_indices for index in index_information . keys ( ) )
Return True if the database scheme is outdated.
Return True if the database scheme is outdated .
"""Return True if the database scheme is outdated."""
database