def _update_defaults(self, mapping):
    self._lock.acquire()
    try:
      for key, value in mapping.iteritems():
        if key.startswith('__') and key.endswith('__'):
          continue
        self._defaults[key] = value
      if self._initialized:
        self._update_configs()
    finally:
      self._lock.release()
We've got an invite event. Process and persist it. Sign it.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/lib_config.py/ConfigHandle._update_defaults--crossover with--dataset/ETHPy150Open matrix-org/synapse/synapse/handlers/federation.py/FederationHandler.on_invite_request