oslso-config has this usage in use.
But where CONF is defined, no parameters are required. How can I pass it to CONF when calling? What about parameters?
Look at oslo_config.cfg.ConfigOpts#__call__
oslo_config.cfg.ConfigOpts#__call__
https://github.com/openstack/...
def __call__(self, args=None, project=None, prog=None, version=None, usage=None, default_config_files=None, default_config_dirs=None, validate_default_values=False, description=None, epilog=None):
Magic method __call__ Use objects as functions
__call__
Look at
oslo_config.cfg.ConfigOpts#__call__
https://github.com/openstack/...
Magic method
__call__
Use objects as functions