luigi.contrib.simulate module¶
A module containing classes used to simulate certain behaviors
-
class
luigi.contrib.simulate.
RunAnywayTarget
(task_obj)[source]¶ Bases:
luigi.target.Target
A target used to make a task run every time it is called.
Usage:
Pass self as the first argument in your task’s output:
And then mark it as done in your task’s run:
-
temp_dir
= '/tmp/luigi-simulate'¶
-
temp_time
= 86400¶
-
unique
= <Synchronized wrapper for c_int(0)>¶
-