Skip to content

Commit

Permalink
refactor: remove unused requests import and add logging for event and…
Browse files Browse the repository at this point in the history
… context in lambda_handler
  • Loading branch information
LokoMoloko98 committed Jan 21, 2025
1 parent dbdcef2 commit bfe6331
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions swift-lift-fare-calculation/swift-lift-fare-calculation.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import boto3
import json
import requests

from botocore.exceptions import ClientError
print("Packages have imported successfully")

def lambda_handler(event, context):
try:
print("Processing")

print(event)
print(context)
return {
'statusCode': 200,
'body': json.dumps('Process completed successfully')
Expand Down

0 comments on commit bfe6331

Please sign in to comment.