def _make_credentials_property(name):
  def get_credentials_value(self):
    return getattr(self.credentials, name)
  def set_credentials_value(self, value):
    setattr(self.credentials, name, value)
  return property(get_credentials_value, set_credentials_value)
Helper method which generates properties.
dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/attic/PicasaSnap/gdata/gauth.py/_make_credentials_property