Repository: incubator-predictionio-sdk-python Updated Branches: refs/heads/develop 8e35e33da -> 88a11a84e
fix InvalidArgumentError is not defined Closes #19 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/a151e0cd Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-python/tree/a151e0cd Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-python/diff/a151e0cd Branch: refs/heads/develop Commit: a151e0cdfc9f84334cb29c6bb429a829606f5c4b Parents: 8e35e33 Author: goodspeed <[email protected]> Authored: Sun Sep 10 23:12:50 2017 +0900 Committer: Shinsuke Sugaya <[email protected]> Committed: Sun Sep 10 23:12:50 2017 +0900 ---------------------------------------------------------------------- predictionio/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-python/blob/a151e0cd/predictionio/__init__.py ---------------------------------------------------------------------- diff --git a/predictionio/__init__.py b/predictionio/__init__.py index 01ac045..d70c85c 100644 --- a/predictionio/__init__.py +++ b/predictionio/__init__.py @@ -47,6 +47,10 @@ class NotFoundError(PredictionIOAPIError): pass +class InvalidArgumentError(PredictionIOAPIError): + pass + + def event_time_validation(t): """ Validate event_time according to EventAPI Specification. """
