def remaining()

in psaw/PushshiftAPI.py [0:0]


    def remaining(self):
        if self.last is None:
            return 0
        return max(0, self.interval - (time.time() - self.last))