@classmethod
  @gen.coroutine
  def UpdateOperation(cls, client, act_dict, ph_dict):
    assert ph_dict['user_id'] == Operation.GetCurrent().user_id

    # Call helper to carry out update of the photo.
    yield Photo.UpdatePhoto(client, act_dict=act_dict, **ph_dict)
This method gets called when all forms passed. The method should also
dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/photo.py/Photo.UpdateOperation--crossover with--dataset/ETHPy150Open Bouke/django-two-factor-auth/two_factor/views/utils.py/IdempotentSessionWizardView.render_done