X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=code%2Fnetwork-generator%2Fmodel%2Fpython%2Fo_ran_termination_point.py;h=ff9dc89f9625017ec13e3ccb52e8f25227fa5d06;hb=eb61f78711dc62a2c230602ea49f72e9e4a10978;hp=f198846e99a05534b4b93b590377bd3e1ffd71f7;hpb=9ea4e241e3ec0c9dffd3db7fd7ab5a2cf3d13e7d;p=oam.git diff --git a/code/network-generator/model/python/o_ran_termination_point.py b/code/network-generator/model/python/o_ran_termination_point.py index f198846..ff9dc89 100644 --- a/code/network-generator/model/python/o_ran_termination_point.py +++ b/code/network-generator/model/python/o_ran_termination_point.py @@ -18,22 +18,15 @@ 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