commit | 3343dff1c317d16efb239eea067e1fe3c065230f | [log] [tgz] |
---|---|---|
author | Justin Yip <yipjustin@gmail.com> | Fri Sep 19 15:32:07 2014 -0700 |
committer | Justin Yip <yipjustin@gmail.com> | Fri Sep 19 15:32:07 2014 -0700 |
tree | dcf3513b2f9e939fba66389ef2bb2eec60c3152a | |
parent | 5fa5bbca737a223986aeceab50e12dd27377b8d3 [diff] |
Add status check in itemrank demo.
diff --git a/examples/itemrank_quick_start.py b/examples/itemrank_quick_start.py index 914f2ed..b76abc1 100644 --- a/examples/itemrank_quick_start.py +++ b/examples/itemrank_quick_start.py
@@ -11,6 +11,8 @@ random.seed() client = predictionio.EventClient(app_id=app_id) + + print client.get_status() # generate 10 users, with user ids 1,2,....,10 user_ids = [str(i) for i in range(1, 11)]