human
Here's a good function header given the following:
I wrote the below code

    q = mp.Queue(size)
    class EnqueProc(mp.Process, ):
        def __init__(self, df, q, nr_consumer):
            super(EnqueProc, self).__init__()
            self.df = df
            self.q = q
        def run(self):
            self.df.reset_state()
            try:
                for (idx, dp) in enumerate(self.df.get_data()):
                    self.q.put((idx, dp))
            finally:
                for _ in range(nr_consumer):
                    self.q.put((DIE, None))
    proc = EnqueProc(df, q, nr_consumer)
    return (q, proc)

What's a good function header?
assistant
#Here's a good function header.

def dump_dataflow_to_process_queue(df, size, nr_consumer):