def handler(event, context): # pylint:disable=unused-argument return {"statusCode": 200, "body": hello_func("a_lambda")}
def handler(event: dict, context: dict) -> dict: return {"statusCode": 200, "body": json.dumps(hello_func("b_lambda"))}
def handler(event, context): # pylint:disable=unused-argument LOGGER.info("Some info message") return {"statusCode": 200, "body": hello_func("a_lambda")}
def test_success(self): response = hello_func("TEST") self.assertEqual({"message": "HELLO FROM TEST"}, response)
def handler(event: dict, context: dict) -> dict: LOGGER.info("Some info message") return { "statusCode": 200, "body": hello_func("a_lambda") }