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/15 17:03:01 UTC
[GitHub] [airflow] potiuk commented on a diff in pull request #26400: Create a more efficient airflow dag test command that also has better local logging
potiuk commented on code in PR #26400:
URL: https://github.com/apache/airflow/pull/26400#discussion_r972234245
##########
airflow/models/dag.py:
##########
@@ -2435,6 +2436,56 @@ def cli(self):
args = parser.parse_args()
args.func(args, self)
+ def test(self, execution_date: datetime | None = None, run_conf=None, session=None):
Review Comment:
If we can make it that simple, we should entirely replace DebugExecutor with this and update documentation (see previous example with cli() of @ashb - but if all you need now is to drop those two lines of code, then the whole DebugExecutor should be removed and all the doc references replaced with that one - because it is simpler. . We have quite a few of those.
--
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