X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2ims%2Fdomain%2Fstx_object.py;fp=o2ims%2Fdomain%2Fstx_object.py;h=773bd3a8b29bcd1d8f0c81aced0392717914a796;hb=62f8863960ebd439c714b0ceed204731d9b31266;hp=90c166feedfb30b77900828cd29d404922d49aec;hpb=5c501cb5e57a1ac3e0e7d38e22a3759e7958777a;p=pti%2Fo2.git diff --git a/o2ims/domain/stx_object.py b/o2ims/domain/stx_object.py index 90c166f..773bd3a 100644 --- a/o2ims/domain/stx_object.py +++ b/o2ims/domain/stx_object.py @@ -17,15 +17,11 @@ import datetime import json from o2ims.domain.base import AgRoot -from o2ims.domain.resource_type import ResourceTypeEnum +from o2ims.domain.resource_type import ResourceTypeEnum, MismatchedModel from o2common.helper import o2logging logger = o2logging.get_logger(__name__) -class MismatchedModel(Exception): - pass - - class StxGenericModel(AgRoot): def __init__(self, type: ResourceTypeEnum, api_response: dict = None, content_hash=None) -> None: