René's URL Explorer Experiment


Title: Fixes #457, refactor sengrid get method of Mail class by Prashant-Surya · Pull Request #486 · sendgrid/sendgrid-python · GitHub

Open Graph Title: Fixes #457, refactor sengrid get method of Mail class by Prashant-Surya · Pull Request #486 · sendgrid/sendgrid-python

X Title: Fixes #457, refactor sengrid get method of Mail class by Prashant-Surya · Pull Request #486 · sendgrid/sendgrid-python

Description: The Official Twilio SendGrid Python API Library. Contribute to sendgrid/sendgrid-python development by creating an account on GitHub.

Open Graph Description: Refactored Mail class in sendgrid/helpers/mail which would fix get method complexity.

X Description: Refactored Mail class in sendgrid/helpers/mail which would fix get method complexity.

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

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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:155cc937-4dfa-8c91-4adb-63fcb4463326
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id91B0:D1D28:A016B5:D4B6CD:6B01BADB
html-safe-noncee58013ec8883f3f2721c13d758d52dc42445a0ac25e3497face3457bce383f1d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUIwOkQxRDI4OkEwMTZCNTpENEI2Q0Q6NkIwMUJBREIiLCJ2aXNpdG9yX2lkIjoiMzcwMjU1NTU2MDk0MDUxODEwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7e3176de17de1868d11741189acbcc096118d34d013370c9205748c8416aaeae
hovercard-subject-tagpull_request:149380048
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/sendgrid/sendgrid-python/486/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/be0e5427c4b6e3e1721f15a8d278775e6b55afb94177004e8ca0c6657aa5c2a1/sendgrid/sendgrid-python/pull/486
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/be0e5427c4b6e3e1721f15a8d278775e6b55afb94177004e8ca0c6657aa5c2a1/sendgrid/sendgrid-python/pull/486
og:image:altRefactored Mail class in sendgrid/helpers/mail which would fix get method complexity.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamePrashant-Surya
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
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
disable-turbofalse
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
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/sendgrid/sendgrid-python/pull/486#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsendgrid%2Fsendgrid-python%2Fpull%2F486
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%2F486
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=sendgrid%2Fsendgrid-python
Reloadhttps://github.com/sendgrid/sendgrid-python/pull/486
Reloadhttps://github.com/sendgrid/sendgrid-python/pull/486
Reloadhttps://github.com/sendgrid/sendgrid-python/pull/486
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
https://github.com/sendgrid/sendgrid-python
Prashant-Suryahttps://github.com/Prashant-Surya
sendgrid:masterhttps://github.com/sendgrid/sendgrid-python/tree/master
Prashant-Surya:issue-457https://github.com/Prashant-Surya/sendgrid-python/tree/issue-457
Conversationhttps://github.com/sendgrid/sendgrid-python/pull/486
Commits2 (2)https://github.com/sendgrid/sendgrid-python/pull/486/commits
Checkshttps://github.com/sendgrid/sendgrid-python/pull/486/checks
Files changedhttps://github.com/sendgrid/sendgrid-python/pull/486/files
Fixes #457, refactor sengrid get method of Mail classhttps://github.com/sendgrid/sendgrid-python/pull/486#top
Prashant-Suryahttps://github.com/Prashant-Surya
sendgrid:masterhttps://github.com/sendgrid/sendgrid-python/tree/master
Prashant-Surya:issue-457https://github.com/Prashant-Surya/sendgrid-python/tree/issue-457
https://github.com/Prashant-Surya
Prashant-Suryahttps://github.com/Prashant-Surya
Oct 29, 2017https://github.com/sendgrid/sendgrid-python/pull/486#issue-269390854
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/486
https://github.com/thinkingserious
thinkingserioushttps://github.com/thinkingserious
status: code review request https://github.com/sendgrid/sendgrid-python/issues?q=state%3Aopen%20label%3A%22status%3A%20code%20review%20request%22
Oct 29, 2017https://github.com/sendgrid/sendgrid-python/pull/486#event-1315493746
https://github.com/SendGridDX
SendGridDXhttps://github.com/SendGridDX
Oct 29, 2017https://github.com/sendgrid/sendgrid-python/pull/486#issuecomment-340254672
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/486
https://cla.sendgrid.com/sendgrid/sendgrid-python?pullRequest=486
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/486
https://github.com/codecov-io
codecov-iohttps://github.com/codecov-io
Oct 29, 2017https://github.com/sendgrid/sendgrid-python/pull/486#issuecomment-340255230
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/486
Codecovhttps://codecov.io/gh/sendgrid/sendgrid-python/pull/486?src=pr&el=h1
#486https://codecov.io/gh/sendgrid/sendgrid-python/pull/486?src=pr&el=desc
masterhttps://codecov.io/gh/sendgrid/sendgrid-python/commit/52f86b7a9d3e7c7519653f7e79c82f421f1fc490?src=pr&el=desc
https://codecov.io/gh/sendgrid/sendgrid-python/pull/486?src=pr&el=tree
Impacted Fileshttps://codecov.io/gh/sendgrid/sendgrid-python/pull/486?src=pr&el=tree
sendgrid/helpers/mail/mail.pyhttps://codecov.io/gh/sendgrid/sendgrid-python/pull/486/diff?src=pr&el=tree#diff-c2VuZGdyaWQvaGVscGVycy9tYWlsL21haWwucHk=
sendgrid/helpers/inbound/send.pyhttps://codecov.io/gh/sendgrid/sendgrid-python/pull/486/diff?src=pr&el=tree#diff-c2VuZGdyaWQvaGVscGVycy9pbmJvdW5kL3NlbmQucHk=
sendgrid/helpers/mail/category.pyhttps://codecov.io/gh/sendgrid/sendgrid-python/pull/486/diff?src=pr&el=tree#diff-c2VuZGdyaWQvaGVscGVycy9tYWlsL2NhdGVnb3J5LnB5
sendgrid/helpers/mail/asm.pyhttps://codecov.io/gh/sendgrid/sendgrid-python/pull/486/diff?src=pr&el=tree#diff-c2VuZGdyaWQvaGVscGVycy9tYWlsL2FzbS5weQ==
sendgrid/helpers/mail/section.pyhttps://codecov.io/gh/sendgrid/sendgrid-python/pull/486/diff?src=pr&el=tree#diff-c2VuZGdyaWQvaGVscGVycy9tYWlsL3NlY3Rpb24ucHk=
sendgrid/helpers/mail/header.pyhttps://codecov.io/gh/sendgrid/sendgrid-python/pull/486/diff?src=pr&el=tree#diff-c2VuZGdyaWQvaGVscGVycy9tYWlsL2hlYWRlci5weQ==
sendgrid/helpers/mail/substitution.pyhttps://codecov.io/gh/sendgrid/sendgrid-python/pull/486/diff?src=pr&el=tree#diff-c2VuZGdyaWQvaGVscGVycy9tYWlsL3N1YnN0aXR1dGlvbi5weQ==
sendgrid/helpers/mail/custom_arg.pyhttps://codecov.io/gh/sendgrid/sendgrid-python/pull/486/diff?src=pr&el=tree#diff-c2VuZGdyaWQvaGVscGVycy9tYWlsL2N1c3RvbV9hcmcucHk=
sendgrid/helpers/mail/ganalytics.pyhttps://codecov.io/gh/sendgrid/sendgrid-python/pull/486/diff?src=pr&el=tree#diff-c2VuZGdyaWQvaGVscGVycy9tYWlsL2dhbmFseXRpY3MucHk=
sendgrid/helpers/mail/subscription_tracking.pyhttps://codecov.io/gh/sendgrid/sendgrid-python/pull/486/diff?src=pr&el=tree#diff-c2VuZGdyaWQvaGVscGVycy9tYWlsL3N1YnNjcmlwdGlvbl90cmFja2luZy5weQ==
19 morehttps://codecov.io/gh/sendgrid/sendgrid-python/pull/486/diff?src=pr&el=tree-more
Continue to review full report at Codecovhttps://codecov.io/gh/sendgrid/sendgrid-python/pull/486?src=pr&el=continue
Click here to learn morehttps://docs.codecov.io/docs/codecov-delta
Codecovhttps://codecov.io/gh/sendgrid/sendgrid-python/pull/486?src=pr&el=footer
52f86b7...a9173f2https://codecov.io/gh/sendgrid/sendgrid-python/pull/486?src=pr&el=lastupdated
comment docshttps://docs.codecov.io/docs/pull-request-comments
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/486
https://github.com/thinkingserious
thinkingserioushttps://github.com/thinkingserious
difficulty: medium https://github.com/sendgrid/sendgrid-python/issues?q=state%3Aopen%20label%3A%22difficulty%3A%20medium%22
hacktoberfest https://github.com/sendgrid/sendgrid-python/issues?q=state%3Aopen%20label%3Ahacktoberfest
Oct 29, 2017https://github.com/sendgrid/sendgrid-python/pull/486#event-1315781140
https://github.com/apigirl
apigirlhttps://github.com/apigirl
hacktoberfest https://github.com/sendgrid/sendgrid-python/issues?q=state%3Aopen%20label%3Ahacktoberfest
hacktoberfest https://github.com/sendgrid/sendgrid-python/issues?q=state%3Aopen%20label%3Ahacktoberfest
Oct 31, 2017https://github.com/sendgrid/sendgrid-python/pull/486#event-1319817390
https://github.com/Prashant-Surya
Fixeshttps://github.com/sendgrid/sendgrid-python/pull/486/commits/08f989deeca95ddf07da6f5db278b57cf4191d4b
sendgrid#457https://github.com/sendgrid/sendgrid-python/issues/457
, refactor sengrid get method of Mail classhttps://github.com/sendgrid/sendgrid-python/pull/486/commits/08f989deeca95ddf07da6f5db278b57cf4191d4b
08f989dhttps://github.com/sendgrid/sendgrid-python/pull/486/commits/08f989deeca95ddf07da6f5db278b57cf4191d4b
https://github.com/Prashant-Surya
Prashant-Suryahttps://github.com/Prashant-Surya
force-pushedhttps://github.com/sendgrid/sendgrid-python/compare/0b3b75af4dc33aaf1d85a287c40314547d9089c4..08f989deeca95ddf07da6f5db278b57cf4191d4b
0b3b75ahttps://github.com/sendgrid/sendgrid-python/commit/0b3b75af4dc33aaf1d85a287c40314547d9089c4
08f989dhttps://github.com/sendgrid/sendgrid-python/commit/08f989deeca95ddf07da6f5db278b57cf4191d4b
Compare https://github.com/sendgrid/sendgrid-python/compare/0b3b75af4dc33aaf1d85a287c40314547d9089c4..08f989deeca95ddf07da6f5db278b57cf4191d4b
November 2, 2017 06:16https://github.com/sendgrid/sendgrid-python/pull/486#event-1322360758
https://github.com/thinkingserious
thinkingserioushttps://github.com/thinkingserious
Nov 3, 2017https://github.com/sendgrid/sendgrid-python/pull/486#issuecomment-341605646
@Prashant-Suryahttps://github.com/Prashant-Surya
out our swag formhttps://dx.sendgrid.com/swag
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/486
https://github.com/Prashant-Surya
Prashant-Suryahttps://github.com/Prashant-Surya
Nov 3, 2017https://github.com/sendgrid/sendgrid-python/pull/486#issuecomment-341631001
@thinkingserioushttps://github.com/thinkingserious
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/486
https://github.com/thinkingserious
thinkingserioushttps://github.com/thinkingserious
Nov 3, 2017https://github.com/sendgrid/sendgrid-python/pull/486#issuecomment-341777540
@Prashant-Suryahttps://github.com/Prashant-Surya
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/486
https://github.com/thinkingserious
thinkingserioushttps://github.com/thinkingserious
type: twilio enhancement https://github.com/sendgrid/sendgrid-python/issues?q=state%3Aopen%20label%3A%22type%3A%20twilio%20enhancement%22
Feb 27, 2018https://github.com/sendgrid/sendgrid-python/pull/486#event-1495549875
https://github.com/thinkingserious
Merge branch 'master' into issue-457https://github.com/sendgrid/sendgrid-python/pull/486/commits/a9173f25b58d681ac7ba96fb0bca9d46e0bf89f8
a9173f2https://github.com/sendgrid/sendgrid-python/pull/486/commits/a9173f25b58d681ac7ba96fb0bca9d46e0bf89f8
thinkingserioushttps://github.com/thinkingserious
Jul 12, 2018 https://github.com/sendgrid/sendgrid-python/pull/486#ref-commit-4ee2dd6
https://github.com/thinkingserious
Integrate PRhttps://github.com/sendgrid/sendgrid-python/commit/4ee2dd679a43f925f08981af76714f57a612226d
#486https://github.com/sendgrid/sendgrid-python/pull/486
4ee2dd6https://github.com/sendgrid/sendgrid-python/commit/4ee2dd679a43f925f08981af76714f57a612226d
https://github.com/thinkingserious
thinkingserioushttps://github.com/thinkingserious
Jul 25, 2018https://github.com/sendgrid/sendgrid-python/pull/486#issuecomment-407848682
#347https://github.com/sendgrid/sendgrid-python/issues/347
this branchhttps://github.com/sendgrid/sendgrid-python/tree/v4
#347https://github.com/sendgrid/sendgrid-python/issues/347
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/486
https://github.com/thinkingserious
thinkingserioushttps://github.com/thinkingserious
Jul 25, 2018https://github.com/sendgrid/sendgrid-python/pull/486#event-1753283947
https://github.co/hiddenchars
https://github.com/sendgrid/sendgrid-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsendgrid%2Fsendgrid-python%2Fpull%2F486
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/486
difficulty: medium https://github.com/sendgrid/sendgrid-python/issues?q=state%3Aopen%20label%3A%22difficulty%3A%20medium%22
status: code review request https://github.com/sendgrid/sendgrid-python/issues?q=state%3Aopen%20label%3A%22status%3A%20code%20review%20request%22
type: twilio enhancement https://github.com/sendgrid/sendgrid-python/issues?q=state%3Aopen%20label%3A%22type%3A%20twilio%20enhancement%22
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/486
https://github.com/Prashant-Surya
https://github.com/SendGridDX
https://github.com/codecov-io
https://github.com/thinkingserious
https://github.com/apigirl
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.