From 132e5b9b80a064336f9c6f346e092ff920b949b4 Mon Sep 17 00:00:00 2001 From: kkanggu Date: Sun, 31 Dec 2023 21:58:07 +0900 Subject: [PATCH] =?UTF-8?q?async=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lambda_function.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lambda_function.py b/lambda_function.py index 38406d7..1a19ab9 100644 --- a/lambda_function.py +++ b/lambda_function.py @@ -1,7 +1,7 @@ import json from model.req_models import * -async def lambda_handler(event, context): +def lambda_handler(event, context): body = json.loads(event['body']) function_name = body['function'] @@ -26,7 +26,7 @@ async def lambda_handler(event, context): 'body': result } -async def auth_controller(user_info: UserInfo): +def auth_controller(user_info: UserInfo): """ 현재 정상 이용 가능합니다. """ @@ -34,7 +34,7 @@ async def auth_controller(user_info: UserInfo): result = get_auth_token(user_info) return result -async def smart_campus_controller(smart_campus_req: SmartCampusReq): +def smart_campus_controller(smart_campus_req: SmartCampusReq): """ 현재 정상 이용 가능합니다. """ @@ -42,7 +42,7 @@ async def smart_campus_controller(smart_campus_req: SmartCampusReq): result = smart_campus_crawling(smart_campus_req.token, smart_campus_req.student_id) return result -async def fun_system_controller(): +def fun_system_controller(): """ 현재 정상 이용 가능합니다. """ @@ -50,7 +50,7 @@ async def fun_system_controller(): result = fun_system_crawling() return result -async def ssu_catch_controller(): +def ssu_catch_controller(): """ 현재 정상 이용 가능합니다. """ @@ -58,7 +58,7 @@ async def ssu_catch_controller(): result = ssu_catch_crawling() return result -async def computer_department_controller(): +def computer_department_controller(): """ 현재 정상 이용 가능합니다. """