Separate setup() and module_setup().

This commit is contained in:
erinhmclark
2025-02-10 17:25:15 +00:00
parent c4bb667cec
commit 2c3d1f591f
14 changed files with 17 additions and 26 deletions

View File

@@ -21,8 +21,7 @@ from . import GWorksheet
class GsheetsFeeder(Feeder):
def setup(self, config: dict):
super().setup(config)
def module_setup(self) -> None:
self.gsheets_client = gspread.service_account(filename=self.service_account)
# TODO mv to validators
assert self.sheet or self.sheet_id, (