Create an init version of a network viewer 13/11913/1
authorMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Sat, 14 Oct 2023 16:11:25 +0000 (18:11 +0200)
committerMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Sat, 14 Oct 2023 16:11:31 +0000 (18:11 +0200)
- 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 <martin.skorupski@highstreet-technologies.com>
code/network-generator/model/python/Top.py

index 365ee5c..b076a62 100644 (file)
@@ -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 = (