You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/04/16 04:52:58 UTC

[GitHub] [airflow] retornam removed a comment on issue #8287: [AIRFLOW-4363] Fix JSON encoding error

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:
users@infra.apache.org


With regards,
Apache Git Services