@classmethod
  def SelectCoverPhotoFromEpDicts(cls, ep_dicts):
    cover_photo = None
    for ep_dict in ep_dicts:
      if len(ep_dict['photo_ids']) > 0:
        cover_photo = Viewpoint.ConstructCoverPhoto(ep_dict['episode_id'], ep_dict['photo_ids'][0])
        break
    return cover_photo
Create a random two-phase transaction ID.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/viewpoint.py/Viewpoint.SelectCoverPhotoFromEpDicts--crossover with--dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/sqlalchemy/engine/default.py/DefaultDialect.create_xid