From 1b3e4545cea52fdac23e1b0acbf779341b37ade2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20F=C3=B6rster?= Date: Wed, 19 Mar 2025 15:01:28 +0100 Subject: [PATCH] add wrapper function to obtain credentials (esp. testing) --- src/delta_barth/management.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/delta_barth/management.py b/src/delta_barth/management.py index acc0426..330f7c9 100644 --- a/src/delta_barth/management.py +++ b/src/delta_barth/management.py @@ -25,6 +25,11 @@ def set_credentials( ) +def get_credentials() -> str: # pragma: no cover + creds = SESSION.creds + return creds.model_dump_json() + + def set_base_url( base_url: str, ) -> None: # pragma: no cover