From ee28048637006456dd5b55389ab381b886fb7e31 Mon Sep 17 00:00:00 2001 From: Steinthor Palsson Date: Fri, 20 Dec 2024 12:02:31 -0500 Subject: [PATCH] lint --- dlt/extract/hints.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlt/extract/hints.py b/dlt/extract/hints.py index ea78d4688a..9cf5d6db3b 100644 --- a/dlt/extract/hints.py +++ b/dlt/extract/hints.py @@ -263,11 +263,11 @@ def _walk_nested_hints( ) -> Iterator[Tuple[Tuple[str, ...], "DltResourceHints"]]: """Walk nested hints recursively to generate a flat iterator of path and `DltResourceHints` instance pairs""" if path is None: - path = tuple() + path = tuple() # type: ignore[assignment] if path: yield path, self for key, nested_instance in self._nested_hints.items(): - yield from nested_instance._walk_nested_hints(path + (key,)) + yield from nested_instance._walk_nested_hints(path + (key,)) # type: ignore[arg-type] def compute_table_schema(self, item: TDataItem = None, meta: Any = None) -> TTableSchema: """Computes the table schema based on hints and column definitions passed during resource creation.