@property
    def pct(self):
        if self.finished:
            return 1.0
        return min(self.pos / (float(self.length) or 1), 1.0)
dataset/ETHPy150Open pallets/click/click/_termui_impl.py/ProgressBar.pct/original