@gen.coroutine
  def _Account(self):
    # Get list of the ids of all photos that were added.
    photo_ids = [Post.DeconstructPostId(id)[1] for id in self._new_ids if id.startswith(IdPrefix.Post)]

    acc_accum = AccountingAccumulator()

    # Make accounting changes for the new photos that were added.
    yield acc_accum.SavePhotos(self._client,
                               self._user.user_id,
                               self._user.private_vp_id,
                               photo_ids)

    yield acc_accum.Apply(self._client)
Update password of a host/pool on management server.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/op/save_photos_op.py/SavePhotosOperation._Account--crossover with--dataset/ETHPy150Open jasonhancock/cloudstack-python-client/CloudStack/Client.py/Client.updateHostPassword