def config(filename):
Config = collections.namedtuple('<STR_LIT>', [<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT:version>',<EOL>'<STR_LIT:name>',<EOL>'<STR_LIT:src>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>])<EOL>return [Config(**d) for d in _get_config_generator(filename)]<EOL>
Construct `Config` object and return a list.

:parse filename: A string containing the path to YAML file.
:return: list