From 62ad53df5a57bf09babacccd27c288d63f2b5771 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Fri, 3 Jul 2026 14:34:53 +0000 Subject: [PATCH] =?UTF-8?q?Abri=20relay=20credentials=20and=20defaults=20h?= =?UTF-8?q?ydrate=20from=20environment=20configuration=20=F0=9F=9F=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- infrastructure/abri/config.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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"], + )