brokenjacobs commented on issue #8287: [AIRFLOW-4363] Fix JSON encoding error
URL: https://github.com/apache/airflow/pull/8287#issuecomment-614392003
 
 
   This still will not work. You cannot call json.loads() on a dictionary 
object. The documentation on the python docker library is not correct. 
   ```
   self.cli.pull(self.image, stream=True, decode=True)
   ```
   Returns a dictionary type when decode=True is passed, not a string. Any call 
to json.loads on a return from this method will result in an exception. The 
json.loads() call needs to be removed. 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to