-
-
Notifications
You must be signed in to change notification settings - Fork 635
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable new_value_mode="add" for dict options (#2467)
* Enable new_value_mode="add" for dict options Enable new_value_mode="add" for dict options * Forgot to update the check in __init__ * Fix typos * Enable _new_id function to receive value argument to generate an id for. Signed-off-by: Alexander Zarubkin <[email protected]> * code review * Fix bug with duplicates not adding to dict with mode == 'add' Forgot to handle the case when mode == 'add'. * add pytest * code review --------- Signed-off-by: Alexander Zarubkin <[email protected]> Co-authored-by: Alexander Zarubkin <[email protected]> Co-authored-by: Falko Schindler <[email protected]>
- Loading branch information
1 parent
c7fd5d8
commit ed8c94c
Showing
3 changed files
with
46 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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 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 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