code: def from_json(cls, session, photo_json):
          
          photo = cls()
          photo.id = photo_json.get('id')
          photo.album_id = photo_json.get('album_id')
          photo.owner_id = photo_json.get('owner_id')
          photo.user_id = photo_json.get('user_id')
          photo.text = photo_json.get('text')
          photo.type = "photo"
          photo.date = photo_json.get('date')
          photo.photo_75 = photo_json.get('photo_75')
          photo.photo_130 = photo_json.get('photo_130')
          photo.photo_604 = photo_json.get('photo_604')
          photo.photo_807 = photo_json.get('photo_807')
          photo.photo_1280 = photo_json.get('photo_1280')
          photo.photo_2560 = photo_json.get('photo_2560')
          photo._session = session
          return photo
docs: https://vk.com/dev/objects/photo