Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions airflow/dags/edfi_resources_to_snowflake.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@

from util import io_helpers

from airflow.utils.dag_parsing_context import get_parsing_context
from airflow.utils.task_group import TaskGroup

from edu_edfi_airflow import EdFiResourceDAG

### Optimizing DAG parsing delays during execution (only Airflow 2.4+)
if importlib.metadata.version('apache-airflow') >= '2.4':
from airflow.utils.dag_parsing_context import get_parsing_context
__current_dag_id__ = get_parsing_context().dag_id
else:
__current_dag_id__ = None
### Optimizing DAG parsing delays during execution
__current_dag_id__ = get_parsing_context().dag_id


# Turning on descriptor DAGs doubles the total number processed by Airflow.
Expand Down
2 changes: 1 addition & 1 deletion init/venv-airflow-init.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Set versions to install into Airflow virtual environment
AIRFLOW_VERSION=2.9.3
AIRFLOW_VERSION=2.11.0

EA_AIRFLOW_UTIL_VERSION=0.3.6
EDFI_API_CLIENT_VERSION=0.2.3
Expand Down