luigi.configuration package

Module contents

luigi.configuration.add_config_path(path)[source]

Select config parser by file extension and add path into parser.

luigi.configuration.get_config(parser='cfg')[source]

Get configs singleton for parser

class luigi.configuration.LuigiConfigParser(defaults=None, dict_type=<class 'collections.OrderedDict'>, allow_no_value=False)[source]

Bases: luigi.configuration.base_parser.BaseParser, ConfigParser.ConfigParser

NO_DEFAULT = <object object>
enabled = True
classmethod reload()[source]
get(section, option, default=<object object>, **kwargs)[source]
getboolean(section, option, default=<object object>)[source]
getint(section, option, default=<object object>)[source]
getfloat(section, option, default=<object object>)[source]
getintdict(section)[source]
set(section, option, value=None)[source]
class luigi.configuration.LuigiTomlParser[source]

Bases: luigi.configuration.base_parser.BaseParser

NO_DEFAULT = <object object>
enabled = False
data = {}
read(config_paths)[source]
get(section, option, default=<object object>, **kwargs)[source]
getboolean(section, option, default=<object object>)[source]
getint(section, option, default=<object object>)[source]
getfloat(section, option, default=<object object>)[source]
getintdict(section)[source]
set(section, option, value=None)[source]