Module ImportFrom alias Import alias ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Return Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Expr Call NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Expr Call NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Expr Call NameLoad Str keyword NameLoad For NameStore NameLoad body Expr Call NameLoad BinOpAdd BinOpAdd Str Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list Call NameLoad NameLoad Return NameLoad decorator_list ClassDef bases Call NameLoad NameLoad body FunctionDef arguments args NameParam defaults body Return Call NameLoad Str decorator_list decorator_list ClassDef bases Call NameLoad NameLoad body FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Num FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad Call NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad Call NameLoad Call AttributeLoad NameLoad attr Num Num Num keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Num decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A __future__ print_function N/A datetime helpers unittest N/A luigi N/A luigi.notifications luigi.mock MockTarget luigi.util inherits N/A N/A N/A luigi notifications DEBUG True A N/A N/A luigi Task N/A output N/A N/A self N/A N/A N/A N/A MockTarget /tmp/a.txt N/A run N/A N/A self N/A N/A N/A f N/A N/A N/A N/A self output open w N/A N/A print hello, world file f N/A N/A N/A f close N/A N/A B N/A N/A luigi Task N/A N/A date N/A N/A luigi DateParameter output N/A N/A self N/A N/A N/A N/A MockTarget N/A N/A N/A self date strftime /tmp/b-%Y-%m-%d.txt N/A run N/A N/A self N/A N/A N/A f N/A N/A N/A N/A self output open w N/A N/A print goodbye, space file f N/A N/A N/A f close N/A N/A XMLWrapper N/A N/A cls N/A N/A XMLWrapperCls N/A N/A luigi Task N/A requires N/A N/A self N/A N/A N/A N/A N/A self clone_parent N/A run N/A N/A self N/A N/A N/A f N/A N/A N/A N/A self input open r N/A g N/A N/A N/A N/A self output open w N/A N/A print <?xml version="1.0" ?> file g N/A line f N/A N/A N/A print N/A N/A <dummy-xml> N/A N/A line strip </dummy-xml> file g N/A N/A N/A g close N/A N/A N/A inherits cls N/A XMLWrapperCls N/A AXML N/A N/A XMLWrapper A N/A output N/A N/A self N/A N/A N/A N/A MockTarget /tmp/a.xml N/A N/A BXML N/A N/A XMLWrapper B N/A output N/A N/A self N/A N/A N/A N/A MockTarget N/A N/A N/A self date strftime /tmp/b-%Y-%m-%d.xml N/A N/A WrapperTest N/A N/A unittest TestCase N/A N/A  This test illustrates how a task class can wrap another task class by modifying its behavior.

    See instance_wrap_test.py for an example of how instances can wrap each other.  N/A workers 1 setUp N/A N/A self N/A N/A N/A N/A N/A N/A MockTarget fs clear N/A test_a N/A N/A self N/A N/A N/A N/A N/A luigi build N/A N/A AXML local_scheduler True no_lock True workers N/A self workers N/A N/A N/A self assertEqual N/A N/A N/A MockTarget fs get_data /tmp/a.xml <?xml version="1.0" ?>
<dummy-xml>hello, world</dummy-xml>
 N/A test_b N/A N/A self N/A N/A N/A N/A N/A luigi build N/A N/A BXML N/A N/A datetime date 2012 1 1 local_scheduler True no_lock True workers N/A self workers N/A N/A N/A self assertEqual N/A N/A N/A MockTarget fs get_data /tmp/b-2012-01-01.xml <?xml version="1.0" ?>
<dummy-xml>goodbye, space</dummy-xml>
 N/A N/A WrapperWithMultipleWorkersTest N/A WrapperTest N/A N/A workers 7 N/A N/A N/A __name__ __main__ N/A N/A N/A N/A luigi run