Skip to content

Commit

Permalink
Merge branch 'main' into reduce-complexity
Browse files Browse the repository at this point in the history
  • Loading branch information
tatiana authored Dec 4, 2023
2 parents 9b156b3 + a2c58f5 commit deed56e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_example_dags.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from __future__ import annotations

from pathlib import Path
from functools import cache

import airflow
import pytest
Expand Down Expand Up @@ -37,6 +38,7 @@ def session():
return get_session()


@cache
def get_dag_bag() -> DagBag:
"""Create a DagBag by adding the files that are not supported to .airflowignore"""
with open(AIRFLOW_IGNORE_FILE, "w+") as file:
Expand Down
2 changes: 2 additions & 0 deletions tests/test_example_dags_no_connections.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from __future__ import annotations

from pathlib import Path
from functools import cache

import airflow
import pytest
Expand All @@ -23,6 +24,7 @@
}


@cache
def get_dag_bag() -> DagBag:
"""Create a DagBag by adding the files that are not supported to .airflowignore"""
with open(AIRFLOW_IGNORE_FILE, "w+") as file:
Expand Down

0 comments on commit deed56e

Please sign in to comment.