python 3.10 type definitions
[oam.git] / code / network-generator / model / python / o_ran_termination_point.py
index f198846..ff9dc89 100644 (file)
 An abstract Class for O-RAN TerminationPoint
 """
 from abc import abstractmethod
-from typing import Any, Dict
+from typing import Any
 from model.python.o_ran_object import ORanObject
 
+
 # Define an abstract O-RAN Node class
 class ORanTerminationPoint(ORanObject):
     def __init__(self, **kwargs):
         super().__init__(**kwargs)
 
     def toTopology(self):
-        result: Dict[str, Any] = {"tp-id": self.name}
+        result: dict[str, Any] = {"tp-id": self.name}
         return result
-
-    @abstractmethod
-    def toKml(self):
-        pass
-
-    @abstractmethod
-    def toSvg(self):
-        pass