You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@predictionio.apache.org by sh...@apache.org on 2017/09/10 14:21:16 UTC

[1/2] incubator-predictionio-sdk-python git commit: Update __init__.py (Updated Deprecation Error Message)

Repository: incubator-predictionio-sdk-python
Updated Branches:
  refs/heads/develop 88a11a84e -> 4b51a300e


Update __init__.py (Updated Deprecation Error Message)

Closes #15


Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-python/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-python/commit/55109536
Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-python/tree/55109536
Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-python/diff/55109536

Branch: refs/heads/develop
Commit: 55109536075352a555ab7f56f7ba4b8e0ea539af
Parents: 88a11a8
Author: thomas-idmt <th...@users.noreply.github.com>
Authored: Sun Sep 10 23:19:12 2017 +0900
Committer: Shinsuke Sugaya <sh...@apache.org>
Committed: Sun Sep 10 23:19:12 2017 +0900

----------------------------------------------------------------------
 predictionio/__init__.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-python/blob/55109536/predictionio/__init__.py
----------------------------------------------------------------------
diff --git a/predictionio/__init__.py b/predictionio/__init__.py
index c067689..3ef8d96 100644
--- a/predictionio/__init__.py
+++ b/predictionio/__init__.py
@@ -183,8 +183,8 @@ class EventClient(BaseClient):
 
     if len(access_key) <= 8:
       raise DeprecationWarning(
-          "It seems like you are specifying an app_id. It is deprecated in "
-          "Prediction.IO 0.8.2. Please use access_key instead. Or, "
+          "The entered access key is very short, it seems like you are specifying an app_id."
+          "This is deprecated in Prediction.IO 0.8.2. Please use (a longer) access_key instead. Or, "
           "you may use an earlier version of this sdk.")
 
     self.access_key = access_key


[2/2] incubator-predictionio-sdk-python git commit: Closes #21

Posted by sh...@apache.org.
Closes #21


Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-python/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-python/commit/4b51a300
Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-python/tree/4b51a300
Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-python/diff/4b51a300

Branch: refs/heads/develop
Commit: 4b51a300e95c123de67742f7679d55f8045e07d7
Parents: 5510953
Author: Shinsuke Sugaya <sh...@apache.org>
Authored: Sun Sep 10 23:20:52 2017 +0900
Committer: Shinsuke Sugaya <sh...@apache.org>
Committed: Sun Sep 10 23:20:52 2017 +0900

----------------------------------------------------------------------

----------------------------------------------------------------------