Skip to content

Commit

Permalink
fix: use suggested format for FluxRecord
Browse files Browse the repository at this point in the history
Co-authored-by: Jakub Bednář <[email protected]>
  • Loading branch information
takluyver and bednar committed Jul 9, 2021
1 parent ed3f397 commit 4fa46d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions influxdb_client/client/flux_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')}>"

0 comments on commit 4fa46d4

Please sign in to comment.