| react-profiling | 0 |
| react-import-map | react,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-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e06b974f-4126-032d-0fc2-36bc9418ddeb |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CE58:21AC3F:371B2CE:45C045A:6B01CDAA |
| html-safe-nonce | 783b9914795aafa3d716abf129b22c9f63fcc82e49c1cb2416d12b083604ae7d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTU4OjIxQUMzRjozNzFCMkNFOjQ1QzA0NUE6NkIwMUNEQUEiLCJ2aXNpdG9yX2lkIjoiNDMwMjU5MDEwMDI0MTUwMTYxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0f0b3e40977ea87d93945e0d830a78465408ecd2e0fea2dd4eff7b3f9613e0a5 |
| hovercard-subject-tag | pull_request:220960027 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/sendgrid/sendgrid-python/pull/652/files |
| twitter:image | https://avatars.githubusercontent.com/u/26846307?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/26846307?s=400&v=4 |
| og:image:alt | 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... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/sendgrid/sendgrid-python git https://github.com/sendgrid/sendgrid-python.git |
| octolytics-dimension-user_id | 181234 |
| octolytics-dimension-user_login | sendgrid |
| octolytics-dimension-repository_id | 3546794 |
| octolytics-dimension-repository_nwo | sendgrid/sendgrid-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3546794 |
| octolytics-dimension-repository_network_root_nwo | sendgrid/sendgrid-python |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/sendgrid/sendgrid-python/pull/652/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsendgrid%2Fsendgrid-python%2Fpull%2F652%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsendgrid%2Fsendgrid-python%2Fpull%2F652%2Ffiles |
| Sign up | https://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 |
| Reload | https://github.com/sendgrid/sendgrid-python/pull/652/files |
| Reload | https://github.com/sendgrid/sendgrid-python/pull/652/files |
| Reload | https://github.com/sendgrid/sendgrid-python/pull/652/files |
| sendgrid | https://github.com/sendgrid |
| sendgrid-python | https://github.com/sendgrid/sendgrid-python |
| Code | https://github.com/sendgrid/sendgrid-python |
| Issues50 (50) | https://github.com/sendgrid/sendgrid-python/issues |
| Pull requests17 (17) | https://github.com/sendgrid/sendgrid-python/pulls |
| Actions | https://github.com/sendgrid/sendgrid-python/actions |
| Security and quality | https://github.com/sendgrid/sendgrid-python/security |
| Insights | https://github.com/sendgrid/sendgrid-python/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fsendgrid%2Fsendgrid-python%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fsendgrid%2Fsendgrid-python%2Fissues%2Fnew%2Fchoose |
| kylesalk | https://github.com/kylesalk |
| sendgrid:main | https://github.com/sendgrid/sendgrid-python/tree/main |
| kylesalk:master | https://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 page | https://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 page | https://github.com/sendgrid/sendgrid-python/pull/652/files |
| Please reload this page | https://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.py | https://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__.py | https://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.py | https://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 }} |
| 42B | https://github.com/42B |
| Oct 27, 2018 | https://github.com/sendgrid/sendgrid-python/pull/652/files#r228698596 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://docs.python.org/3/library/functions.html#isinstance | https://docs.python.org/3/library/functions.html#isinstance |
| Please reload this page | https://github.com/sendgrid/sendgrid-python/pull/652/files |
| sendgrid/helpers/campaigns/campaign_build.py | https://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.py | https://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.py | https://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 page | https://github.com/sendgrid/sendgrid-python/pull/652/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |