yhat / yhat-client

Python client for ScienceOps
https://www.yhat.com/products/scienceops
29 stars 9 forks source link

Deprecate `Yhat.run()` #4

Closed coristig closed 8 years ago

coristig commented 8 years ago
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.

rosskipp commented 8 years ago

This is no longer in the client, and I removed the mention of it with #13