charlesdong1991 commented on issue #25409:
URL: https://github.com/apache/airflow/issues/25409#issuecomment-1200139086

   Hey, @Taragolis it isn't silly at all, probably I am doing something very 
silly, haha 😅 
   
   So the use case at my company is, when we get the parsed sql query from for 
instance the file `haha.sql`, we also want to get this filename used for other 
logics in our codebase. However, when setting the `template_fields` and 
`template_ext`, we cannot get that original filename anymore, and then we take 
a work it around to try to assign to a different attribute.
   
   So, if I understand correctly, for this case, we could use `ti.xcom_pull` 
for instance, to also let us get the original name for the attribute in 
`template_fields`?
   
   Thanks a lot for your help!! 🙇 And happy weekend!! 🤗 


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