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.