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 2020/02/05 16:38:12 UTC

[GitHub] [airflow] ashb commented on a change in pull request #7370: [AIRFLOW-6590] Use batch db operations in jobs

ashb commented on a change in pull request #7370: [AIRFLOW-6590] Use batch db operations in jobs
URL: https://github.com/apache/airflow/pull/7370#discussion_r375370760
 
 

 ##########
 File path: airflow/cli/commands/task_command.py
 ##########
 @@ -169,8 +169,6 @@ def task_run(args, dag=None):
 
     task = dag.get_task(task_id=args.task_id)
     ti = TaskInstance(task, args.execution_date)
-    ti.refresh_from_db()
 
 Review comment:
   Does init_run_context look at any attributes of the TI? If so they won't be populated until this call.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services