kaxil commented on code in PR #26750:
URL: https://github.com/apache/airflow/pull/26750#discussion_r982663899
##########
airflow/cli/commands/task_command.py:
##########
@@ -369,9 +369,9 @@ def task_run(args, dag=None):
dag = get_dag_by_deserialization(args.dag_id)
except AirflowException:
print(f'DAG {args.dag_id} does not exist in the database,
trying to parse the dag_file')
- dag = get_dag(args.subdir, args.dag_id)
+ dag = get_dag(args.subdir, args.dag_id, include_examples=False)
else:
- dag = get_dag(args.subdir, args.dag_id)
+ dag = get_dag(args.subdir, args.dag_id, include_examples=False) #
--raw
Review Comment:
Do we need this comment?
```suggestion
dag = get_dag(args.subdir, args.dag_id, include_examples=False)
```
--
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]