loading
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
import domain
import pprint
import json

def event_handler(event, context):
  data = json.loads(event['body'])
  result = domain.process(data)
  return {
    'statusCode': 200,
    'body': json.dumps(result),
  }

pprint.pprint(event_handler({'body': '"Hello, Event!"'}, None))
Fetching token