Separate setup() and module_setup().

This commit is contained in:
erinhmclark
2025-02-10 18:07:47 +00:00
parent 2c3d1f591f
commit e97ccf8a73
14 changed files with 18 additions and 18 deletions

View File

@@ -13,7 +13,7 @@ class WhisperEnricher(Enricher):
Only works if an S3 compatible storage is used
"""
def module_setup(self) -> None:
def setup(self) -> None:
self.stores = self.config['steps']['storages']
self.s3 = get_module("s3_storage", self.config)
if not "s3_storage" in self.stores: