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
from functools import reduce | |
def get_nested_value(nested_dict, str_key): | |
""" | |
Get value from nested-dict via dot-annotation key | |
Parameters: | |
nested_dict: dict | |
str_key: str | |
Example: |
OlderNewer