how to get unique list using a key word :python,list({e.id: e for e in somelist}.values())