From 129bc458b281f6d0fcc3e4bd6bde6ee7f182c593 Mon Sep 17 00:00:00 2001 From: Christoph Alt <christoph.alt@fau.de> Date: Wed, 11 Sep 2024 16:49:00 +0200 Subject: [PATCH] added a small comment for the refresh option on filters --- dashboards/variables.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dashboards/variables.py b/dashboards/variables.py index 53990b0..a48cdc0 100644 --- a/dashboards/variables.py +++ b/dashboards/variables.py @@ -3,6 +3,10 @@ from collections import namedtuple from dashboards.influx_queries import show_tag_values, get_tag_values, show_field_keys from typing import List +""" +multi: maps to the multi_value option +refresh: maps to the grafanalib.Template refresh 1= on dashboard load 2= on timer range change +""" Filter = namedtuple( "Filter", ("name", "multi", "default_value", "refresh"), defaults=("", True, "", 1) ) -- GitLab