airflow.example_dags.example_dynamic_task_mapping_with_no_taskflow_operators
¶
Example DAG demonstrating the usage of dynamic task mapping with non-TaskFlow operators.
Module Contents¶
Classes¶
A custom operator that adds one to the input. |
|
A custom operator that sums the input. |
Attributes¶
- class airflow.example_dags.example_dynamic_task_mapping_with_no_taskflow_operators.AddOneOperator(value, **kwargs)[source]¶
Bases:
airflow.models.baseoperator.BaseOperator
A 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.models.baseoperator.BaseOperator
A custom operator that sums the input.