def __setattr__(self, attr, value):
    if self._IsValidKey(attr):
      raise AttributeError("Can't set conf values by attribute, use Load()")
    # __slots__ is defined above, so this will raise an AttributeError if the
    # attribute isn't one we expect; this limits the number of ways to abuse the
    # conf module singleton instance.  Also note that we can't use super()
    # normally here because of the sys.modules swap (Configuration is no longer
    # defined, and evaluates to None if used here).
    # pylint: disable=bad-super-call
    super(type(self), self).__setattr__(attr, value)

  # Don't use Synchronized on this one, because __getitem__ handles it.
Given a prior authorization, capture remaining amount not yet captured.
dataset/ETHPy150Open google/openhtf/openhtf/conf.py/Configuration.__setattr__--crossover with--dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/payment/modules/dummy/processor.py/PaymentProcessor.capture_authorized_payment