def get_absolute_url(self):
        try:
            return reverse('knowledge_item_view', args=[self.folder.treepath, self.treepath])
        except Exception:
            return ""
Return a context manager used by captured_stdout/stdin/stderr
dataset/ETHPy150Open treeio/treeio/treeio/knowledge/models.py/KnowledgeItem.get_absolute_url--crossover with--dataset/ETHPy150Open anzev/hedwig/build/pip/pip/utils/__init__.py/captured_output