-
Notifications
You must be signed in to change notification settings - Fork 32
Add add_or_update to DiffSync class. #70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
dgarros
merged 19 commits into
networktocode:main
from
FragmentedPacket:50-get-or-create
Nov 12, 2021
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
b2dc459
Add add_or_update to DiffSync class.
FragmentedPacket 8161a2d
Merge branch 'main' of git://github.com/networktocode/diffsync into 5…
FragmentedPacket b172cf0
Update diffsync.add to only raise ObjectAlreadyExists if objects diff…
FragmentedPacket 182542b
Pylint to pass for tests for diffsync.add
FragmentedPacket 7ed20cb
Add get_or_create along with tests.
FragmentedPacket f4f63e4
Addressed some of the feedback from Glenn.
FragmentedPacket c4c32cf
Rename get_or_create/get_or_instantiate. Update tests.
FragmentedPacket e61b560
Add testing for update_or_create. Return object in ObjectAlreadyExist…
FragmentedPacket e917055
Update doc strings
FragmentedPacket 8f3b328
Add example of new methods.
FragmentedPacket c43f789
Updates to add device to diffsync. Update tests. Update test names an…
FragmentedPacket 95cb2f0
Few doc updates for licensing year. Remove var assignment for error t…
FragmentedPacket 37b3bca
Update diffsync/__init__.py
FragmentedPacket 93a0a74
Update tests/unit/test_diffsync.py
FragmentedPacket 025a401
Require attrs for update_or, Set existing_object as attribute in Obje…
FragmentedPacket 6c747f1
Add README.md to example-04. Add Example 04 to examples/index.rst
FragmentedPacket 4f9bf4b
Use python 3.9.7 for black.
FragmentedPacket c970516
Update to support 3.9 and black for compatibility.
FragmentedPacket 647d971
Believe I fixed the dependencies
FragmentedPacket File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Require attrs for update_or, Set existing_object as attribute in Obje…
…ctAlreadyExists, other feedback.
- Loading branch information
commit 025a40163dff62326a7734fd9d38c20493952675
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.