(func=None)
return func
Decorator that registers a function as a webhook handler for ALL webhook events.

    Handles all webhooks regardless of event type or sub-type.
Decorator that registers a function as a webhook handler for ALL webhook events.
Decorator that registers a function as a webhook handler for ALL webhook events .
def handler_all(func=None):
    """
    Decorator that registers a function as a webhook handler for ALL webhook events.

    Handles all webhooks regardless of event type or sub-type.
    """
    if not func:
        return functools.partial(handler_all)

    registrations_global.append(func)

    return func
def handler_all ( func = None ) : if not func : return functools . partial ( handler_all ) registrations_global . append ( func ) return func