def elements(self, local=False): """ Overrides the elements method in ContainerObject base class to allow for "local" kwarg to only iterate the members that are declared in this instance (i.e. not the prototype) """ if local: return iter(self._properties.values()) else: return ContainerObject.elements(self)
def elements(self, local=False): """ Overrides the elements method in ContainerObject base class to allow for "local" kwarg to only iterate the members that are declared in this instance (i.e. not the prototype) """ if local: return iter(self._properties.values()) else: return ContainerObject.elements(self)