Last active
August 29, 2015 14:04
-
-
Save samuell/ce60b55025685a64e080 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class TaskA(luigi.Task): | |
| param1 = luigi.Parameter() | |
| pass # We leave out the details for now | |
| class TaskB(luigi.Task): | |
| param1 = luigi.Parameter() | |
| # Add a "hard-wired" depenency on TaskA | |
| def requires(self): | |
| return TaskA(param1=self.param1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment