""" A worker consumes tasks """ def generate(): pass def compile(): pass def activate_corr(): pass def join_pdf(): pass def clean(): pass WORKERS = { "GENERATE": generate, "COMPILE": compile, "ACTIVATE_CORR": activate_corr, "JOIN_PDF": join_pdf, "CLEAN": clean, }