Airflow Summit 2025 is coming October 07-09. Register now for early bird ticket!

tests.system.openlineage.example_openlineage_mapped_simple_dag

Simple DAG with mapped task.

It checks:
  • task’s mapped attribute

  • taskInstance’s map_index attribute

  • number of OL events emitted for mapped task

Attributes

DAG_ID

test_run

Functions

check_events_number_func()

add_one(x)

Module Contents

tests.system.openlineage.example_openlineage_mapped_simple_dag.check_events_number_func()[source]
tests.system.openlineage.example_openlineage_mapped_simple_dag.DAG_ID = 'openlineage_mapped_simple_dag'[source]
tests.system.openlineage.example_openlineage_mapped_simple_dag.add_one(x)[source]
tests.system.openlineage.example_openlineage_mapped_simple_dag.test_run[source]

Was this entry helpful?