src/dirbs/utils.py
def verify_db_schema(conn, required_role):
    """
    Function that runs all DB verification checks.

    Arguments:
        conn: dirbs db connection object
        required_role: required role to verify it for the job
    """
    warn_if_db_superuser(conn)
    verify_db_roles_installed(conn)
    verify_db_role_for_job(conn, required_role)
    verify_db_schema_version(conn)
    verify_db_ownership(conn)
    verify_hll_schema(conn)
    verify_core_schema(conn)
    verify_db_search_path(conn)

    Function that runs all DB verification checks.

    Arguments:
        conn: dirbs db connection object
        required_role: required role to verify it for the job
    
Function that runs all DB verification checks.
Function that runs all DB verification checks .
def verify_db_schema(conn, required_role):
    warn_if_db_superuser(conn)
    verify_db_roles_installed(conn)
    verify_db_role_for_job(conn, required_role)
    verify_db_schema_version(conn)
    verify_db_ownership(conn)
    verify_hll_schema(conn)
    verify_core_schema(conn)
    verify_db_search_path(conn)
def verify_db_schema ( conn , required_role ) : warn_if_db_superuser ( conn ) verify_db_roles_installed ( conn ) verify_db_role_for_job ( conn , required_role ) verify_db_schema_version ( conn ) verify_db_ownership ( conn ) verify_hll_schema ( conn ) verify_core_schema ( conn ) verify_db_search_path ( conn )
Function that runs all DB verification checks.
Function that runs all DB verification checks .
"""
    Function that runs all DB verification checks.

    Arguments:
        conn: dirbs db connection object
        required_role: required role to verify it for the job
    """
conn
dirbs db connection object
dirbs db connection object
required_role
required role to verify it for the job
required role to verify it for the job