def collapseItem(self, itemId):
        # Succeeds if the node is already collapsed
        if not self.isExpanded(itemId):
            return True

        # Collapse
        self._expanded.remove(itemId)
        self.requestRepaint()
        self.fireCollapseEvent(itemId)
        return True
Ensure get_task_args returns {} if no task_args.
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/tree.py/Tree.collapseItem--crossover with--dataset/ETHPy150Open Workiva/furious/furious/tests/test_async.py/TestAsync.test_get_empty_task_args