@property
  def parent_id(self):

    if not getattr(self, '_parentid', False):
      # fetch the content (side effect is loading the revid)
      self.content

    return self._parent_id
Revision ID of the parent version of the current revision of this
dataset/ETHPy150Open goldsmith/Wikipedia/wikipedia/wikipedia.py/WikipediaPage.parent_id