luigi.cmdline_parser module

This module contains luigi internal parsing logic. Things exposed here should be considered internal to luigi.

class luigi.cmdline_parser.CmdlineParser(cmdline_args)[source]

Bases: object

Helper for parsing command line arguments and used as part of the context when instantiating task objects.

Normal luigi users should just use

Initialize cmd line args

classmethod get_instance()[source]

Singleton getter

classmethod global_instance(**kwds)[source]

Meant to be used as a context manager.


Get the task object