Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/c/e/certmaster-HEAD/certmaster/commonconfig.py   certmaster(Download)
 
 
from config import BaseConfig, BoolOption, IntOption, Option
 
class CMConfig(BaseConfig):
    log_level = Option('INFO')
    listen_addr = Option('')
    listen_port = IntOption(51235)
class MinionConfig(BaseConfig):
    log_level = Option('INFO')
    certmaster = Option('certmaster')
    certmaster_port = IntOption(51235)
    cert_dir = Option('/etc/pki/certmaster')