def getCalcForDrone(id): cthc = ChanceToHitCalculator(id) cthc.setDrone(id) return Memoized(cthc.calculate)