namanjain24-sudo commented on PR #75431:
URL: https://github.com/apache/airflow/pull/75431#issuecomment-6375243670

   Noting the overlap: #75179 targets the same issue and was opened first. I 
missed it when I searched before opening this — GitHub's PR search did not 
return it for #75172 at the time — so this was not meant as a parallel attempt.
   
   The two are not equivalent, which is the only reason I am leaving this open 
rather than closing it. The Dag in #75172 puts the operator inside an expanded 
task group, and that child is a plain `TriggerDagRunOperator` with no 
`partial_kwargs`:
   
   ```
   is MappedOperator : False
   trigger_dag_id    : MappedArgument(...)
   partial_kwargs    : None
   ```
   
   So it goes through the `isinstance(task, TriggerDagRunOperator)` branch, not 
the `MappedOperator` one. With #75179 applied to current `main` the issue's Dag 
still raises `unhashable type: 'MappedArgument'`; with this PR it serializes. 
`ExternalTaskSensor` is reachable the same way on `external_dag_id`, so this 
guards all four branches.
   
   I have commented on #75179 with the same detail. If that one is extended to 
cover the rest I am happy to close this in its favour.
   
   ---
   Drafted-by: Claude Code (Opus 5); reviewed by @namanjain24-sudo before 
posting
   


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