René's URL Explorer Experiment


Title: Add add_or_update to DiffSync class. by FragmentedPacket · Pull Request #70 · networktocode/diffsync · GitHub

Open Graph Title: Add add_or_update to DiffSync class. by FragmentedPacket · Pull Request #70 · networktocode/diffsync

X Title: Add add_or_update to DiffSync class. by FragmentedPacket · Pull Request #70 · networktocode/diffsync

Description: Fixes #50 Adds add_or_update to DiffSync class that requires a DiffSyncModel to be passed in and will attempt to add or update an existing object Convert one of the examples over to use the new method Add test to validate proper functionality

Open Graph Description: Fixes #50 Adds add_or_update to DiffSync class that requires a DiffSyncModel to be passed in and will attempt to add or update an existing object Convert one of the examples over to use the new me...

X Description: Fixes #50 Adds add_or_update to DiffSync class that requires a DiffSyncModel to be passed in and will attempt to add or update an existing object Convert one of the examples over to use the new me...

Opengraph URL: https://github.com/networktocode/diffsync/pull/70

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits/:range(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:ebe1644b-7cd3-c2be-2747-e1b63e62d7e0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCC4C:1A30B9:27AE345:351EFD4:6992EF2A
html-safe-nonce0929a4cd83a45b050d50208369db354b2e4e16dc8b3d3ab74dd415d81f24f63f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzRDOjFBMzBCOToyN0FFMzQ1OjM1MUVGRDQ6Njk5MkVGMkEiLCJ2aXNpdG9yX2lkIjoiMjg5Nzc5MzEzMzM0NDY0OTAwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8053cfe89df51c6c6b7a42abb14b578e5d47d6129c8f29bab7f15ed60dcd982b
hovercard-subject-tagpull_request:755566516
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,network-graph,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876
twitter:imagehttps://avatars.githubusercontent.com/u/29315002?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/29315002?s=400&v=4
og:image:altFixes #50 Adds add_or_update to DiffSync class that requires a DiffSyncModel to be passed in and will attempt to add or update an existing object Convert one of the examples over to use the new me...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None01ab16879a3159e6f0717ab948b9b562e162a6aafd1f4393b786b07b747df244
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/networktocode/diffsync git https://github.com/networktocode/diffsync.git
octolytics-dimension-user_id13106404
octolytics-dimension-user_loginnetworktocode
octolytics-dimension-repository_id292296974
octolytics-dimension-repository_nwonetworktocode/diffsync
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id292296974
octolytics-dimension-repository_network_root_nwonetworktocode/diffsync
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb1570f3928bef80fa5fc7890ce0942e9b696ad9d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnetworktocode%2Fdiffsync%2Fpull%2F70%2Fcommits%2F7ed20cba0a2cbacefcbcc33f0e3027d6744ba876
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnetworktocode%2Fdiffsync%2Fpull%2F70%2Fcommits%2F7ed20cba0a2cbacefcbcc33f0e3027d6744ba876
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%2Fcommits&source=header-repo&source_repo=networktocode%2Fdiffsync
Reloadhttps://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876
Reloadhttps://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876
Reloadhttps://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876
networktocode https://github.com/networktocode
diffsynchttps://github.com/networktocode/diffsync
Notifications https://github.com/login?return_to=%2Fnetworktocode%2Fdiffsync
Fork 30 https://github.com/login?return_to=%2Fnetworktocode%2Fdiffsync
Star 179 https://github.com/login?return_to=%2Fnetworktocode%2Fdiffsync
Code https://github.com/networktocode/diffsync
Issues 39 https://github.com/networktocode/diffsync/issues
Pull requests 8 https://github.com/networktocode/diffsync/pulls
Discussions https://github.com/networktocode/diffsync/discussions
Actions https://github.com/networktocode/diffsync/actions
Projects 0 https://github.com/networktocode/diffsync/projects
Security 0 https://github.com/networktocode/diffsync/security
Insights https://github.com/networktocode/diffsync/pulse
Code https://github.com/networktocode/diffsync
Issues https://github.com/networktocode/diffsync/issues
Pull requests https://github.com/networktocode/diffsync/pulls
Discussions https://github.com/networktocode/diffsync/discussions
Actions https://github.com/networktocode/diffsync/actions
Projects https://github.com/networktocode/diffsync/projects
Security https://github.com/networktocode/diffsync/security
Insights https://github.com/networktocode/diffsync/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fnetworktocode%2Fdiffsync%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fnetworktocode%2Fdiffsync%2Fissues%2Fnew%2Fchoose
dgarroshttps://github.com/dgarros
networktocode:mainhttps://github.com/networktocode/diffsync/tree/main
Conversation 45 https://github.com/networktocode/diffsync/pull/70
Commits 19 https://github.com/networktocode/diffsync/pull/70/commits
Checks 0 https://github.com/networktocode/diffsync/pull/70/checks
Files changed https://github.com/networktocode/diffsync/pull/70/files
Please reload this pagehttps://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876
Add add_or_update to DiffSync class. https://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876#top
Show all changes 19 commits https://github.com/networktocode/diffsync/pull/70/files
b2dc459 Add add_or_update to DiffSync class. FragmentedPacket Oct 11, 2021 https://github.com/networktocode/diffsync/pull/70/commits/b2dc45909a1de2dd3efaa80788cccbe2e26b24ec
8161a2d Merge branch 'main' of git://github.com/networktocode/diffsync into 5… FragmentedPacket Oct 26, 2021 https://github.com/networktocode/diffsync/pull/70/commits/8161a2dbf54af513652bca7f09695c20691673ff
b172cf0 Update diffsync.add to only raise ObjectAlreadyExists if objects diff… FragmentedPacket Oct 26, 2021 https://github.com/networktocode/diffsync/pull/70/commits/b172cf0ba8097016b9918b9b5fe86e496c5c7407
182542b Pylint to pass for tests for diffsync.add FragmentedPacket Oct 26, 2021 https://github.com/networktocode/diffsync/pull/70/commits/182542bdde9da85b134bbcd93d5dbe2260c9aa48
7ed20cb Add get_or_create along with tests. FragmentedPacket Oct 27, 2021 https://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876
f4f63e4 Addressed some of the feedback from Glenn. FragmentedPacket Oct 29, 2021 https://github.com/networktocode/diffsync/pull/70/commits/f4f63e4cab6051e030885bf9e008586284d0d62f
c4c32cf Rename get_or_create/get_or_instantiate. Update tests. FragmentedPacket Oct 29, 2021 https://github.com/networktocode/diffsync/pull/70/commits/c4c32cf04ef88047c9754a66f0504a25e3784d6e
e61b560 Add testing for update_or_create. Return object in ObjectAlreadyExist… FragmentedPacket Oct 30, 2021 https://github.com/networktocode/diffsync/pull/70/commits/e61b560a54935ba950a2bcbac5c80c0fd415dae7
e917055 Update doc strings FragmentedPacket Oct 31, 2021 https://github.com/networktocode/diffsync/pull/70/commits/e917055f5bc36c2b9ad103cc31c76394679fccbd
8f3b328 Add example of new methods. FragmentedPacket Oct 31, 2021 https://github.com/networktocode/diffsync/pull/70/commits/8f3b3283b529822fd3f631412d87be0daf44814b
c43f789 Updates to add device to diffsync. Update tests. Update test names an… FragmentedPacket Nov 6, 2021 https://github.com/networktocode/diffsync/pull/70/commits/c43f789e6ff092eb44b7c05aceb762bcc02192a1
95cb2f0 Few doc updates for licensing year. Remove var assignment for error t… FragmentedPacket Nov 6, 2021 https://github.com/networktocode/diffsync/pull/70/commits/95cb2f00bf6dea6c50f66afd1d3217bde4bfd389
37b3bca Update diffsync/__init__.py FragmentedPacket Nov 8, 2021 https://github.com/networktocode/diffsync/pull/70/commits/37b3bca06e46f3deb52eb917cd3f77b2a830028b
93a0a74 Update tests/unit/test_diffsync.py FragmentedPacket Nov 8, 2021 https://github.com/networktocode/diffsync/pull/70/commits/93a0a745e7b2313449d248835b44e3da1db4ec01
025a401 Require attrs for update_or, Set existing_object as attribute in Obje… FragmentedPacket Nov 8, 2021 https://github.com/networktocode/diffsync/pull/70/commits/025a40163dff62326a7734fd9d38c20493952675
6c747f1 Add README.md to example-04. Add Example 04 to examples/index.rst FragmentedPacket Nov 12, 2021 https://github.com/networktocode/diffsync/pull/70/commits/6c747f113b6aa1664f2a95f24dee43299074b653
4f9bf4b Use python 3.9.7 for black. FragmentedPacket Nov 12, 2021 https://github.com/networktocode/diffsync/pull/70/commits/4f9bf4b3d938c928bc789b4cf8b138be11f23a83
c970516 Update to support 3.9 and black for compatibility. FragmentedPacket Nov 12, 2021 https://github.com/networktocode/diffsync/pull/70/commits/c970516218dd0a87a3b5eda56457b2f50d2dee41
647d971 Believe I fixed the dependencies FragmentedPacket Nov 12, 2021 https://github.com/networktocode/diffsync/pull/70/commits/647d9719025f31c06db7237e675ab94472038adc
Clear filters https://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876
Please reload this pagehttps://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876
Please reload this pagehttps://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876
__init__.py https://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876#diff-c5f5ac5ef038272841fff7473e3b0a3ba7dac422040bcd3219093089ac2244d6
backend_b.py https://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876#diff-ced1a8f5a6ba27c55674e97f2cca7ba6bae549df593394daa88cd5445e70aede
test_diffsync.py https://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876#diff-391cf6ea1f3f86bbcda642c1875b14963af60dd2c9f554b1e5c1cfc39df7cddf
Prev https://github.com/networktocode/diffsync/pull/70/commits/182542bdde9da85b134bbcd93d5dbe2260c9aa48
Next https://github.com/networktocode/diffsync/pull/70/commits/f4f63e4cab6051e030885bf9e008586284d0d62f
Please reload this pagehttps://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876
https://github.com/FragmentedPacket
FragmentedPackethttps://github.com/networktocode/diffsync/commits?author=FragmentedPacket
https://github.com/networktocode/diffsync/blob/main/.github/CODEOWNERS#L2
diffsync/__init__.pyhttps://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876#diff-c5f5ac5ef038272841fff7473e3b0a3ba7dac422040bcd3219093089ac2244d6
View file https://github.com/networktocode/diffsync/blob/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876/diffsync/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/networktocode/diffsync/pull/70/commits/{{ revealButtonHref }}
https://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876#diff-c5f5ac5ef038272841fff7473e3b0a3ba7dac422040bcd3219093089ac2244d6
Please reload this pagehttps://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876
Please reload this pagehttps://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876
Please reload this pagehttps://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876
https://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876#diff-c5f5ac5ef038272841fff7473e3b0a3ba7dac422040bcd3219093089ac2244d6
examples/01-multiple-data-sources/backend_b.pyhttps://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876#diff-ced1a8f5a6ba27c55674e97f2cca7ba6bae549df593394daa88cd5445e70aede
View file https://github.com/networktocode/diffsync/blob/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876/examples/01-multiple-data-sources/backend_b.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/networktocode/diffsync/pull/70/commits/{{ revealButtonHref }}
https://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876#diff-ced1a8f5a6ba27c55674e97f2cca7ba6bae549df593394daa88cd5445e70aede
https://github.com/networktocode/diffsync/blob/main/.github/CODEOWNERS#L2
tests/unit/test_diffsync.pyhttps://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876#diff-391cf6ea1f3f86bbcda642c1875b14963af60dd2c9f554b1e5c1cfc39df7cddf
View file https://github.com/networktocode/diffsync/blob/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876/tests/unit/test_diffsync.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/networktocode/diffsync/pull/70/commits/{{ revealButtonHref }}
https://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876#diff-391cf6ea1f3f86bbcda642c1875b14963af60dd2c9f554b1e5c1cfc39df7cddf
https://github.com/networktocode/diffsync/pull/70/commits/7ed20cba0a2cbacefcbcc33f0e3027d6744ba876#diff-391cf6ea1f3f86bbcda642c1875b14963af60dd2c9f554b1e5c1cfc39df7cddf
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.