The page you navigated to () does not exist, so we brought you to the closest page to it.
You have switched from the to the variant of this site. There is no equivalent of . We have taken you to the closest page in the variant.
2.1.9
Webhook
Package: flyte.notify
Send custom HTTP webhook notifications (most flexible option).
Parameters
class Webhook(
on_phase: typing.Union[flyte.models.ActionPhase, typing.Tuple[flyte.models.ActionPhase, ...]],
url: str,
method: typing.Literal['POST', 'PUT', 'PATCH', 'GET', 'DELETE', 'HEAD', 'OPTIONS', 'TRACE', 'CONNECT'],
headers: typing.Optional[typing.Dict[str, str]],
body: typing.Optional[typing.Dict[str, typing.Any]],
)| Parameter | Type | Description |
|---|---|---|
on_phase |
typing.Union[flyte.models.ActionPhase, typing.Tuple[flyte.models.ActionPhase, ...]] |
ActionPhase(s) to trigger notification |
url |
str |
Webhook URL (supports template variables) |
method |
typing.Literal['POST', 'PUT', 'PATCH', 'GET', 'DELETE', 'HEAD', 'OPTIONS', 'TRACE', 'CONNECT'] |
HTTP method (default: “POST”) |
headers |
typing.Optional[typing.Dict[str, str]] |
Optional HTTP headers (values support template variables) |
body |
typing.Optional[typing.Dict[str, typing.Any]] |
Optional request body as dict (all string values support template variables recursively) |