def get_profile_pictures_by_user_ids(user_ids):
 user_settings_models = user_models.UserSettingsModel.get_multi(user_ids)
 result = {}
 for model in user_settings_models:
  if model:
   result[model.id] = model.profile_picture_data_url
  else:
   result[model.id] = None
 return result

def get_profile_pictures_by_user_ids ( user_ids ) : user_settings_models = user_models . UserSettingsModel . get_multi ( user_ids ) result = { } for model in user_settings_models : if model : result [ model . id ] = model . profile_picture_data_url else : result [ model . id ] = None return result
gets the profile_picture_data_url from the domain objects representing the settings for the given user_ids .