o-nikolas commented on PR #30496:
URL: https://github.com/apache/airflow/pull/30496#issuecomment-1504518055

   > Also pending a deeper look at the tests which are failing because 
`AttributeError: 'TaskInstance' object has no attribute 'stat_tags'` when it 
has the @Property 
[here](https://github.com/apache/airflow/pull/30496/files#diff-649fbbf224bab54417f03338c27d0fdb3c3336e53a522a13dfd9806c99f63137R237).
   > @o-nikolas mentioned that it was likely because the stats_tags wasn't be 
stored in the db, so I thought making it a property and assembling it there was 
a clever solution. I may have to inline it (8 uses) but I was hoping for a more 
DRY answer.
   
   The code link you added is for the DagRun object, but the exception is 
referring to a TaskInstance object, I think you're missing a similar property 
on the TI (if that's what was intended, or you're trying to get that property 
on a different object than you think you're using).


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