Skip to content

Commit

Permalink
fixup! Determine needs_expansion on client side when DB isolated
Browse files Browse the repository at this point in the history
  • Loading branch information
dstandish committed Apr 25, 2024
1 parent 04c4a7a commit fbda238
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions airflow/cli/commands/task_command.py
Expand Up @@ -203,6 +203,8 @@ def _get_ti_db_access(
ti.dag_run = dag_run
else:
ti = ti_or_none
ti.refresh_from_task(task, pool_override=pool)
ti.task = None # serializing this again fails
return ti, dr_created


Expand Down

0 comments on commit fbda238

Please sign in to comment.