def get_paths(self, key):
final_paths = []<EOL>if key in self.__cli:<EOL><INDENT>paths = self.__cli[key] or []<EOL>from_conf = False<EOL><DEDENT>else:<EOL><INDENT>paths = self.__config.get(key) or []<EOL>from_conf = True<EOL><DEDENT>for path in flatten_list(paths):<EOL><INDENT>final_path = self.__abspath(path, from_conf)<EOL>if final_path:<EOL><INDENT>final_paths.append(final_path)<EOL><DEDENT><DEDENT>return final_paths<EOL>
Same as `ConfigParser.get_path` for a list of paths.

Args:
    key: str, the key to lookup the paths with

Returns:
    list: The paths.