turbaszek commented on issue #52:
URL: https://github.com/apache/kibble/issues/52#issuecomment-715889419


   @skekre98 I think that python native ConfigParser does not support yamls out 
of the box. But it may be possible to construct ConfigParser from dictionary - 
however, I'm not sure if this is worth having additional custom logic.
   
   I think keeping it simple as possible would be the best option. So:
   1. Use `ini` type of file instead of yaml: 
https://docs.python.org/3.7/library/configparser.html#supported-ini-file-structure
   2. And then:
   ```
   config = configparser.ConfigParser()
   config.read("kibble.ini")
   ```
   
   However, I'm open to any other suggestion 


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


Reply via email to