commit | a151e0cdfc9f84334cb29c6bb429a829606f5c4b | [log] [tgz] |
---|---|---|
author | goodspeed <cacique1103@gmail.com> | Sun Sep 10 23:12:50 2017 +0900 |
committer | Shinsuke Sugaya <shinsuke@apache.org> | Sun Sep 10 23:12:50 2017 +0900 |
tree | 2ee075f88889d733c61f241bd0745d5bb9c15962 | |
parent | 8e35e33da89323b8f49d026d7035dac172997cf1 [diff] |
fix InvalidArgumentError is not defined Closes #19
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 @@ pass +class InvalidArgumentError(PredictionIOAPIError): + pass + + def event_time_validation(t): """ Validate event_time according to EventAPI Specification. """