Context

data class Context(val dagRun: DagRun, val ti: TaskInstance)

Runtime context passed to the task execution.

Provides metadata about the current Dag run and task instance. Use Client to interact with Airflow at runtime.

Constructors

Link copied to clipboard
constructor(dagRun: DagRun, ti: TaskInstance)

Properties

Link copied to clipboard

Dag run the currently executing task instance belongs to.

Link copied to clipboard

Currently executing task instance.