Skip to content

Instantly share code, notes, and snippets.

def model_func(data_input, data_output, outcome, logger):
logger.info('Starting')
data_output.sum_result = sum([x for x in range(data_input.sum_start, data_input.sum_end + 1)])
outcome.success()
logger.info('Complete')
model_func(input, output, outcome, logger)