src/dirbs/partition_utils.py
def exceptions_lists_indices():
    """Index metadata for exceptions lists."""
    return [
        IndexMetadatum(idx_cols=cols, is_unique=is_uniq, partial_sql=partial)
        for cols, is_uniq, partial in [
            (['imei_norm', 'imsi', 'msisdn'], True, 'WHERE end_run_id IS NULL'),
            (['end_run_id'], False, None),
            (['start_run_id'], False, None)
        ]
    ]
Index metadata for exceptions lists.
Index metadata for exceptions lists.
Index metadata for exceptions lists .
def exceptions_lists_indices():
    return [
        IndexMetadatum(idx_cols=cols, is_unique=is_uniq, partial_sql=partial)
        for cols, is_uniq, partial in [
            (['imei_norm', 'imsi', 'msisdn'], True, 'WHERE end_run_id IS NULL'),
            (['end_run_id'], False, None),
            (['start_run_id'], False, None)
        ]
    ]
def exceptions_lists_indices ( ) : return [ IndexMetadatum ( idx_cols = cols , is_unique = is_uniq , partial_sql = partial ) for cols , is_uniq , partial in [ ( [ 'imei_norm' , 'imsi' , 'msisdn' ] , True , 'WHERE end_run_id IS NULL' ) , ( [ 'end_run_id' ] , False , None ) , ( [ 'start_run_id' ] , False , None ) ] ]
Index metadata for exceptions lists.
Index metadata for exceptions lists .
"""Index metadata for exceptions lists."""