Skip to content

Commit

Permalink
Revert "Fix flakey test in DAG serialization (apache#44480)"
Browse files Browse the repository at this point in the history
This reverts commit cd5ccf0.
  • Loading branch information
kaxil committed Nov 29, 2024
1 parent 288c87d commit 2fab7a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion task_sdk/src/airflow/sdk/definitions/dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ def get_serialized_fields(cls):
"fail_stop",
"schedule",
}
cls.__serialized_fields = frozenset(a.name for a in attrs.fields(cls)) - exclusion_list
cls.__serialized_fields = frozenset(vars(DAG(dag_id="test", schedule=None))) - exclusion_list
return cls.__serialized_fields

def get_edge_info(self, upstream_task_id: str, downstream_task_id: str) -> EdgeInfoType:
Expand Down

0 comments on commit 2fab7a9

Please sign in to comment.