To elaborate
sample_dict = {"key1" : {"key2" : "value_of_interest}}
Now I want to be able to make the following call
val = sample_dict.recursive_get("key2", None)
I can think of a number of cases where this would be useful. For example, getting a key-value from an api response that came as JSON.
And I know it is not difficult to write to such a function, but my question is - why is it not already included?
If it leads to bad design, please provide some examples.