4

The documentation says:

If a parameter is created with significant=False, it is ignored as far as the Task signature is concerned. Tasks created with only insignificant parameters differing have the same signature but are not the same instance.

But how does this help with the task-flow in Luigi, because if I want to run two instances of a task, with different arguments, I set significant=True for the parameters, such that Luigi considers them as separate tasks, and such that completion of one task doesn't mark the other task as DONE as well.

But I'm not getting these results by marking the parameters as significant=True . So, what does the significant parameter do, and when should I use it?

JJJ
  • 31,545
  • 20
  • 84
  • 99
Yankee
  • 1,680
  • 2
  • 20
  • 40

0 Answers0