def setup_widget(self, workspace=None):
        self.clear()
        if workspace:
            self.collection.currentWorkspace = workspace
        for entity in self.collection.workspaces[self.collection.currentWorkspace]:
            item = QExplorerWidgetItem(entity)
            self.addTopLevelItem(item)
        self.setSortingEnabled(True)
        self.sortItems(0, QtCore.Qt.AscendingOrder)
Pull the value from the cookiejar.
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/collection/workspace.py/QExplorerWidget.setup_widget--crossover with--dataset/ETHPy150Open sloria/webargs/webargs/webapp2parser.py/Webapp2Parser.parse_cookies