code: def delFutureById(futureId, parentId):
      
      try:
          del futureDict[futureId]
      except KeyError:
          pass
      try:
          toDel = [a for a in futureDict[parentId].children if a.id == futureId]
          for f in toDel:
              del futureDict[parentId].children[f]
      except KeyError:
          pass
docs: Delete future on id basis