

def __init__(self, element_type, path):
    if (not (element_type in RSpecElements)):
        raise InvalidRSpecElement(element_type)
    self.type = element_type
    self.path = path

dataset/ETHPy150Open fp7-ofelia/ocf/ofam/src/src/foam/sfa/rspecs/rspec_elements.py RSpecElement.__init__/original