I think this should be something like 
`out_data_product_ids = [self.resource_ids[dp_id] for dp_id in out_data_products.values()`