How to continously update target file using Luigi?
问题 I have recently started playing around with Luigi , and I would like to find out how to use it to continuously append new data into an existing target file. Imagine I am pinging an api every minute to retrieve new data. Because a Task only runs if the Target is not already present, a naive approach would be to parameterize the output file by the current datetime . Here's a bare bones example: import luigi import datetime class data_download(luigi.Task): date = luigi.DateParameter(default =