X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2ims%2Fdomain%2Fstx_object.py;h=be668b6c760ed328829d3eb2c964edacd78950ee;hb=b86917339a9fc4ea0da6c2deadace89c3b0e1bef;hp=9629652ef32ccc8f21803c1247f53a7f763c7464;hpb=387ee50cfe8e97ba211464c311bb7b6eb9ee2961;p=pti%2Fo2.git diff --git a/o2ims/domain/stx_object.py b/o2ims/domain/stx_object.py index 9629652..be668b6 100644 --- a/o2ims/domain/stx_object.py +++ b/o2ims/domain/stx_object.py @@ -15,7 +15,7 @@ # from dataclasses import dataclass import datetime import json -from o2ims.domain.base import AgRoot +from o2common.domain.base import AgRoot from o2ims.domain.resource_type import ResourceTypeEnum, MismatchedModel from o2common.helper import o2logging @@ -25,6 +25,7 @@ logger = o2logging.get_logger(__name__) class StxGenericModel(AgRoot): def __init__(self, type: ResourceTypeEnum, api_response: dict = None, content_hash=None) -> None: + super().__init__() if api_response: self.id = str(api_response.uuid) self.type = type