josh-fell commented on a change in pull request #19062:
URL: https://github.com/apache/airflow/pull/19062#discussion_r731459744



##########
File path: airflow/providers/microsoft/winrm/example_dags/example_winrm.py
##########
@@ -28,23 +28,22 @@
 """
 This is an example dag for using the WinRMOperator.
 """
-from datetime import timedelta
+from datetime import datetime, timedelta
 
 from airflow import DAG
 from airflow.operators.dummy import DummyOperator
 from airflow.providers.microsoft.winrm.hooks.winrm import WinRMHook
 from airflow.providers.microsoft.winrm.operators.winrm import WinRMOperator
-from airflow.utils.dates import days_ago
 
 with DAG(
     dag_id='POC_winrm_parallel',
     schedule_interval='0 0 * * *',
-    start_date=days_ago(2),
+    start_date=datetime(2021, 1, 1),
     dagrun_timeout=timedelta(minutes=60),
     tags=['example'],
+    catchup=False,
 ) as dag:
 
-    cmd = 'ls -l'

Review comment:
       Removed unused variable in DAG.




-- 
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]


Reply via email to