Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
steinitzu committed Dec 20, 2024
1 parent d0a83b2 commit ee28048
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dlt/extract/hints.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ee28048

Please sign in to comment.