The Config’s read/write property¶
Well, once the configuration’s structure is set and the Config object is instanciated,
we can access a bunch of convenience properties methods
like setting the read_write attribute :
see the full source for: property
1 2 3 4 5 6 | # let's create the config
cfg = Config(rootod)
# the api is read only
cfg.property.read_only()
# the read_write api is available
cfg.property.read_write()
|