Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
networktocode
diffsync
Repository navigation
Code
Issues
38
(38)
Pull requests
3
(3)
Discussions
Actions
Projects
Security and quality
Insights
More
items
Add add_or_update to DiffSync class.
- #70
#70
Merged
dgarros
merged 19 commits into
networktocode:
main
networktocode/diffsync:main
from
FragmentedPacket:
50-
get-
or-
create
Copy head branch name to clipboard
Nov 12, 2021
Conversation
Commits
19
(19)
Checks
Files changed
Merged
Add add_or_update to DiffSync class.
#70
dgarros
merged 19 commits into
networktocode:
main
networktocode/diffsync:main
from
FragmentedPacket:
50-
get-
or-
create
Copy head branch name to clipboard
Commits
Commits on Oct 11, 2021
Add add_or_update to DiffSync class.
FragmentedPacket
committed
b2dc459
View commit details
Copy full SHA for b2dc459
Browse repository at this point
Commits on Oct 26, 2021
Merge branch 'main' of git://github.com/networktocode/diffsync into 50-get-or-create
FragmentedPacket
committed
8161a2d
View commit details
Copy full SHA for 8161a2d
Browse repository at this point
Update diffsync.add to only raise ObjectAlreadyExists if objects differ when attempting to add duplicate.
FragmentedPacket
committed
b172cf0
View commit details
Copy full SHA for b172cf0
Browse repository at this point
Pylint to pass for tests for diffsync.add
FragmentedPacket
committed
182542b
View commit details
Copy full SHA for 182542b
Browse repository at this point
Commits on Oct 27, 2021
Add get_or_create along with tests.
FragmentedPacket
committed
7ed20cb
View commit details
Copy full SHA for 7ed20cb
Browse repository at this point
Commits on Oct 29, 2021
Addressed some of the feedback from Glenn.
FragmentedPacket
committed
f4f63e4
View commit details
Copy full SHA for f4f63e4
Browse repository at this point
Rename get_or_create/get_or_instantiate. Update tests.
FragmentedPacket
committed
c4c32cf
View commit details
Copy full SHA for c4c32cf
Browse repository at this point
Commits on Oct 30, 2021
Add testing for update_or_create. Return object in ObjectAlreadyExists within __init__.py. Add tests for exception returns.
FragmentedPacket
committed
e61b560
View commit details
Copy full SHA for e61b560
Browse repository at this point
Commits on Oct 31, 2021
Update doc strings
FragmentedPacket
committed
e917055
View commit details
Copy full SHA for e917055
Browse repository at this point
Add example of new methods.
FragmentedPacket
committed
8f3b328
View commit details
Copy full SHA for 8f3b328
Browse repository at this point
Commits on Nov 6, 2021
Updates to add device to diffsync. Update tests. Update test names and example name.
FragmentedPacket
committed
c43f789
View commit details
Copy full SHA for c43f789
Browse repository at this point
Few doc updates for licensing year. Remove var assignment for error thhat wasn't being used.
FragmentedPacket
committed
95cb2f0
View commit details
Copy full SHA for 95cb2f0
Browse repository at this point
Commits on Nov 8, 2021
Update diffsync/__init__.py
Show description for 37b3bca
FragmentedPacket
and
glennmatthews
authored
37b3bca
View commit details
Copy full SHA for 37b3bca
Browse repository at this point
Update tests/unit/test_diffsync.py
Show description for 93a0a74
FragmentedPacket
and
glennmatthews
authored
93a0a74
View commit details
Copy full SHA for 93a0a74
Browse repository at this point
Require attrs for update_or, Set existing_object as attribute in ObjectAlreadyExists, other feedback.
FragmentedPacket
committed
025a401
View commit details
Copy full SHA for 025a401
Browse repository at this point
Commits on Nov 12, 2021
Add README.md to example-04. Add Example 04 to examples/index.rst
FragmentedPacket
committed
6c747f1
View commit details
Copy full SHA for 6c747f1
Browse repository at this point
Use python 3.9.7 for black.
FragmentedPacket
committed
4f9bf4b
View commit details
Copy full SHA for 4f9bf4b
Browse repository at this point
Update to support 3.9 and black for compatibility.
FragmentedPacket
committed
c970516
View commit details
Copy full SHA for c970516
Browse repository at this point
Believe I fixed the dependencies
FragmentedPacket
committed
647d971
View commit details
Copy full SHA for 647d971
Browse repository at this point
You can’t perform that action at this time.