def _prune_dict_null_str(dictionary):
for key, value in list(dictionary.items()):<EOL><INDENT>if value is None or str(value) == '<STR_LIT>':<EOL><INDENT>del dictionary[key]<EOL><DEDENT>if isinstance(value, dict):<EOL><INDENT>dictionary[key] = _prune_dict_null_str(dictionary[key])<EOL><DEDENT><DEDENT>return dictionary<EOL>
Prune the "None" or emptry string values from dictionary items