You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/09/27 18:38:07 UTC

[GitHub] [airflow] kaxil commented on a diff in pull request #26713: Add documentation to dag test function

kaxil commented on code in PR #26713:
URL: https://github.com/apache/airflow/pull/26713#discussion_r981591530


##########
airflow/models/dag.py:
##########
@@ -2446,7 +2446,16 @@ def test(
         variable_file_path: str | None = None,
         session: Session = NEW_SESSION,
     ) -> None:
-        """Execute one single DagRun for a given DAG and execution date."""
+        """
+        Execute one single DagRun for a given DAG and execution date.
+
+        :param execution_date: execution date for the DAG run
+        :param run_conf: configuration to pass to newly created dagrun
+        :param conn_file_path: file path to a connection file in either yaml or json
+        :param variable_file_path: file path to a variable file in either yaml or json
+        :param session: database connection (optional)
+        :return:

Review Comment:
   ```suggestion
   ```
   
   We should remove the empty one or add details about it



-- 
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-unsubscribe@airflow.apache.org

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