jedcunningham commented on code in PR #42913:
URL: https://github.com/apache/airflow/pull/42913#discussion_r1824508250
##########
providers/tests/fab/auth_manager/api_endpoints/test_backfill_endpoint.py:
##########
@@ -188,7 +188,7 @@ class TestCreateBackfill(TestBackfillEndpoint):
def test_create_backfill(self, session, dag_maker):
with dag_maker(session=session, dag_id="TEST_DAG_1", schedule="0 * * *
*") as dag:
EmptyOperator(task_id="mytask")
- session.add(SerializedDagModel(dag))
+ SerializedDagModel.write_dag(dag)
Review Comment:
Probably doesn't really matter. This one just stood out in the diff because
it was `session.add` before.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]