align format

pull/1345/head
kelseiv 2020-08-17 21:53:24 -07:00 committed by Scott Anderson
parent 7625dbf0cd
commit d9b93463da
1 changed files with 44 additions and 44 deletions

View File

@ -130,15 +130,15 @@ write_api.write(bucket=bucket, org=org, record=p)
- Use the `get_value()` method to return values. - Use the `get_value()` method to return values.
- Use the `get_field()` method to return fields. - Use the `get_field()` method to return fields.
```python ```python
results = [] results = []
for table in result: for table in result:
for record in table.records: for record in table.records:
results.append((record.get_field(), record.get_value())) results.append((record.get_field(), record.get_value()))
print(results) print(results)
[(temperature, 25.3)] [(temperature, 25.3)]
``` ```
**The Flux object provides the following methods for accessing your data:** **The Flux object provides the following methods for accessing your data:**