Skip to content

id_manager.nested_get

Full path: schola.core.utils.id_manager.nested_get

Get a value from a nested dictionary, returning a default value if the key is not found.

nested_get(dct, keys, default)

Parameters

  • dct (NestedDict) - The dictionary to search.

  • keys (Iterable) - The keys to search for in the dictionary.

  • default (V) - The value to return if the key is not found.