René's URL Explorer Experiment


Title: refactor personalization.py as in issue #501 by defaults · Pull Request #493 · sendgrid/sendgrid-python · GitHub

Open Graph Title: refactor personalization.py as in issue #501 by defaults · Pull Request #493 · sendgrid/sendgrid-python

X Title: refactor personalization.py as in issue #501 by defaults · Pull Request #493 · 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: reduce Cognitive Complexity of get method and refactor init and other methods of personalization class Fixes #501 Checklist I have made a material change to the repo (functionality, testing, spe...

X Description: reduce Cognitive Complexity of get method and refactor init and other methods of personalization class Fixes #501 Checklist I have made a material change to the repo (functionality, testing, spe...

Mail addresses
dx@sendgrid.com

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

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:6fd3f4f7-fd0e-c8ee-ae1a-d1e72a043873
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC942:1F2D:243CB56:2DEBBC4:6B01BAEB
html-safe-nonce6ba2fa06942af63f075b5454a2d41ee45959629857425b2bcd9e08abd4ccb48f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTQyOjFGMkQ6MjQzQ0I1NjoyREVCQkM0OjZCMDFCQUVCIiwidmlzaXRvcl9pZCI6IjQ1MDY0ODI2MjE2NjgyNDQyMDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac57d6ac6911127ed75f9cd61246befbd3fac5cc53bf04c877a9698aabba023b13
hovercard-subject-tagpull_request:149391552
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/493/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7d36badd4f5a2f7539579411103d0523871bf871711cdfde4e24df87c3a095ab/sendgrid/sendgrid-python/pull/493
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7d36badd4f5a2f7539579411103d0523871bf871711cdfde4e24df87c3a095ab/sendgrid/sendgrid-python/pull/493
og:image:altreduce Cognitive Complexity of get method and refactor init and other methods of personalization class Fixes #501 Checklist I have made a material change to the repo (functionality, testing, spe...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedefaults
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/493#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsendgrid%2Fsendgrid-python%2Fpull%2F493
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%2F493
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/493
Reloadhttps://github.com/sendgrid/sendgrid-python/pull/493
Reloadhttps://github.com/sendgrid/sendgrid-python/pull/493
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
defaultshttps://github.com/defaults
sendgrid:masterhttps://github.com/sendgrid/sendgrid-python/tree/master
defaults:patch-1https://github.com/defaults/sendgrid-python/tree/patch-1
Conversationhttps://github.com/sendgrid/sendgrid-python/pull/493
Commits8 (8)https://github.com/sendgrid/sendgrid-python/pull/493/commits
Checkshttps://github.com/sendgrid/sendgrid-python/pull/493/checks
Files changedhttps://github.com/sendgrid/sendgrid-python/pull/493/files
refactor personalization.py as in issue #501https://github.com/sendgrid/sendgrid-python/pull/493#top
defaultshttps://github.com/defaults
sendgrid:masterhttps://github.com/sendgrid/sendgrid-python/tree/master
defaults:patch-1https://github.com/defaults/sendgrid-python/tree/patch-1
https://github.com/defaults
defaultshttps://github.com/defaults
Oct 29, 2017https://github.com/sendgrid/sendgrid-python/pull/493#issue-269410119
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/493
#501https://github.com/sendgrid/sendgrid-python/issues/501
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/493
https://github.com/defaults
refactor personalization.pyhttps://github.com/sendgrid/sendgrid-python/pull/493/commits/413b2de4dd6abf58f5b2b836516cd085aa7c0b58
413b2dehttps://github.com/sendgrid/sendgrid-python/pull/493/commits/413b2de4dd6abf58f5b2b836516cd085aa7c0b58
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/493#event-1315582506
https://github.com/defaults
fixes codeclimatehttps://github.com/sendgrid/sendgrid-python/pull/493/commits/639b2f036ffe913456cc6001ca0364deb74377b9
639b2f0https://github.com/sendgrid/sendgrid-python/pull/493/commits/639b2f036ffe913456cc6001ca0364deb74377b9
https://github.com/defaults
defaultshttps://github.com/defaults
Oct 29, 2017https://github.com/sendgrid/sendgrid-python/pull/493#event-1315584309
Fix "method_count" issue in sendgrid/helpers/mail/personalization.py #489 https://github.com/sendgrid/sendgrid-python/issues/489
Fix "method_count" issue in sendgrid/helpers/mail/personalization.py #490 https://github.com/sendgrid/sendgrid-python/issues/490
defaultshttps://github.com/defaults
October 29, 2017 22:01https://github.com/sendgrid/sendgrid-python/pull/493#commits-pushed-36bd766
https://github.com/defaults
fix travis errorhttps://github.com/sendgrid/sendgrid-python/pull/493/commits/36bd766137e52ae6df068de3332e5d17799586b8
36bd766https://github.com/sendgrid/sendgrid-python/pull/493/commits/36bd766137e52ae6df068de3332e5d17799586b8
https://github.com/defaults
fix spelling mistakehttps://github.com/sendgrid/sendgrid-python/pull/493/commits/66a64a6175b6a6a30a487cfc331d319d86e965e2
66a64a6https://github.com/sendgrid/sendgrid-python/pull/493/commits/66a64a6175b6a6a30a487cfc331d319d86e965e2
https://github.com/defaults
defaultshttps://github.com/defaults
Oct 29, 2017 https://github.com/sendgrid/sendgrid-python/pull/493#ref-issue-269395698
Fix "method_count" issue in sendgrid/helpers/mail/personalization.py #487 https://github.com/sendgrid/sendgrid-python/issues/487
https://github.com/codecov-io
codecov-iohttps://github.com/codecov-io
Oct 29, 2017https://github.com/sendgrid/sendgrid-python/pull/493#issuecomment-340276298
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/493
Codecovhttps://codecov.io/gh/sendgrid/sendgrid-python/pull/493?src=pr&el=h1
#493https://codecov.io/gh/sendgrid/sendgrid-python/pull/493?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/493?src=pr&el=tree
Impacted Fileshttps://codecov.io/gh/sendgrid/sendgrid-python/pull/493?src=pr&el=tree
sendgrid/helpers/mail/personalization.pyhttps://codecov.io/gh/sendgrid/sendgrid-python/pull/493/diff?src=pr&el=tree#diff-c2VuZGdyaWQvaGVscGVycy9tYWlsL3BlcnNvbmFsaXphdGlvbi5weQ==
Continue to review full report at Codecovhttps://codecov.io/gh/sendgrid/sendgrid-python/pull/493?src=pr&el=continue
Click here to learn morehttps://docs.codecov.io/docs/codecov-delta
Codecovhttps://codecov.io/gh/sendgrid/sendgrid-python/pull/493?src=pr&el=footer
52f86b7...191e109https://codecov.io/gh/sendgrid/sendgrid-python/pull/493?src=pr&el=lastupdated
comment docshttps://docs.codecov.io/docs/pull-request-comments
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/493
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/493#event-1315789212
https://github.com/defaults
defaultshttps://github.com/defaults
Oct 30, 2017 https://github.com/sendgrid/sendgrid-python/pull/493#ref-issue-269488189
Fix "similar-code" issue in sendgrid/helpers/mail/personalization.py #501 https://github.com/sendgrid/sendgrid-python/issues/501
https://github.com/defaults
defaultshttps://github.com/defaults
Oct 30, 2017https://github.com/sendgrid/sendgrid-python/pull/493#event-1316279554
https://github.com/defaults
defaultshttps://github.com/defaults
Oct 30, 2017https://github.com/sendgrid/sendgrid-python/pull/493#issuecomment-340392155
@thinkingserioushttps://github.com/thinkingserious
@mbernierhttps://github.com/mbernier
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/493
defaultshttps://github.com/defaults
October 31, 2017 00:26https://github.com/sendgrid/sendgrid-python/pull/493#commits-pushed-1be065b
https://github.com/defaults
Merge branch 'master' into patch-1https://github.com/sendgrid/sendgrid-python/pull/493/commits/1be065b2d2e4ca5be41e712d9adeee5690c8018f
1be065bhttps://github.com/sendgrid/sendgrid-python/pull/493/commits/1be065b2d2e4ca5be41e712d9adeee5690c8018f
https://github.com/defaults
Merge branch 'master' into patch-1https://github.com/sendgrid/sendgrid-python/pull/493/commits/3361df3dcff8d3fc12244a6609ebc63a70eae195
3361df3https://github.com/sendgrid/sendgrid-python/pull/493/commits/3361df3dcff8d3fc12244a6609ebc63a70eae195
https://github.com/defaults
defaultshttps://github.com/defaults
Oct 30, 2017https://github.com/sendgrid/sendgrid-python/pull/493#issuecomment-340551287
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/493
@thinkingserioushttps://github.com/thinkingserious
@mbernierhttps://github.com/mbernier
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/493
https://github.com/defaults
defaultshttps://github.com/defaults
Oct 30, 2017https://github.com/sendgrid/sendgrid-python/pull/493#issuecomment-340551598
@thinkingserioushttps://github.com/thinkingserious
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/493
https://github.com/defaults
defaultshttps://github.com/defaults
Oct 30, 2017 https://github.com/sendgrid/sendgrid-python/pull/493#ref-issue-269719784
The biggest issue the unresponsive and irresponsible moderators like @thinkingserious @mbernier #511 https://github.com/sendgrid/sendgrid-python/issues/511
https://github.com/defaults
extra space and method description changehttps://github.com/sendgrid/sendgrid-python/pull/493/commits/4594f02c464d83f7c11f57adbecbb1afbec55ab1
4594f02https://github.com/sendgrid/sendgrid-python/pull/493/commits/4594f02c464d83f7c11f57adbecbb1afbec55ab1
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/493#event-1319817394
https://github.com/mbernier
mbernierhttps://github.com/mbernier
Nov 2, 2017https://github.com/sendgrid/sendgrid-python/pull/493#issuecomment-341436157
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/493
@Codervikashhttps://github.com/Codervikash
out our swag formhttps://dx.sendgrid.com/swag
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/493
https://github.com/defaults
defaultshttps://github.com/defaults
Nov 2, 2017https://github.com/sendgrid/sendgrid-python/pull/493#issuecomment-341444205
@mbernierhttps://github.com/mbernier
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/493
https://github.com/mbernier
mbernierhttps://github.com/mbernier
Nov 6, 2017https://github.com/sendgrid/sendgrid-python/pull/493#issuecomment-342228191
@Codervikashhttps://github.com/Codervikash
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/493
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/493#event-1495548677
https://github.com/thinkingserious
Merge branch 'master' into patch-1https://github.com/sendgrid/sendgrid-python/pull/493/commits/191e109ed85c27d01cdc6d045e46d9b9f1727e70
191e109https://github.com/sendgrid/sendgrid-python/pull/493/commits/191e109ed85c27d01cdc6d045e46d9b9f1727e70
thinkingserioushttps://github.com/thinkingserious
Jul 12, 2018 https://github.com/sendgrid/sendgrid-python/pull/493#ref-commit-7ed4338
https://github.com/thinkingserious
Integrate PRhttps://github.com/sendgrid/sendgrid-python/commit/7ed4338d67507a183b0897532aa3e22b58644374
#493https://github.com/sendgrid/sendgrid-python/pull/493
7ed4338https://github.com/sendgrid/sendgrid-python/commit/7ed4338d67507a183b0897532aa3e22b58644374
https://github.com/thinkingserious
thinkingserioushttps://github.com/thinkingserious
Jul 25, 2018https://github.com/sendgrid/sendgrid-python/pull/493#issuecomment-407848869
#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/493
https://github.com/thinkingserious
thinkingserioushttps://github.com/thinkingserious
Jul 25, 2018https://github.com/sendgrid/sendgrid-python/pull/493#event-1753285262
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%2F493
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/493
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
Fix "similar-code" issue in sendgrid/helpers/mail/personalization.py https://github.com/sendgrid/sendgrid-python/issues/501
Please reload this pagehttps://github.com/sendgrid/sendgrid-python/pull/493
https://github.com/defaults
https://github.com/codecov-io
https://github.com/mbernier
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.