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

def event_handler(event, context):
  data = json.loads(event['body'])
  result = domain.process(data)
  return common.apig_response(result)

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