adding comment: (getting events through the Event Server API is used for 
debugging and not recommended for production)


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/6c95d7f5
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-python/tree/6c95d7f5
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-python/diff/6c95d7f5

Branch: refs/heads/master
Commit: 6c95d7f5d8e060c339b617cd9de342740a21de43
Parents: 8bdf59f
Author: Nguyen Viet Anh <[email protected]>
Authored: Sat Aug 1 09:53:42 2015 +0700
Committer: Nguyen Viet Anh <[email protected]>
Committed: Sat Aug 1 09:53:42 2015 +0700

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


http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-python/blob/6c95d7f5/predictionio/__init__.py
----------------------------------------------------------------------
diff --git a/predictionio/__init__.py b/predictionio/__init__.py
index 01b7cc2..f4db10c 100644
--- a/predictionio/__init__.py
+++ b/predictionio/__init__.py
@@ -287,7 +287,7 @@ class EventClient(BaseClient):
     return self.aget_event(event_id).get_response()
 
   def aget_events(self, startTime=None, untilTime=None, entityType=None, 
entityId=None, limit=None, reversed=False):
-    """Asynchronouly get events from Event Server.
+    """Asynchronouly get events from Event Server. (Getting events through the 
Event Server API is used for debugging and not recommended for production)
 
     :param startTime: time in ISO8601 format. Return events with eventTime >= 
startTime.
     :param untilTime: time in ISO8601 format. Return events with eventTime < 
untilTime.
@@ -328,7 +328,7 @@ class EventClient(BaseClient):
     return request
 
   def get_events(self, startTime=None, untilTime=None, entityType=None, 
entityId=None, limit=None, reversed=False):
-    """Synchronouly get event from Event Server."""
+    """Synchronouly get event from Event Server. (Getting events through the 
Event Server API is used for debugging and not recommended for production)"""
     return self.aget_events(
       startTime=startTime,
       untilTime=untilTime,

Reply via email to