def __init__(self, logger, lock, parser, **kwargs):
    self._logger = logger
    self._lock = lock
    self._modules = kwargs
    self._declarations = {}
    self.ARG_PARSER = parser

    # Parse just the flags we care about, since this happens at import time.
    self._flags, _ = parser.parse_known_args()

    # Populate flag_values from flags now.
    self._flag_values = {}
    for keyval in self._flags.config_value:
      self._flag_values.setdefault(*keyval.split('=', 1))

    # Initialize self._loaded_values and load from --config-file if it's set.
    self.Reset()
Initializes the configuration state.
dataset/ETHPy150Open google/openhtf/openhtf/conf.py/Configuration.__init__