Closed jschalk closed 2 months ago
going to remove the feature for now. Need to concentrate on the prize:
root_idea.set_ancestor_pledge_count(0, False)
ancestor_pledge_count = parent_idea._ancestor_pledge_count
x_idea.set_ancestor_pledge_count(ancestor_pledge_count, parent_idea.pledge)
def set_ancestor_pledge_count(
self, parent_ancestor_pledge_count: int, parent_pledge: bool
):
x_int = 0
x_int = 1 if parent_pledge else 0
self._ancestor_pledge_count = parent_ancestor_pledge_count + x_int
IdeaUnit._ancestor_pledge_count attr identifies when a pledge that is active will not appear in a to do agenda list because it has a incomplete child task.