On created method

def on_created(self, event):
        """On created method"""
        for delegate in self.delegates:
            if hasattr(delegate, "on_created"):
                delegate.on_created(event)