2.7.0

EventType

Package: flyte.extras.webhooks

Base for event constants: a real str, usable anywhere a pattern is.

Subclass this in a provider plugin’s events module, one class per event type, with ANY as the bare type when the product splits type and action:

class PullRequest(EventType):
    ANY = "pull_request"
    OPENED = "pull_request.opened"

Parameters

class EventType(
    *args,
    **kwds,
)
Parameter Type Description
*args
**kwds