@property
    @utils.memoize
    def parent(self):
        if '$parent' not in self.fields:
            return None
        parent_pod_path = self.fields['$parent']
        return self.collection.get_doc(parent_pod_path, locale=self.locale)
dataset/ETHPy150Open grow/grow/grow/pods/documents.py/Document.parent/original