(event, context)
| 19 | |
| 20 | |
| 21 | def lambda_handler(event, context): |
| 22 | count_up_to = int(event["body"]["number"]) |
| 23 | |
| 24 | app = counter_app.application(count_up_to) |
| 25 | action, result, state = app.run(halt_after=["result"]) |
| 26 | |
| 27 | return {"statusCode": 200, "body": state.serialize()} |
| 28 | |
| 29 | |
| 30 | if __name__ == "__main__": |
no test coverage detected