uranusjr commented on code in PR #42404:
URL: https://github.com/apache/airflow/pull/42404#discussion_r1770878996
##########
airflow/providers/cncf/kubernetes/cli/kubernetes_command.py:
##########
@@ -41,10 +41,10 @@
@providers_configuration_loaded
def generate_pod_yaml(args):
"""Generate yaml files for each task in the DAG. Used for testing output
of KubernetesExecutor."""
- execution_date = args.execution_date
+ logical_date = args.logical_date
dag = get_dag(subdir=args.subdir, dag_id=args.dag_id)
yaml_output_path = args.output_path
- dr = DagRun(dag.dag_id, execution_date=execution_date)
+ dr = DagRun(dag.dag_id, logical_date=logical_date)
Review Comment:
We need a try-except for 2.x. See code in databricks_workflow.py below.
--
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]