@property
    def slug(self):
        if '$slug' in self.fields:
            return self.fields['$slug']
        return utils.slugify(self.title) if self.title is not None else None
dataset/ETHPy150Open grow/grow/grow/pods/documents.py/Document.slug/original