Skip to content

Instantly share code, notes, and snippets.

@agneszhangmeng
agneszhangmeng / run_luigi.py
Created August 21, 2016 04:19 — forked from bonzanini/run_luigi.py
Example of Luigi task pipeline
# run with a custom --n
# python run_luigi.py SquaredNumbers --local-scheduler --n 20
import luigi
class PrintNumbers(luigi.Task):
n = luigi.IntParameter(default=10)
def requires(self):
return []