x = YhatModel
In [6]: x.run(ReturnSentData(),testcase='{"key":"val"}')
Paste your test data here
Data should be formatted as valid JSON.
Hit <ENTER> to execute your model
Press <CTRL + C> or type 'quit' to exit
========================================
[In] {"key":"val"}
[Out]
{'data_sent': {u'key': u'val'}}
[In] {"blah":"foofoofoo"}
[Out]
{'data_sent': {u'blah': u'foofoofoo'}}
It works, but I don't really see any value in this. Its identical to running an execute statement.
It works, but I don't really see any value in this. Its identical to running an execute statement.