Skip to content

python(feat): webhooks resource - #789

Merged
Brandon-Shippy merged 11 commits into
mainfrom
python/webhooks-resource
Sep 26, 2026
Merged

Brandon-Shippy merged 11 commits into
mainfrom
python/webhooks-resource

Conversation

@Brandon-Shippy

@Brandon-Shippy Brandon-Shippy commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Description

Adds a webhooks resource to sift_client, and lets a rule call a webhook when it is violated.

Webhook and all associated classes and enums are made.
Implements get, list_, find, create, update, archive/unarchive, send_test_request

Validation

  • End to End testing with manual script written to test each new API feature.
  • Full pipeline tested against a local stack: created a webhook and a rule with a webhook action, streamed points breaking the rule, and confirmed the delivery in the receiving server

@github-actions

github-actions Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Python docs preview: https://sift-stack.github.io/sift/python/pr-789/

Deployed from c37f42a. The link may take up to a minute to become live as GitHub Pages propagates.

@Brandon-Shippy
Brandon-Shippy marked this pull request as ready for review September 16, 2026 17:37
@Brandon-Shippy
Brandon-Shippy requested review from alexluck-sift, solidiquis and wei-qlu and removed request for wei-qlu September 16, 2026 17:37
Comment thread python/lib/sift_client/sift_types/rule.py
Comment thread python/lib/sift_client/sift_types/_refs.py Outdated
Comment thread python/lib/sift_client/sift_types/rule.py Outdated
Comment thread python/CHANGELOG.md Outdated
Comment thread python/lib/sift_client/sift_types/rule.py Outdated
@Brandon-Shippy
Brandon-Shippy force-pushed the python/webhooks-resource branch 2 times, most recently from cecc9b0 to a6ddb67 Compare September 21, 2026 16:04

@alexluck-sift alexluck-sift left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Audit pass on the webhooks surface. Nine comments, five of them nits. The first one is the only thing I'd call blocking, and it's a reviewer conflict rather than anything you did wrong.

Comment thread python/lib/sift_client/sift_types/rule.py Outdated
Comment thread python/lib/sift_client/sift_types/webhook.py
Comment thread python/lib/sift_client/resources/webhooks.py
Comment thread python/lib/sift_client/_internal/low_level_wrappers/webhooks.py
Comment thread python/lib/sift_client/resources/webhooks.py Outdated
Comment thread python/lib/sift_client/sift_types/webhook.py Outdated
Comment thread python/lib/sift_client/sift_types/webhook.py
Comment thread python/lib/sift_client/sift_types/webhook.py Outdated
Comment thread python/lib/sift_client/sift_types/webhook.py Outdated
Comment thread python/lib/sift_client/sift_types/rule.py Outdated
alexluck-sift
alexluck-sift previously approved these changes Sep 25, 2026
alexluck-sift
alexluck-sift previously approved these changes Sep 26, 2026
wei-qlu
wei-qlu previously approved these changes Sep 26, 2026

@wei-qlu wei-qlu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Brandon-Shippy
Brandon-Shippy force-pushed the python/webhooks-resource branch from b49c91d to 9094296 Compare September 26, 2026 02:18
@Brandon-Shippy
Brandon-Shippy enabled auto-merge (squash) September 26, 2026 02:19
wei-qlu
wei-qlu previously approved these changes Sep 26, 2026

@wei-qlu wei-qlu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@wei-qlu wei-qlu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Brandon-Shippy
Brandon-Shippy merged commit 9a019fd into main Sep 26, 2026
26 checks passed
@Brandon-Shippy
Brandon-Shippy deleted the python/webhooks-resource branch September 26, 2026 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants