Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am mikepii on github.
  • I am mikepii (https://keybase.io/mikepii) on keybase.
  • I have a public key ASArCoEcBt-JbRR25TvAQuFCrazarg64ntOH-DzV0HpE8Ao

To claim this, I am signing this object:

@mikepii
mikepii / gist:b530736a83b8d6de420e
Created July 2, 2015 21:44
luigi-swf WaitForExternalTasks base class
class WaitForExternalTasks(luigi.Task, SwfHeartbeatCancel):
"""Waits for a task in another workflow to complete.
Polls for the `complete` method on :meth:`wait_for`'s result
to return `True`.
Example of common parameters to override::
timeout = 10 * hours