ExecutionParameters(execution_date, tmp_dir, stats, execution_id, logging, **kwargs)¶
This is the context object that is accessible to every @task method. It can be accessed using
__init__(execution_date, tmp_dir, stats, execution_id, logging, **kwargs)¶
execution_date – Date when the execution is running
tmp_dir – temporary directory for the execution
stats – handle to emit stats
execution_id – Identifier for the xecution
logging – handle to logging
__init__(execution_date, tmp_dir, stats, …)
- param execution_date
Date when the execution is running
Returns task specific context if present else raise an error.
This is a datetime representing the time at which a workflow was started.
This is the identifier of the workflow execution within the underlying engine.
A handle to a useful logging object.
A handle to a special statsd object that provides usefully tagged stats.
A handle to a special working directory for easily producing temporary files.