(cls)
return list(set(
            getattr(cls, k) for k in dir(cls)
            if getattr(getattr(cls, k), "handler", False)
        ))
Returns a list of all event handlers for this Component
Returns a list of all event handlers for this Component
Returns a list of all event handlers for this Component
def handlers(cls):
        """Returns a list of all event handlers for this Component"""

        return list(set(
            getattr(cls, k) for k in dir(cls)
            if getattr(getattr(cls, k), "handler", False)
        ))
def handlers ( cls ) : return list ( set ( getattr ( cls , k ) for k in dir ( cls ) if getattr ( getattr ( cls , k ) , "handler" , False ) ) )