| 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:7c48ed69-84f5-3f54-3774-fda6da2f818f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D49A:291B58:222AAB3:2B57332:6B01B508 |
| html-safe-nonce | 34bcdf5dd72613cbc93ba789b85f5c34439e85fa91f69e8cc53f863871884b91 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDlBOjI5MUI1ODoyMjJBQUIzOjJCNTczMzI6NkIwMUI1MDgiLCJ2aXNpdG9yX2lkIjoiOTIwNjg5MTIwNTQ1ODI0NDg3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 316d626c11dcb167e8a7d7fb631eeefdee9d0756b0a1d7e919241ad7a23c0dcd |
| hovercard-subject-tag | pull_request:121669037 |
| 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/316/files |
| twitter:image | https://avatars.githubusercontent.com/u/21265801?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/21265801?s=400&v=4 |
| og:image:alt | This PR deals with issue #224.
Proposed API simplification for Python Sendgrid module
A create_mail function has been added that helps to perform this.
Usage example:-
sg = sendgrid.SendGridAPICli... |
| 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/316/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsendgrid%2Fsendgrid-python%2Fpull%2F316%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%2F316%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/316/files |
| Reload | https://github.com/sendgrid/sendgrid-python/pull/316/files |
| Reload | https://github.com/sendgrid/sendgrid-python/pull/316/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 |
| dibyadas | https://github.com/dibyadas |
| sendgrid:master | https://github.com/sendgrid/sendgrid-python/tree/master |
| dibyadas:single_mail | https://github.com/dibyadas/sendgrid-python/tree/single_mail |
|
Conversation
34
| https://github.com/sendgrid/sendgrid-python/pull/316 |
|
Commits
7
| https://github.com/sendgrid/sendgrid-python/pull/316/commits |
|
Checks
0
| https://github.com/sendgrid/sendgrid-python/pull/316/checks |
|
Files changed
| https://github.com/sendgrid/sendgrid-python/pull/316/files |
| Please reload this page | https://github.com/sendgrid/sendgrid-python/pull/316/files |
|
Added feature to 'Send a Single Email to a Single Recipient'
| https://github.com/sendgrid/sendgrid-python/pull/316/files#top |
|
Show all changes
7 commits
| https://github.com/sendgrid/sendgrid-python/pull/316/files |
|
71a82cf
Version Bump v4.1.0: Pull #314 Add ability to impersonate subuser
thinkingserious May 9, 2017
| https://github.com/sendgrid/sendgrid-python/pull/316/commits/71a82cf45ee92885787557ef0f300893d594cb77 |
|
bfd18e9
added support for creating single mail and declared custom exceptions
dibyadas May 19, 2017
| https://github.com/sendgrid/sendgrid-python/pull/316/commits/bfd18e92deee220318e4355c8136b0e79a79c899 |
|
e64d532
increased functionalities
dibyadas May 20, 2017
| https://github.com/sendgrid/sendgrid-python/pull/316/commits/e64d53231a743db888f848ab2b5154e88a29bbc0 |
|
71ff547
added test
dibyadas May 21, 2017
| https://github.com/sendgrid/sendgrid-python/pull/316/commits/71ff5470e21286ee85a95456e349b0ed6566d536 |
|
8ec85b6
used SendGridException to handle HTTPErrors
dibyadas May 22, 2017
| https://github.com/sendgrid/sendgrid-python/pull/316/commits/8ec85b6368dd7992df1bb571957b6cedf90bfb80 |
|
3dd7ef3
fix for python 2.7 & 2.6
dibyadas May 22, 2017
| https://github.com/sendgrid/sendgrid-python/pull/316/commits/3dd7ef3695d68e8d7a18ab3d0973be6fe8b6ca0c |
|
ac64ab9
Merge branch 'master' into single_mail
thinkingserious Jun 7, 2017
| https://github.com/sendgrid/sendgrid-python/pull/316/commits/ac64ab98b7ea1bd306c95957e301e3e5afe3175e |
|
Clear filters
| https://github.com/sendgrid/sendgrid-python/pull/316/files |
| Please reload this page | https://github.com/sendgrid/sendgrid-python/pull/316/files |
| Please reload this page | https://github.com/sendgrid/sendgrid-python/pull/316/files |
|
__init__.py
| https://github.com/sendgrid/sendgrid-python/pull/316/files#diff-1ba4c40ab876c3cc2547cb290acaf5b89fb75960be6e459345c99a64df5eae39 |
|
exceptions.py
| https://github.com/sendgrid/sendgrid-python/pull/316/files#diff-e69f506edbba8ad5d4d21670edce09d13ee8bcb95278ff1ec3cb716a94d79858 |
|
mail.py
| https://github.com/sendgrid/sendgrid-python/pull/316/files#diff-4240b4e12e2bb0e5c9369c556938f5aab18e7ee3366f8e3107c93c96182615b9 |
|
test_mail.py
| https://github.com/sendgrid/sendgrid-python/pull/316/files#diff-67177a8d94c7cded0a163a6557ad5d886bffeb8fa025929bfd5e4e0218f6f168 |
| sendgrid/helpers/exceptions/__init__.py | https://github.com/sendgrid/sendgrid-python/pull/316/files#diff-1ba4c40ab876c3cc2547cb290acaf5b89fb75960be6e459345c99a64df5eae39 |
|
View file
| https://github.com/dibyadas/sendgrid-python/blob/ac64ab98b7ea1bd306c95957e301e3e5afe3175e/sendgrid/helpers/exceptions/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/sendgrid/sendgrid-python/pull/316/{{ revealButtonHref }} |
| w- | https://github.com/w- |
| May 22, 2017 | https://github.com/sendgrid/sendgrid-python/pull/316/files#r117651983 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/sendgrid/sendgrid-python/pull/316/files |
| dibyadas | https://github.com/dibyadas |
| May 22, 2017 | https://github.com/sendgrid/sendgrid-python/pull/316/files#r117662305 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/sendgrid/sendgrid-python/pull/316/files |
| sendgrid/helpers/exceptions/exceptions.py | https://github.com/sendgrid/sendgrid-python/pull/316/files#diff-e69f506edbba8ad5d4d21670edce09d13ee8bcb95278ff1ec3cb716a94d79858 |
|
View file
| https://github.com/dibyadas/sendgrid-python/blob/ac64ab98b7ea1bd306c95957e301e3e5afe3175e/sendgrid/helpers/exceptions/exceptions.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/sendgrid/sendgrid-python/pull/316/{{ revealButtonHref }} |
| w- | https://github.com/w- |
| May 22, 2017 | https://github.com/sendgrid/sendgrid-python/pull/316/files#r117652018 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/sendgrid/sendgrid-python/pull/316/files |
| dibyadas | https://github.com/dibyadas |
| May 22, 2017 | https://github.com/sendgrid/sendgrid-python/pull/316/files#r117662527 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/sendgrid/sendgrid-python/pull/316/files |
| thinkingserious | https://github.com/thinkingserious |
| May 22, 2017 | https://github.com/sendgrid/sendgrid-python/pull/316/files#r117843640 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://github.com/sendgrid/sendgrid-python/blob/0942f9de2d5ba5fedb65a23940ebe1005a21a6c7/sendgrid/exceptions.py | https://github.com/sendgrid/sendgrid-python/blob/0942f9de2d5ba5fedb65a23940ebe1005a21a6c7/sendgrid/exceptions.py |
| Please reload this page | https://github.com/sendgrid/sendgrid-python/pull/316/files |
| sendgrid/helpers/mail/mail.py | https://github.com/sendgrid/sendgrid-python/pull/316/files#diff-4240b4e12e2bb0e5c9369c556938f5aab18e7ee3366f8e3107c93c96182615b9 |
|
View file
| https://github.com/dibyadas/sendgrid-python/blob/ac64ab98b7ea1bd306c95957e301e3e5afe3175e/sendgrid/helpers/mail/mail.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/sendgrid/sendgrid-python/pull/316/{{ revealButtonHref }} |
|
| https://github.com/sendgrid/sendgrid-python/pull/316/files#diff-4240b4e12e2bb0e5c9369c556938f5aab18e7ee3366f8e3107c93c96182615b9 |
| thinkingserious | https://github.com/thinkingserious |
| May 26, 2017 | https://github.com/sendgrid/sendgrid-python/pull/316/files#r118746598 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/sendgrid/sendgrid-python/pull/316/files |
| dibyadas | https://github.com/dibyadas |
| May 27, 2017 | https://github.com/sendgrid/sendgrid-python/pull/316/files#r118814787 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/sendgrid/sendgrid-python/pull/316/files |
| thinkingserious | https://github.com/thinkingserious |
| May 27, 2017 | https://github.com/sendgrid/sendgrid-python/pull/316/files#r118829295 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| here | https://github.com/sendgrid/sendgrid-csharp/blob/master/src/SendGrid/Helpers/Mail/SendGridMessage.cs#L1464 |
| Please reload this page | https://github.com/sendgrid/sendgrid-python/pull/316/files |
|
| https://github.com/sendgrid/sendgrid-python/pull/316/files#diff-4240b4e12e2bb0e5c9369c556938f5aab18e7ee3366f8e3107c93c96182615b9 |
| test/test_mail.py | https://github.com/sendgrid/sendgrid-python/pull/316/files#diff-67177a8d94c7cded0a163a6557ad5d886bffeb8fa025929bfd5e4e0218f6f168 |
|
View file
| https://github.com/dibyadas/sendgrid-python/blob/ac64ab98b7ea1bd306c95957e301e3e5afe3175e/test/test_mail.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/sendgrid/sendgrid-python/pull/316/{{ revealButtonHref }} |
|
| https://github.com/sendgrid/sendgrid-python/pull/316/files#diff-67177a8d94c7cded0a163a6557ad5d886bffeb8fa025929bfd5e4e0218f6f168 |
|
| https://github.com/sendgrid/sendgrid-python/pull/316/files#diff-67177a8d94c7cded0a163a6557ad5d886bffeb8fa025929bfd5e4e0218f6f168 |
|
| https://github.com/sendgrid/sendgrid-python/pull/316/files#diff-67177a8d94c7cded0a163a6557ad5d886bffeb8fa025929bfd5e4e0218f6f168 |
|
| https://github.com/sendgrid/sendgrid-python/pull/316/files#diff-67177a8d94c7cded0a163a6557ad5d886bffeb8fa025929bfd5e4e0218f6f168 |
|
| 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 |