saip: ProfileElementSD: call _post_decode() when instantiating with decoded argument

Otherwise self.keys is not generated from the given data and encoding will fail.

Change-Id: I3020f581a908fecc01d5d255ab5991ce1652e3ec
This commit is contained in:
Alexander Couzens authored and laforge committed 2026-01-17 21:52:38 +00:00
1 parent 2e7944cc98
commit 8557ec86be
1 file changed
+1
+1
View File
@@ -1032,6 +1032,7 @@ class ProfileElementSD(ProfileElement):
def __init__(self, decoded: Optional[dict] = None, **kwargs):
super().__init__(decoded, **kwargs)
if decoded:
self._post_decode()
return
# provide some reasonable defaults for a MNO-SD
self.decoded['instance'] = {