eta.util.general.dict_get

dict_get(dct, k)[source]

Safe version of dict accessor that returns an empty list if key is not found.