delete none values from python dict,"D.update((k, v) for k, v in user.items() if v is not None)"