From fd61e09dd261feae8c499bdcbd48ddf9b2ce39eb Mon Sep 17 00:00:00 2001 From: Christoph Alt <christoph.alt@fau.de> Date: Fri, 29 Jul 2022 12:50:39 +0200 Subject: [PATCH] reorder of datapoint member --- cbutil/data_points.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cbutil/data_points.py b/cbutil/data_points.py index 58eac85..0885411 100644 --- a/cbutil/data_points.py +++ b/cbutil/data_points.py @@ -5,9 +5,9 @@ from dataclasses import dataclass, asdict class DataPoint: """Represents a single Datapoint from the InfluxDB perspective.""" measurement: str - tags: dict - fields: dict time: int + fields: dict + tags: dict def asdict(self): return asdict(self) -- GitLab