From 1b8e84d95db48e8b1d0d4bc8de030df5031ca2e7 Mon Sep 17 00:00:00 2001 From: Reuben Frankel Date: Thu, 18 Jan 2024 00:43:25 +0000 Subject: [PATCH] Fix `TypeError: get_sheet_name() missing 1 required positional argument: 'stream_config'` --- tap_google_sheets/tap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tap_google_sheets/tap.py b/tap_google_sheets/tap.py index fd97448..c1cace0 100644 --- a/tap_google_sheets/tap.py +++ b/tap_google_sheets/tap.py @@ -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", [])