Skip to content

fix: linting at flux_table.py #677

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## 1.47.0 [unreleased]

### Bug Fixes
1. [#674](https://github.com/influxdata/influxdb-client-python/pull/674): Adding type linting to client.flux_table.FluxTable
2. Removed duplicated ```from pathlib import Path``` at setup.py (to pass 1 linting test)

### Bug Fixes
1. [#672](https://github.com/influxdata/influxdb-client-python/pull/672): Adding type validation to url attribute in client object

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