Class CollectTaskMetaDataPlugin
Declaration
source linkMethods
▶ def transition(self, key, start, finish, *args, **kwargs) overrideinherited doc Run whenever a task changes state
This method overrides distributed.diagnostics.plugin.SchedulerPlugin.transition.
Parameters
- key : string
- start : string
Start state of the transition.
One of released, waiting, processing, memory, error.
- finish : string
Final state of the transition.
- *args, **kwargs : More options passed when transitioning
This may include worker ID, compute time, etc.
▶ def update_graph(self, scheduler, dsk=None, keys=None, restrictions=None, **kwargs) overrideinherited doc Run when a new graph / tasks enter the scheduler