Skip to content

Commit

Permalink
Fix `TypeError: get_sheet_name() missing 1 required positional argume…
Browse files Browse the repository at this point in the history
…nt: 'stream_config'`
  • Loading branch information
ReubenFrankel committed Jan 18, 2024
1 parent 29a4252 commit 1b8e84d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tap_google_sheets/tap.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def discover_streams(self) -> List[Stream]:

sheets = self.config.get("sheets") or [self.config]
for stream_config in sheets:
stream_name = stream_config.get("output_name") or self.get_sheet_name()
stream_name = stream_config.get("output_name") or self.get_sheet_name(stream_config)
stream_name = stream_name.replace(" ", "_")
key_properties = stream_config.get("key_properties", [])

Expand Down

0 comments on commit 1b8e84d

Please sign in to comment.