Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to 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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
networktocode
/
diffsync
Public
Notifications
You must be signed in to change notification settings
Fork
30
Star
188
Code
Issues
38
Pull requests
12
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
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.