X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2common%2Fdomain%2Fbase.py;h=128f950f026c0c8e1e1b8848f957b4b93d940759;hb=f7ef52a5b4ead0472b1b5828471b28c88d2a0aea;hp=f419f23019123cd7eba86996cf8d1741e0073f65;hpb=5601b5899b0fd15748ae0474de9f5f6dda72864c;p=pti%2Fo2.git diff --git a/o2common/domain/base.py b/o2common/domain/base.py index f419f23..128f950 100644 --- a/o2common/domain/base.py +++ b/o2common/domain/base.py @@ -40,10 +40,10 @@ class Serializer(object): def serialize(self): try: d = {c: getattr(self, c) for c in inspect(self).attrs.keys()} - if 'createtime' in d: - d['createtime'] = d['createtime'].isoformat() - if 'updatetime' in d: - d['updatetime'] = d['updatetime'].isoformat() + # if 'createtime' in d: + # d['createtime'] = d['createtime'].isoformat() + # if 'updatetime' in d: + # d['updatetime'] = d['updatetime'].isoformat() return d # return {c: getattr(self, c) for c in inspect(self).attrs.keys()} except NoInspectionAvailable: