We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb46b68 commit 21914a1Copy full SHA for 21914a1
app/blueprints/api_v1.py
@@ -14,7 +14,7 @@
14
from app.data.globals import cache
15
from app.data.globals import reaches
16
from app.data.globals import website_options
17
-from app.data.processing.predictive_models.v1 import MODEL_YEAR
+from app.data.processing.core import DEFAULT_MODEL_VERSION
18
19
20
bp = Blueprint("api", __name__, url_prefix="/api")
@@ -35,7 +35,7 @@ def predictive_model_api():
35
36
return jsonify(
37
{
38
- "model_version": MODEL_YEAR,
+ "model_version": DEFAULT_MODEL_VERSION,
39
"time_returned": get_current_time(),
40
"is_boating_season": website_options.boating_season,
41
"model_outputs": [
0 commit comments