retornam removed a comment on issue #8287: [AIRFLOW-4363] Fix JSON encoding 
error
URL: https://github.com/apache/airflow/pull/8287#issuecomment-614407228
 
 
   @brokenjacobs  not sure which docs you are looking at but the official docs 
here say it returns a generator or a str unless i'm missing something
   
   
   ```
   pull(repository, tag=None, stream=False, auth_config=None, decode=False, 
platform=None)
   
   Return type: (generator or str)
   >>> for line in cli.pull('busybox', stream=True, decode=True):
   ...     print(json.dumps(line, indent=4))
   {
       "status": "Pulling image (latest) from busybox",
       "progressDetail": {},
       "id": "e72ac664f4f0"
   }
   {
       "status": "Pulling image (latest) from busybox, endpoint: ...",
       "progressDetail": {},
       "id": "e72ac664f4f0"
   }
   ```

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