Conversation
Member
Codecov Report
@@ Coverage Diff @@
## master #269 +/- ##
==========================================
- Coverage 65.42% 65.07% -0.35%
==========================================
Files 42 40 -2
Lines 5697 5629 -68
==========================================
- Hits 3727 3663 -64
+ Misses 1970 1966 -4
Continue to review full report at Codecov.
|
tcmoore3
approved these changes
Jan 16, 2020
Contributor
|
@vyasr Can you update the name of this PR to be a bit more descriptive? |
Contributor
Author
|
Yes, sorry it was a single commit so it just autopopulated the title and I didn't change it. |
_convert_to_dict to avoid modifying nesting SyncedDict objects when calling items or values
_convert_to_dict to avoid modifying nesting SyncedDict objects when calling items or values
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
A number of methods were calling
_convert_to_dictonself._datarather than calling them onself. As a result, the member of the underlying dictionary was modified. Actually, we should be able to remove thedictbranch of_convert_to_dictentirely, but that requires resolving #196 first (because that's the only way that branch is accessed). Further changes are probably worth postponing for when we address #249.Motivation and Context
Resolves #234.
Types of Changes
1The change breaks (or has the potential to break) existing functionality.
Checklist:
If necessary:
Example for a changelog entry:
Fix issue with launching rockets to the moon (#101, #212).