From 98ce25f193b6db9298382868ad115c2e5a08e995 Mon Sep 17 00:00:00 2001 From: David Michaels Date: Thu, 7 Dec 2023 17:59:05 -0500 Subject: [PATCH] Minor fix to Portal class in structured_data. --- dcicutils/structured_data.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dcicutils/structured_data.py b/dcicutils/structured_data.py index ce7dea9ba..63575bee6 100644 --- a/dcicutils/structured_data.py +++ b/dcicutils/structured_data.py @@ -558,6 +558,7 @@ def __init__(self, elif isinstance(key, dict): self._key = key self._key_pair = (key.get("key"), key.get("secret")) if key else None + self._server = key.get("server") elif isinstance(key, tuple) and len(key) >= 2: self._key = {"key": key[0], "secret": key[1]} self._key_pair = key