sunank200 commented on code in PR #37826:
URL: https://github.com/apache/airflow/pull/37826#discussion_r1517120911


##########
tests/api_connexion/endpoints/test_dag_endpoint.py:
##########
@@ -144,6 +144,36 @@ def _create_dag_model_for_details_endpoint(self, dag_id, 
session=None):
         )
         session.add(dag_model)
 
+    @provide_session
+    def _create_dag_model_for_details_endpoint_with_dataset_expression(self, 
dag_id, session=None):
+        dag_model = DagModel(
+            dag_id=dag_id,
+            fileloc="/tmp/dag.py",
+            schedule_interval="2 2 * * *",
+            is_active=True,
+            is_paused=False,
+            dataset_expression={
+                "__type": "dataset_any",

Review Comment:
   Sure I can do that. I just exposed it as it is



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to