code: def apply_defaults(self, other_config):
          
          if isinstance(other_config, self.__class__):
              self.config.load_from_dict(other_config.config, overwrite=False)
          else:
              self.config.load_from_dict(other_config, overwrite=False)
docs: Applies default values from a different ConfigObject or ConfigKey object to this ConfigObject.
  
          If there are any values in this object that are also in the default object, it will use the values from this object.