Skip to content

Commit

Permalink
Fix MyPy issues in airflow/decorators and airflow/models (#20…
Browse files Browse the repository at this point in the history
…859)

Fix MyPy issues in ``airflow/decorators`` and ``airflow/models``

GitOrigin-RevId: 091d1da3f4f378666b78a6204473c7315274b1bf
  • Loading branch information
kaxil authored and Cloud Composer Team committed Sep 12, 2024
1 parent 05c39f4 commit ebc6c08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion airflow/decorators/task_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from airflow.utils.task_group import MappedTaskGroup, TaskGroup

if TYPE_CHECKING:
from airflow.models import DAG
from airflow.models.dag import DAG

F = TypeVar("F", bound=Callable[..., Any])
T = TypeVar("T", bound=Callable)
Expand Down
2 changes: 1 addition & 1 deletion airflow/models/skipmixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
from pendulum import DateTime
from sqlalchemy import Session

from airflow.models import DagRun
from airflow.models.baseoperator import BaseOperator
from airflow.models.dagrun import DagRun

# The key used by SkipMixin to store XCom data.
XCOM_SKIPMIXIN_KEY = "skipmixin_key"
Expand Down

0 comments on commit ebc6c08

Please sign in to comment.