diff options
author | Tibor Frank <tifrank@cisco.com> | 2022-08-03 15:00:51 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2022-08-03 13:57:50 +0000 |
commit | 808797d2d913eac7581a4e4cba3fb826ddbff775 (patch) | |
tree | 450d088ff8231635b2f498adc682aa07372a9e64 /resources/tools/dash/app/pal/stats/layout.py | |
parent | 1f0d4ffc8d3fabe2bd7452760425e005c2970ff6 (diff) |
UTI: Add Download for iterative data.
Change-Id: I79bcfc2449310d4d186146ce79b2143a33ed2d1f
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/dash/app/pal/stats/layout.py')
-rw-r--r-- | resources/tools/dash/app/pal/stats/layout.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/tools/dash/app/pal/stats/layout.py b/resources/tools/dash/app/pal/stats/layout.py index 8df6d53bac..1d271cb265 100644 --- a/resources/tools/dash/app/pal/stats/layout.py +++ b/resources/tools/dash/app/pal/stats/layout.py @@ -800,7 +800,8 @@ class Layout: data = select_data(self.data, job, get_date(start), get_date(end)) data = data.drop(columns=["job", ]) - return dcc.send_data_frame(data.T.to_csv, f"{job}-stats.csv") + return dcc.send_data_frame( + data.T.to_csv, f"{job}-{C.STATS_DOWNLOAD_FILE_NAME}") @app.callback( Output("row-metadata", "children"), |