ferruzzi commented on PR #23256:
URL: https://github.com/apache/airflow/pull/23256#issuecomment-1110044278

   Please note:  The operators have `do_xcom_push=False` because they currently 
fail at the very end with the message "Object of type datetime is not JSON 
serializable".  This is a temporary workaround and can be fixed by adding 
json.dumps() to the return statements.  For example:  change `return 
self.hook.describe_endpoint_config(endpoint_info['EndpointConfigName'])` to 
`return 
json.dumps(self.hook.describe_endpoint_config(endpoint_info['EndpointConfigName']),
 cls=AirflowJsonEncoder)`.  
   
   I will submit a fix for those next, but that is outside the scope of this PR.


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