#!/usr/bin/env python3 import os import json import sys def main(): activation_id = os.environ.get('__OW_ACTIVATION_ID') params = json.loads(sys.argv[1]) number = params["number"] number = number * 2 print(json.dumps({ "activation_id": str(activation_id), "number": number, "result": "The number is multiplied by 2", })) return({ "activation_id": str(activation_id), "number": number, "result": "The number is multiplied by 2", }) if __name__ == "__main__": main()