def nextBackup(self, now: datetime):
    latest = max(filter((lambda s: (not s.ignore())), self.backups.values()), default=None, key=(lambda s: s.date()))
    if latest:
        latest = latest.date()
    return self._nextBackup(now, latest)
def nextBackup(self, now: datetime):
    latest = max(filter((lambda s: (not s.ignore())), self.backups.values()), default=None, key=(lambda s: s.date()))
    if latest:
        latest = latest.date()
    return self._nextBackup(now, latest)