potiuk commented on issue #24325:
URL: https://github.com/apache/airflow/issues/24325#issuecomment-1149965252

   What errors do you see? you have not written that. Please clarify. I expect 
this is a problem with some of the templated fields of the opearator that get  
a different value than string - but it's hard to say without you showing the 
error. My guess is that you are passing some data that looks like a Dict to a 
templated field and it gets rendered as a dict..
   
   There are various ways you can deal with it - for eample you can extend 
SimpleHttpOperator and remove the field that causes the problem from 
templated_fields, pass your data in a different format, or disable retndering 
as native_obj,
   
   By definition, render_as_nativeobj will render all templated_fields as 
native objects and the fact that it might not work in all cases is the whole 
reason why it is disabled by default - then you can decide in your DAG how  to 
deal with it on your own after you enable it. Moving it to discussions awaiting 
more comments, and clairfications, but it seems like ti's working as expected 
for now.
   
   


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