Skip to content

Update in util/config.py to keep track of all subkeys in the prefix#9

Open
Catherine0505 wants to merge 1 commit into
JJGO:masterfrom
Catherine0505:fix_fhdict
Open

Update in util/config.py to keep track of all subkeys in the prefix#9
Catherine0505 wants to merge 1 commit into
JJGO:masterfrom
Catherine0505:fix_fhdict

Conversation

@Catherine0505

Copy link
Copy Markdown
Contributor

Request updates to FHDict getitem method: returned sub-FHDict should keep track of all previous subkeys in prefix.
Otherwise in a case where FHDict is like: fhd = {"a1": {"a2": 2}}, calling fhd["a1"]["a2"] will not work.

@Catherine0505

Copy link
Copy Markdown
Contributor Author

My apologies. The example should be like: fhd = {"a1": {"a2": {"a3": 3}}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant