Skip to content

Commit

Permalink
Minor fix to Portal class in structured_data.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmichaels-harvard committed Dec 7, 2023
1 parent 9090833 commit 98ce25f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dcicutils/structured_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 98ce25f

Please sign in to comment.