Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
feat(uti): Add iterative data
[csit.git]
/
resources
/
tools
/
dash
/
app
/
pal
/
__init__.py
diff --git
a/resources/tools/dash/app/pal/__init__.py
b/resources/tools/dash/app/pal/__init__.py
index
4e32598
..
bb110a2
100644
(file)
--- a/
resources/tools/dash/app/pal/__init__.py
+++ b/
resources/tools/dash/app/pal/__init__.py
@@
-30,6
+30,10
@@
MAX_TIME_PERIOD = 180
# TIME_PERIOD = MAX_TIME_PERIOD is the default value
TIME_PERIOD = MAX_TIME_PERIOD # [days]
# TIME_PERIOD = MAX_TIME_PERIOD is the default value
TIME_PERIOD = MAX_TIME_PERIOD # [days]
+# List of releases used for iterative data processing.
+# The releases MUST be in the order from the current (newest) to the last
+# (oldest).
+RELEASES=["rls2202", ]
def init_app():
"""Construct core Flask application with embedded Dash app.
def init_app():
"""Construct core Flask application with embedded Dash app.
@@
-65,6
+69,9
@@
def init_app():
from .trending.trending import init_trending
app = init_trending(app, time_period=time_period)
from .trending.trending import init_trending
app = init_trending(app, time_period=time_period)
+ from .report.report import init_report
+ app = init_report(app, releases=RELEASES)
+
return app
return app