def METHOD_NAME(self, task, amount=''):
    """Learn current entries into backlog. All task inputs must have been executed."""
    with Session() as session:
        for entry in task.entries:
            self.add_backlog(task, entry, amount, session=session)