

def __init__(self, id, name, type):
    self._id = id
    self._name = name
    types = ['number', 'percent', 'max', 'min']
    if (type in types):
        self._type = type
    else:
        raise AttributeError(('Type not one of: ' + str(types)))

dataset/ETHPy150Open boundary/pulse-api-cli/boundary/webhook_handler.py WebHookMetric.__init__/original