Skip to content

Commit

Permalink
fix: type linting at client.flux_table.FluxTable (#677)
Browse files Browse the repository at this point in the history
  • Loading branch information
youarecode authored Oct 8, 2024
1 parent 3d70dbd commit 28a4a04
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
## 1.47.0 [unreleased]

### Bug Fixes
1. [#672](https://github.com/influxdata/influxdb-client-python/pull/672): Adding type validation to url attribute in client object
1. [#672](https://github.com/influxdata/influxdb-client-python/pull/672): Add type validation to url attribute in client object
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

## 1.46.0 [2024-09-13]

Expand Down
4 changes: 2 additions & 2 deletions influxdb_client/client/flux_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ class FluxTable(FluxStructure):

def __init__(self) -> None:
"""Initialize defaults."""
self.columns = []
self.records = []
self.columns: List[FluxColumn] = []
self.records: List[FluxRecord] = []

def get_group_key(self):
"""
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
'aiocsv>=1.2.2'
]

from pathlib import Path
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()

Expand Down

0 comments on commit 28a4a04

Please sign in to comment.