From 0d1f33371fe92b446137f9060b738df8be3ec543 Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Fri, 9 Jul 2021 09:41:56 +0100 Subject: [PATCH] Use suggested format for FluxRecord MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jakub Bednář --- influxdb_client/client/flux_table.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/influxdb_client/client/flux_table.py b/influxdb_client/client/flux_table.py index 046c4f36..abd80251 100644 --- a/influxdb_client/client/flux_table.py +++ b/influxdb_client/client/flux_table.py @@ -111,5 +111,4 @@ def __str__(self): def __repr__(self): """Format for inspection.""" - d = self.values - return f"<{type(self).__name__} field={d.get('_field')} value={d.get('_value')}>" + return f"<{type(self).__name__}: field={self.values.get('_field')}, value={self.values.get('_value')}>"