Using Luigi, how to read PostgreSQL data and then pass such data to the next task in the workflow?
问题 Using Luigi, I want to define a workflow with two "stages": The first one reads data from PostgreSQL. The second one does something with the data. Thus I've started by subclassing luigi.contrib.postgres.PostgresQuery and overriding host, database, user, etc as stated in the doc. After that, how to pass the query result to the next task in the workflow? Such next task already specifies in the requires method the above class must be instantiated and returned. My code: class MyData(luigi.contrib