Module Expr Str Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases body Assign NameStore Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore ListLoad TupleLoad Str AttributeLoad NameLoad attr TupleLoad BinOpMod Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad BinOpMod Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad BinOpMod Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad BinOpMod Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad BinOpMod Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr decorator_list NameLoad decorator_list
N/A N/A Runs a tornado process to run scheduler daemon and provides REST API & web ui.

How to use:

    SchedulerServer.run()
 N/A logging N/A signal N/A sys N/A tornado ndscheduler settings ndscheduler.core scheduler_manager ndscheduler.server.handlers audit_logs ndscheduler.server.handlers executions ndscheduler.server.handlers index ndscheduler.server.handlers jobs N/A logger N/A N/A logging getLogger __name__ SchedulerServer N/A N/A N/A VERSION v1 N/A singleton None __init__ N/A N/A self scheduler_instance N/A N/A N/A N/A self scheduler_manager scheduler_instance N/A N/A self tornado_settings N/A dict debug N/A settings DEBUG static_path N/A settings STATIC_DIR_PATH template_path N/A settings TEMPLATE_DIR_PATH scheduler_manager N/A self scheduler_manager N/A URLS N/A N/A / N/A index Handler N/A N/A /api/%s/jobs N/A self VERSION N/A jobs Handler N/A N/A /api/%s/jobs/(.*) N/A self VERSION N/A jobs Handler N/A N/A /api/%s/executions N/A self VERSION N/A executions Handler N/A N/A /api/%s/executions/(.*) N/A self VERSION N/A executions Handler N/A N/A /api/%s/logs N/A self VERSION N/A audit_logs Handler N/A N/A self application N/A N/A N/A tornado web Application URLS N/A self tornado_settings N/A start_scheduler N/A N/A self N/A N/A N/A N/A N/A N/A self scheduler_manager start N/A N/A N/A self post_scheduler_start N/A post_scheduler_start N/A N/A self N/A N/A N/A Implement this function to do things once scheduler starts N/A N/A stop_scheduler N/A N/A self N/A N/A N/A N/A N/A N/A self scheduler_manager stop N/A N/A N/A self post_scheduler_stop N/A post_scheduler_stop N/A N/A self N/A N/A N/A Implement this function to do things once scheduler stops N/A N/A signal_handler N/A N/A cls signal frame N/A N/A N/A N/A N/A logger info Stopping scheduler ... N/A N/A N/A N/A cls singleton stop_scheduler N/A N/A N/A logger info Done. Bye ~ N/A N/A N/A sys exit 0 N/A classmethod run N/A N/A cls N/A N/A N/A N/A N/A cls singleton N/A N/A N/A N/A signal signal N/A signal SIGINT N/A cls signal_handler N/A N/A cls singleton N/A cls N/A N/A N/A scheduler_manager SchedulerManager get_instance N/A N/A N/A N/A cls singleton start_scheduler N/A N/A N/A N/A N/A cls singleton application listen N/A settings HTTP_PORT N/A settings HTTP_ADDRESS N/A N/A N/A logger info N/A Running server at %s:%d ... N/A N/A settings HTTP_ADDRESS N/A settings HTTP_PORT N/A N/A N/A logger info N/A *** You can access scheduler web ui at http://localhost:%d *** N/A settings HTTP_PORT N/A N/A N/A N/A N/A N/A N/A tornado ioloop IOLoop instance start N/A classmethod N/A