def get_widget(self):
        if not self.widget:
            if self.locustfile is not None:
                label = "Script: %s" % os.path.basename(self.locustfile)
            else:
                label = None
            self.widget = SidebarWidget(self, label)
        return self.widget
Add progress widget to console screen sidebar
dataset/ETHPy150Open Blazemeter/taurus/bzt/modules/locustio.py/LocustIOExecutor.get_widget