Skip to content

Dummy

flowtask.components.Dummy

Dummy

Dummy(job=None, *args, **kwargs)

Bases: FlowComponent

close async

close()

close.

Close (if needed) a task

run async

run()

run.

Close (if needed) a task

save_stats

save_stats()

Extension to save stats for this component

start async

start(**kwargs)

start.

Initialize (if needed) a task

Example:

Dummy:
  message: 'Dummy Date: {firstdate} and {lastdate}'
  masks:
    firstdate:
    - date_diff_dow
    - day_of_week: monday
      diff: 8
      mask: '%Y-%m-%d'
    lastdate:
    - date_diff_dow
    - day_of_week: monday
      diff: 2
      mask: '%Y-%m-%d'