From: Martin Skorupski Date: Sat, 14 Oct 2023 16:11:25 +0000 (+0200) Subject: Create an init version of a network viewer X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=98b34d11c85627b74ecc2d38a32b36ea380879cb;p=oam.git Create an init version of a network viewer - derive TOP class from ABC for the automated possibility of abstract classes inheriting TOP Issue-ID: OAM-363 Change-Id: Ife810d5e06ed527e677e955fda1852ac6d4244e9 Signed-off-by: Martin Skorupski --- diff --git a/code/network-generator/model/python/Top.py b/code/network-generator/model/python/Top.py index 365ee5c..b076a62 100644 --- a/code/network-generator/model/python/Top.py +++ b/code/network-generator/model/python/Top.py @@ -56,7 +56,7 @@ class ITop: # Define the Top class -class Top(ITop): +class Top(ABC, ITop): def __init__(self, data=None): self._id = data.id if data and data.id else str(uuid.uuid4()) self._name = (