Skip to content

Commit

Permalink
fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
dstandish committed Mar 20, 2024
1 parent eda1254 commit 286fabc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/models/taskinstance.py
Original file line number Diff line number Diff line change
Expand Up @@ -2110,7 +2110,7 @@ def ready_for_retry(self) -> bool:

@staticmethod
@internal_api_call
def _get_dagrun(dag_id, run_id, session) -> DagRun | DagRunPydantic:
def _get_dagrun(dag_id, run_id, session) -> DagRun:
from airflow.models.dagrun import DagRun # Avoid circular import

dr = session.query(DagRun).filter(DagRun.dag_id == dag_id, DagRun.run_id == run_id).one()
Expand Down

0 comments on commit 286fabc

Please sign in to comment.