Luigi

LUIGI_CONFIG_PATH kwarg causes UnknownParameterException in luigi.build

info
configurationUpdated Apr 25, 2019(via Exa)
Technologies:
How to detect:

Passing LUIGI_CONFIG_PATH as a keyword argument to luigi.build() raises luigi.parameter.UnknownParameterException with message 'unknown parameter LUIGI_CONFIG_PATH', preventing programmatic workflow execution

Recommended action:

Import luigi.configuration and call add_config_path('path/to/config.cfg') before invoking luigi.build(). Do not pass LUIGI_CONFIG_PATH as a kwarg to luigi.build().