how to filter a dictionary in python?,"dict((k, 'updated') for k, v in d.items() if v != 'None')"