2.10.7
ClickUp
ClickUp webhooks for Flyte.
Hand a ClickUpProvider() to a WebhookAppEnvironment and register handlers with the
typed constants in events. Calling the ClickUp API is not this plugin’s job —
it is a handful of REST calls, so use httpx from your tasks. See
examples/external_saas_integrations.
Directory
Classes
| Class | Description |
|---|---|
ClickUpProvider |
ClickUp’s webhook provider, with its defaults pre-wired. |
Methods
| Method | Description |
|---|---|
parse() |
Normalize a ClickUp delivery into a WebhookEvent. |
verify() |
Verify the X-Signature HMAC over the raw body. |
Variables
| Property | Type | Description |
|---|---|---|
SAMPLE_DELIVERY |
tuple |
Methods
parse()
def parse(
headers: Mapping[str, str],
body: bytes,
) -> WebhookEventNormalize a ClickUp delivery into a WebhookEvent.
| Parameter | Type | Description |
|---|---|---|
headers |
Mapping[str, str] |
|
body |
bytes |
verify()
def verify(
body: bytes,
headers: Mapping[str, str],
secret: str,
) -> boolVerify the X-Signature HMAC over the raw body.
| Parameter | Type | Description |
|---|---|---|
body |
bytes |
|
headers |
Mapping[str, str] |
|
secret |
str |