Module Expr Str ImportFrom alias Import alias Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body If BoolOpAnd NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body TryExcept body Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Num Return NameLoad handlers ExceptHandler type NameLoad body Return Num Return Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareNotEq NameLoad Str body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Return Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str keyword Str keyword Num Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad If BoolOpAnd NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num NameLoad NameLoad body Import alias Assign NameStore BoolOpOr NameLoad Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword Str keyword NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword Str With NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad If BoolOpAnd NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Return Expr Call NameLoad NameLoad Expr Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list
N/A N/A 
Contains some helper functions to run luigid in daemon mode
 __future__ print_function N/A datetime N/A logging N/A logging.handlers N/A os N/A rootlogger N/A N/A logging getLogger N/A server_logger N/A N/A logging getLogger luigi.server check_pid N/A N/A pidfile N/A N/A N/A N/A pidfile N/A N/A N/A os path exists pidfile N/A N/A N/A N/A pid N/A int N/A N/A N/A N/A N/A open pidfile read strip N/A N/A N/A os kill pid 0 N/A pid N/A N/A N/A BaseException N/A N/A 0 N/A 0 N/A write_pid N/A N/A pidfile N/A N/A N/A N/A N/A server_logger info Writing pid file N/A piddir N/A N/A N/A os path dirname pidfile N/A N/A piddir N/A N/A N/A N/A N/A N/A os makedirs piddir N/A N/A N/A OSError N/A N/A N/A N/A open pidfile w fobj N/A N/A N/A N/A fobj write N/A str N/A N/A os getpid N/A get_log_format N/A N/A N/A N/A N/A %(asctime)s %(name)s[%(process)s] %(levelname)s: %(message)s N/A get_spool_handler N/A N/A filename N/A N/A N/A handler N/A N/A N/A logging handlers TimedRotatingFileHandler filename filename when d encoding utf8 backupCount 7 N/A formatter N/A N/A logging Formatter N/A get_log_format N/A N/A N/A handler setFormatter formatter N/A handler N/A _server_already_running N/A N/A pidfile N/A N/A N/A existing_pid N/A check_pid pidfile N/A N/A pidfile existing_pid N/A N/A True N/A False N/A daemonize N/A N/A cmd pidfile logdir api_port address unix_socket N/A None None 8082 None None N/A N/A daemon N/A logdir N/A logdir /var/log/luigi N/A N/A N/A N/A N/A os path exists logdir N/A N/A N/A N/A os makedirs logdir N/A log_path N/A N/A N/A os path join logdir luigi-server.log N/A today N/A N/A N/A datetime date today N/A stdout_path N/A N/A N/A os path join logdir N/A N/A luigi-server-{0:%Y-%m-%d}.out format today N/A stderr_path N/A N/A N/A os path join logdir N/A N/A luigi-server-{0:%Y-%m-%d}.err format today N/A stdout_proxy N/A open stdout_path a+ N/A stderr_proxy N/A open stderr_path a+ N/A N/A N/A ctx N/A N/A daemon DaemonContext stdout stdout_proxy stderr stderr_proxy working_directory . initgroups False N/A N/A N/A TypeError N/A N/A ctx N/A N/A daemon DaemonContext stdout stdout_proxy stderr stderr_proxy working_directory . N/A ctx N/A N/A loghandler N/A get_spool_handler log_path N/A N/A N/A rootlogger addHandler loghandler N/A pidfile N/A N/A N/A N/A server_logger info Checking pid file N/A existing_pid N/A check_pid pidfile N/A N/A pidfile existing_pid N/A N/A N/A N/A server_logger info Server already running (pid=%s) existing_pid N/A N/A N/A write_pid pidfile N/A N/A cmd api_port api_port address address unix_socket unix_socket N/A