def get_flags(flags):
    attributes = []
    for flag in Attribute.FLAGS.keys():
        if flags & flag:
            attributes.append(Attribute.FLAGS[flag])
    return attributes
Get readable list of attribute flags.
dataset/ETHPy150Open williballenthin/INDXParse/get_file_info.py/get_flags