

def get_property(self, name):
    '\n        Returns the property with this name or raise AttributeError.\n        :returns: ``Action`` instance.\n        '
    for p in self.get_properties():
        if (p.name == name):
            return p
    raise AttributeError('Property not found.')

dataset/ETHPy150Open jonathanslenders/python-deployer/deployer/inspection/inspector.py Inspector.get_property/original