René's URL Explorer Experiment


Title: Closes #389 - Campaign API Helper Classes by kylesalk · Pull Request #652 · sendgrid/sendgrid-python · GitHub

Open Graph Title: Closes #389 - Campaign API Helper Classes by kylesalk · Pull Request #652 · sendgrid/sendgrid-python

X Title: Closes #389 - Campaign API Helper Classes by kylesalk · Pull Request #652 · sendgrid/sendgrid-python

Description: Fixes Adds helper classes for campaigns Closes #389 Checklist I have made a material change to the repo (functionality, testing, spelling, grammar) I have read the [Contribution Guide] and my PR follows them. I updated my branch with the master branch. I have added tests that prove my fix is effective or that my feature works I have added necessary documentation about the functionality in the appropriate .md file I have added in line documentation to the code I modified Short description of what this PR does: Added helper classes for campaign, campaigns, and campaign scheduling Added utility functions for building, sending, and scheduling campaigns If you have questions, please send an email to SendGrid, or file a GitHub Issue in this repository.

Open Graph Description: Fixes Adds helper classes for campaigns Closes #389 Checklist I have made a material change to the repo (functionality, testing, spelling, grammar) I have read the [Contribution Guide] and my PR...

X Description: Fixes Adds helper classes for campaigns Closes #389 Checklist I have made a material change to the repo (functionality, testing, spelling, grammar) I have read the [Contribution Guide] and my PR...

Opengraph URL: https://github.com/sendgrid/sendgrid-python/pull/652

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e06b974f-4126-032d-0fc2-36bc9418ddeb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCE58:21AC3F:371B2CE:45C045A:6B01CDAA
html-safe-nonce783b9914795aafa3d716abf129b22c9f63fcc82e49c1cb2416d12b083604ae7d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTU4OjIxQUMzRjozNzFCMkNFOjQ1QzA0NUE6NkIwMUNEQUEiLCJ2aXNpdG9yX2lkIjoiNDMwMjU5MDEwMDI0MTUwMTYxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0f0b3e40977ea87d93945e0d830a78465408ecd2e0fea2dd4eff7b3f9613e0a5
hovercard-subject-tagpull_request:220960027
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/sendgrid/sendgrid-python/pull/652/files
twitter:imagehttps://avatars.githubusercontent.com/u/26846307?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/26846307?s=400&v=4
og:image:altFixes Adds helper classes for campaigns Closes #389 Checklist I have made a material change to the repo (functionality, testing, spelling, grammar) I have read the [Contribution Guide] and my PR...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/sendgrid/sendgrid-python git https://github.com/sendgrid/sendgrid-python.git
octolytics-dimension-user_id181234
octolytics-dimension-user_loginsendgrid
octolytics-dimension-repository_id3546794
octolytics-dimension-repository_nwosendgrid/sendgrid-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3546794
octolytics-dimension-repository_network_root_nwosendgrid/sendgrid-python
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/sendgrid/sendgrid-python/pull/652/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsendgrid%2Fsendgrid-python%2Fpull%2F652%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsendgrid%2Fsendgrid-python%2Fpull%2F652%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=sendgrid%2Fsendgrid-python
Reloadhttps://github.com/sendgrid/sendgrid-python/pull/652/files
Reloadhttps://github.com/sendgrid/sendgrid-python/pull/652/files
Reloadhttps://github.com/sendgrid/sendgrid-python/pull/652/files
sendgridhttps://github.com/sendgrid
sendgrid-pythonhttps://github.com/sendgrid/sendgrid-python
Codehttps://github.com/sendgrid/sendgrid-python
Issues50 (50)https://github.com/sendgrid/sendgrid-python/issues
Pull requests17 (17)https://github.com/sendgrid/sendgrid-python/pulls
Actionshttps://github.com/sendgrid/sendgrid-python/actions
Security and qualityhttps://github.com/sendgrid/sendgrid-python/security
Insightshttps://github.com/sendgrid/sendgrid-python/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fsendgrid%2Fsendgrid-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsendgrid%2Fsendgrid-python%2Fissues%2Fnew%2Fchoose
kylesalkhttps://github.com/kylesalk
sendgrid:mainhttps://github.com/sendgrid/sendgrid-python/tree/main
kylesalk:masterhttps://github.com/kylesalk/sendgrid-python/tree/master
Conversation 10 https://github.com/sendgrid/sendgrid-python/pull/652
Commits 17 https://github.com/sendgrid/sendgrid-python/pull/652/commits
Checks 0 https://github.com/sendgrid/sendgrid-python/pull/652/checks
Files changed https://github.com/sendgrid/sendgrid-python/pull/652/files
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/652/files
Closes #389 - Campaign API Helper Classes https://github.com/sendgrid/sendgrid-python/pull/652/files#top
Show all changes 17 commits https://github.com/sendgrid/sendgrid-python/pull/652/files
887bd3f Added campaign helper classes kylesalk Oct 7, 2018 https://github.com/sendgrid/sendgrid-python/pull/652/commits/887bd3f39518559d484e28e6f7ab0d47daaa442f
d4c8d65 Added schedule class to assist in scheduling campaigns kylesalk Oct 7, 2018 https://github.com/sendgrid/sendgrid-python/pull/652/commits/d4c8d6545731465976663213da3776bd237ba602
84cbaaa Added assist functions to build, build and send, or build and schedule kylesalk Oct 7, 2018 https://github.com/sendgrid/sendgrid-python/pull/652/commits/84cbaaa7fb7332482f7413759762cf466c25eea1
d4472a7 Added test cases for campaigns kylesalk Oct 7, 2018 https://github.com/sendgrid/sendgrid-python/pull/652/commits/d4472a70b493fd9aa5e97f51844c07e37fa50619
4dae80f Added examples for campaigns kylesalk Oct 7, 2018 https://github.com/sendgrid/sendgrid-python/pull/652/commits/4dae80f61b3c4662ca2da48eac4b92b78256a5f7
791f89e code cleanup kylesalk Oct 7, 2018 https://github.com/sendgrid/sendgrid-python/pull/652/commits/791f89e32c6469ff4ad78310b25d3841b5eaf4c3
f35aeff Merge branch 'release/#389' kylesalk Oct 7, 2018 https://github.com/sendgrid/sendgrid-python/pull/652/commits/f35aeff6bd5a6199a2a2899889c43539d80a7af3
3e9e629 Added use case for campaign helpers kylesalk Oct 7, 2018 https://github.com/sendgrid/sendgrid-python/pull/652/commits/3e9e6295268fde6d5ab5ab18f646a78c0449d4dd
d977f53 Changed total_seconds to seconds for 2.6 functionality kylesalk Oct 7, 2018 https://github.com/sendgrid/sendgrid-python/pull/652/commits/d977f532b1ec8e17375492694c4add1de9c8e3fd
d2f0e34 Python 2.6 compatibility for unix timestamps kylesalk Oct 7, 2018 https://github.com/sendgrid/sendgrid-python/pull/652/commits/d2f0e34821791813772fd81760d8425460194cad
5475d76 Properly return get() after patching a campaign kylesalk Oct 7, 2018 https://github.com/sendgrid/sendgrid-python/pull/652/commits/5475d765f319ac1e7397215c5dd6f10ee8b23ff5
1c0bde7 Expanded test cases kylesalk Oct 7, 2018 https://github.com/sendgrid/sendgrid-python/pull/652/commits/1c0bde75a382d732ec1a09a73b2f6806a59ab037
53b39e5 Updated test for 2.6 compat kylesalk Oct 7, 2018 https://github.com/sendgrid/sendgrid-python/pull/652/commits/53b39e513575ef9bc02e2d598c65ff2adf7095c6
39c854c Corrected patch dict suitable for API endpoint kylesalk Oct 8, 2018 https://github.com/sendgrid/sendgrid-python/pull/652/commits/39c854c4540c945082fe641a36e66806d0f822cf
57d8881 Expanded tests for more coverage kylesalk Oct 8, 2018 https://github.com/sendgrid/sendgrid-python/pull/652/commits/57d8881871c95190ae293d9019b54d8269d11f15
97cbe7f Switched to setattr instead of directly referencing private variables kylesalk Oct 8, 2018 https://github.com/sendgrid/sendgrid-python/pull/652/commits/97cbe7fa9662d60146a393ec2a341ccb9df5beba
65e52e7 Reference timestamp property kylesalk Oct 8, 2018 https://github.com/sendgrid/sendgrid-python/pull/652/commits/65e52e78fd9ac8b0d08f9c60fce3edff7c520478
Clear filters https://github.com/sendgrid/sendgrid-python/pull/652/files
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/652/files
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/652/files
campaigns.py https://github.com/sendgrid/sendgrid-python/pull/652/files#diff-a1e2435f92f690e5eec991e38cb3b57687f2843de3ee99ea46ca88edaf3c6c79
__init__.py https://github.com/sendgrid/sendgrid-python/pull/652/files#diff-b3749973be5084dcfc907218eecdec641757ed8071a3e4b24a27761c496bee9b
campaign.py https://github.com/sendgrid/sendgrid-python/pull/652/files#diff-e1404bc398da9b4038327b20078c4f6bbe4c1cce1ebf69cc34026d9ecf42b811
campaign_build.py https://github.com/sendgrid/sendgrid-python/pull/652/files#diff-051b61bcff1fc3fd4d7af527c670eaa9353aa60141ee39e2c52f985ea45d1ce1
campaign_build_scheduled.py https://github.com/sendgrid/sendgrid-python/pull/652/files#diff-25d249695adf3162799a1d44480b8fba6b1d999c8ad0acae3cef340cac4073f4
campaign_build_send.py https://github.com/sendgrid/sendgrid-python/pull/652/files#diff-1d8907efc19dd4b5a335ac227f5c6f436d249de6c97f4572798a6ffac5ffffce
campaigns.py https://github.com/sendgrid/sendgrid-python/pull/652/files#diff-12d03e78302c3d351c79616932a01c0cce16a4711c7e116c77bcb731292fb35f
schedule.py https://github.com/sendgrid/sendgrid-python/pull/652/files#diff-3e0a9b31ce907afba72c1b721b782be4ca4156efdc364a698d62c3c0c832ede7
test_campaigns.py https://github.com/sendgrid/sendgrid-python/pull/652/files#diff-8c914d13b787e2d13eb8fa4e6380c732e907470bb7983513227d6f014587f76f
campaign_helpers.md https://github.com/sendgrid/sendgrid-python/pull/652/files#diff-6750c6bb8d2cdc59a24fd1a15428b2a3514ea3bb8c3f013642f6023060b2bfe2
examples/helpers/campaigns/campaigns.pyhttps://github.com/sendgrid/sendgrid-python/pull/652/files#diff-a1e2435f92f690e5eec991e38cb3b57687f2843de3ee99ea46ca88edaf3c6c79
View file https://github.com/kylesalk/sendgrid-python/blob/65e52e78fd9ac8b0d08f9c60fce3edff7c520478/examples/helpers/campaigns/campaigns.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sendgrid/sendgrid-python/pull/652/{{ revealButtonHref }}
sendgrid/helpers/campaigns/__init__.pyhttps://github.com/sendgrid/sendgrid-python/pull/652/files#diff-b3749973be5084dcfc907218eecdec641757ed8071a3e4b24a27761c496bee9b
View file https://github.com/kylesalk/sendgrid-python/blob/65e52e78fd9ac8b0d08f9c60fce3edff7c520478/sendgrid/helpers/campaigns/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sendgrid/sendgrid-python/pull/652/{{ revealButtonHref }}
sendgrid/helpers/campaigns/campaign.pyhttps://github.com/sendgrid/sendgrid-python/pull/652/files#diff-e1404bc398da9b4038327b20078c4f6bbe4c1cce1ebf69cc34026d9ecf42b811
View file https://github.com/kylesalk/sendgrid-python/blob/65e52e78fd9ac8b0d08f9c60fce3edff7c520478/sendgrid/helpers/campaigns/campaign.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sendgrid/sendgrid-python/pull/652/{{ revealButtonHref }}
42Bhttps://github.com/42B
Oct 27, 2018https://github.com/sendgrid/sendgrid-python/pull/652/files#r228698596
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://docs.python.org/3/library/functions.html#isinstancehttps://docs.python.org/3/library/functions.html#isinstance
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/652/files
sendgrid/helpers/campaigns/campaign_build.pyhttps://github.com/sendgrid/sendgrid-python/pull/652/files#diff-051b61bcff1fc3fd4d7af527c670eaa9353aa60141ee39e2c52f985ea45d1ce1
View file https://github.com/kylesalk/sendgrid-python/blob/65e52e78fd9ac8b0d08f9c60fce3edff7c520478/sendgrid/helpers/campaigns/campaign_build.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sendgrid/sendgrid-python/pull/652/{{ revealButtonHref }}
sendgrid/helpers/campaigns/campaign_build_scheduled.pyhttps://github.com/sendgrid/sendgrid-python/pull/652/files#diff-25d249695adf3162799a1d44480b8fba6b1d999c8ad0acae3cef340cac4073f4
View file https://github.com/kylesalk/sendgrid-python/blob/65e52e78fd9ac8b0d08f9c60fce3edff7c520478/sendgrid/helpers/campaigns/campaign_build_scheduled.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sendgrid/sendgrid-python/pull/652/{{ revealButtonHref }}
sendgrid/helpers/campaigns/campaign_build_send.pyhttps://github.com/sendgrid/sendgrid-python/pull/652/files#diff-1d8907efc19dd4b5a335ac227f5c6f436d249de6c97f4572798a6ffac5ffffce
View file https://github.com/kylesalk/sendgrid-python/blob/65e52e78fd9ac8b0d08f9c60fce3edff7c520478/sendgrid/helpers/campaigns/campaign_build_send.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sendgrid/sendgrid-python/pull/652/{{ revealButtonHref }}
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/652/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.