def METHOD_NAME(spec, encoding_type=EncodingType.PATH):
    if encoding_type == EncodingType.PATH:
        return encode_paths(spec=spec)
    elif encoding_type == EncodingType.ADJACENCY_ONE_HOT:
        return encode_adj(spec=spec)
    elif encoding_type == EncodingType.GCN:
        return encode_gcn(spec=spec)
    elif encoding_type == EncodingType.SEMINAS:
        return encode_seminas(spec=spec)
    elif encoding_type == EncodingType.BONAS:
        return encode_bonas(spec=spec)
    else:
        logger.info(f'{encoding_type} is not yet implemented as an encoding type for nb101')
        raise NotImplementedError()