Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/p/y/pyon-HEAD/pyon/core/registry.py   pyon(Download)
            def validating_setattr(self, name, value):
                from pyon.core.object import built_in_attrs
                if name not in self._schema and name not in built_in_attrs:
                    raise AttributeError("'%s' object has no attribute '%s'" % (type(self).__name__, name))
                self.__dict__[name] = value