diff --git a/infrastructure/abri/config.py b/infrastructure/abri/config.py index fe9fa6d8c..f2da18a77 100644 --- a/infrastructure/abri/config.py +++ b/infrastructure/abri/config.py @@ -11,4 +11,9 @@ class AbriConfig: @classmethod def from_env(cls, env: Mapping[str, str]) -> "AbriConfig": - raise NotImplementedError + return cls( + endpoint_url=env["ABRI_RELAY_URL"], + username=env["ABRI_RELAY_USERNAME"], + password=env["ABRI_RELAY_PASSWORD"], + default_resource=env["ABRI_RELAY_DEFAULT_RESOURCE"], + )