def render(self, context):
        content_object = self.content_object.resolve(context)
        try:
            tree_root = self.tree_root.resolve(context)
        except template.VariableDoesNotExist:
            if self.tree_root_str == 'as':
                tree_root = None
            else:
                try:
                    tree_root = int(self.tree_root_str)
                except __HOLE__:
                    tree_root = self.tree_root_str
        context[self.context_name] = FreeThreadedComment.public.get_tree(content_object, root=tree_root)
        return ''
dataset/ETHPy150Open caseywstark/colab/colab/apps/threadedcomments/templatetags/threadedcommentstags.py/FreeCommentTreeNode.render