結果 : python get list of ids from list of objects