Skip to content

Instantly share code, notes, and snippets.

@gsolic
Created August 5, 2020 13:57
Show Gist options
  • Save gsolic/7bd563e9722bfd26d77f4726105e1408 to your computer and use it in GitHub Desktop.
Save gsolic/7bd563e9722bfd26d77f4726105e1408 to your computer and use it in GitHub Desktop.
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment