align format
parent
7625dbf0cd
commit
d9b93463da
|
@ -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:**
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue