Added decorator.

This commit is contained in:
Pablo Martin 2023-01-16 14:09:02 +01:00
parent 9606e3e269
commit 601e3a667c

View file

@ -91,6 +91,7 @@ class LolaConfig:
self._s3_reader = S3FileReader(s3_client=boto3.client("s3"))
@_needs_env_data
def fetch_slack_webhooks(self, s3_reader=None) -> None:
"""
Read the slack webhooks file from S3 and store the webhooks in memory.