import get_experiments

- in case of localhost, remove .psi.ch from normalized host name
+ fix import in t.py
+ allow boolean as selection criterium
This commit is contained in:
2025-02-26 13:43:39 +01:00
parent ef560a8b20
commit e2122fb3a0
4 changed files with 53 additions and 26 deletions

View File

@ -338,6 +338,10 @@ class InfluxDBWrapper:
fixed_tags[key] = crit
dropcols.append(key)
crit = f'"{crit}"'
elif isinstance(crit, bool):
crit = 'true' if crit else 'false'
fixed_tags[key] = crit
dropcols.append(key)
elif isinstance(crit, (int, float)):
fixed_tags[key] = crit
dropcols.append(key)