edanalytics / edu_edfi_airflow

Manages extract-load of Ed-Fi data in Airflow
Other
4 stars 0 forks source link

Copy query_parameters when called in build_endpoint_configs to preven… #49

Closed jayckaiser closed 1 month ago

jayckaiser commented 2 months ago

…t desynchronization across DAG runs.

This bug was caused by query_parameters being updated in place. If school_year was set to true for any DAG, this parameter remained in the argument and cascaded into all subsequent DAGs. To resolve this, the contents of query_parameters has been deep-copied before being set in the endpoint configs.