Skip to content

Commit 4303077

Browse files
committed
Fix no-untyped-def in livestatus helper
Change-Id: Id91c09035db3a87c903214271a6186b57f1c7bd8
1 parent c0280e9 commit 4303077

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cmk/gui/data_source/livestatus.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@ def _prepare_columns(
7676
# columns to allow for repeatable tests.
7777
return [c for c in sorted(columns) if c not in datasource.add_columns], dynamic_columns
7878

79-
def create_livestatus_query( # type: ignore[no-untyped-def]
80-
self, columns: Sequence[LivestatusColumn], headers
81-
) -> Query:
79+
def create_livestatus_query(self, columns: Sequence[LivestatusColumn], headers: str) -> Query:
8280
return Query(QuerySpecification(table=self.table_name, columns=columns, headers=headers))
8381

8482
def query(

0 commit comments

Comments
 (0)