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=9629652ef32ccc8f21803c1247f53a7f763c7464;hb=387ee50cfe8e97ba211464c311bb7b6eb9ee2961;hp=773bd3a8b29bcd1d8f0c81aced0392717914a796;hpb=62f8863960ebd439c714b0ceed204731d9b31266;p=pti%2Fo2.git diff --git a/o2ims/domain/stx_object.py b/o2ims/domain/stx_object.py index 773bd3a..9629652 100644 --- a/o2ims/domain/stx_object.py +++ b/o2ims/domain/stx_object.py @@ -26,7 +26,7 @@ class StxGenericModel(AgRoot): def __init__(self, type: ResourceTypeEnum, api_response: dict = None, content_hash=None) -> None: if api_response: - self.id = api_response.uuid + self.id = str(api_response.uuid) self.type = type self.updatetime = datetime.datetime.strptime( api_response.updated_at.split('.')[0], "%Y-%m-%dT%H:%M:%S") \