airflow.example_dags.example_dynamic_task_mapping_with_no_taskflow_operators¶
Example DAG demonstrating the usage of dynamic task mapping with non-TaskFlow operators.
Attributes¶
Classes¶
A custom operator that adds one to the input. |
|
A custom operator that sums the input. |
Module Contents¶
- class airflow.example_dags.example_dynamic_task_mapping_with_no_taskflow_operators.AddOneOperator(value, **kwargs)[source]¶
Bases:
airflow.sdk.BaseOperatorA custom operator that adds one to the input.
- class airflow.example_dags.example_dynamic_task_mapping_with_no_taskflow_operators.SumItOperator(values, **kwargs)[source]¶
Bases:
airflow.sdk.BaseOperatorA custom operator that sums the input.