I can successfully call my python script passing all string values.
how do i pass an int for param2? I have tried type: int, integer, and number
document.querySelector('iframe[name="editor"]').contentWindow.postMessage(
JSON.stringify({'MessageId': 'CallPythonScript',
'SendTime': Date.now(),
'ScriptFile': 'Test.py',
'Function': 'createMyThing',
'Values': { 'param1': {'type': 'string', 'value': 'A' }, 'param2': {'type': 'int', 'value': 3 } }
}), "*");