Skip to content

Commit

Permalink
Remove internal_api_call from models/serialized_dag (apache#44501)
Browse files Browse the repository at this point in the history
  • Loading branch information
jason810496 authored Nov 30, 2024
1 parent 8e7797f commit 288a18c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions airflow/models/serialized_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
from sqlalchemy.sql.expression import func, literal
from sqlalchemy_utils import UUIDType

from airflow.api_internal.internal_api_call import internal_api_call
from airflow.exceptions import TaskNotFound
from airflow.models.base import ID_LEN, Base
from airflow.models.dag import DagModel
Expand Down Expand Up @@ -456,7 +455,6 @@ def get_dag_dependencies(cls, session: Session = NEW_SESSION) -> dict[str, list[
return {dag_id: [DagDependency(**d) for d in (deps_data or [])] for dag_id, deps_data in iterator}

@staticmethod
@internal_api_call
@provide_session
def get_serialized_dag(dag_id: str, task_id: str, session: Session = NEW_SESSION) -> Operator | None:
try:
Expand Down

0 comments on commit 288a18c

Please sign in to comment.