Skip to content

Commit 28a4a04

Browse files
authored
fix: type linting at client.flux_table.FluxTable (#677)
1 parent 3d70dbd commit 28a4a04

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
## 1.47.0 [unreleased]
22

33
### Bug Fixes
4-
1. [#672](https://github.com/influxdata/influxdb-client-python/pull/672): Adding type validation to url attribute in client object
4+
1. [#672](https://github.com/influxdata/influxdb-client-python/pull/672): Add type validation to url attribute in client object
5+
1. [#674](https://github.com/influxdata/influxdb-client-python/pull/674): Add type linting to client.flux_table.FluxTable, remove duplicated `from pathlib import Path` at setup.py
56

67
## 1.46.0 [2024-09-13]
78

influxdb_client/client/flux_table.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ class FluxTable(FluxStructure):
4646

4747
def __init__(self) -> None:
4848
"""Initialize defaults."""
49-
self.columns = []
50-
self.records = []
49+
self.columns: List[FluxColumn] = []
50+
self.records: List[FluxRecord] = []
5151

5252
def get_group_key(self):
5353
"""

setup.py

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
'aiocsv>=1.2.2'
4545
]
4646

47-
from pathlib import Path
4847
this_directory = Path(__file__).parent
4948
long_description = (this_directory / "README.md").read_text()
5049

0 commit comments

Comments
 (0)