Skip to content

python(feat): campaigns resource - #795

Merged
Brandon-Shippy merged 8 commits into
mainfrom
python/campaigns-resource
Sep 26, 2026
Merged

Brandon-Shippy merged 8 commits into
mainfrom
python/campaigns-resource

Conversation

@Brandon-Shippy

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

Copy link
Copy Markdown
Contributor

Description

Adds a campaigns resource to sift_client. A campaign groups the reports from a series of runs, so a whole test program can be reviewed at once.

Campaign and all models are made
Implements get, list_, find, create, update, add_reports, add_runs, archive/unarchive, report_summaries

Validation

  • End to End testing with manual script written to test each new API feature.
  • Verified against a local stack, including a multi-run test program collected into one campaign

@github-actions

github-actions Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

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

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

@Brandon-Shippy
Brandon-Shippy force-pushed the python/campaigns-resource branch from 3b1af5d to 41c3e0e Compare September 17, 2026 23:57
@Brandon-Shippy
Brandon-Shippy marked this pull request as ready for review September 17, 2026 23:57
Comment thread python/lib/sift_client/sift_types/campaign.py Outdated
Comment thread python/lib/sift_client/sift_types/campaign.py Outdated
Comment thread python/lib/sift_client/sift_types/campaign.py Outdated
Comment thread python/lib/sift_client/sift_types/campaign.py Outdated
Comment thread python/lib/sift_client/sift_types/campaign.py Outdated
Comment thread python/lib/sift_client/sift_types/run.py Outdated
Comment thread python/lib/sift_client/sift_types/campaign.py
Comment thread python/lib/sift_client/resources/campaigns.py Outdated
Comment thread python/lib/sift_client/resources/campaigns.py Outdated
Comment thread python/lib/sift_client/resources/campaigns.py Outdated

@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.

Three comments. Dropping get_or_create and add_runs cleaned this up a lot.

Comment thread python/lib/sift_client/sift_types/campaign.py
Comment thread python/lib/sift_client/resources/campaigns.py
Comment thread python/lib/sift_client/resources/campaigns.py
Comment thread python/lib/sift_client/resources/campaigns.py
@Brandon-Shippy
Brandon-Shippy merged commit ce3f2af into main Sep 26, 2026
26 checks passed
@Brandon-Shippy
Brandon-Shippy deleted the python/campaigns-resource branch September 26, 2026 02:21
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.

2 participants