X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=inline;f=code%2Fnetwork-generator%2Fmodel%2Fpython%2Fo_ran_termination_point.py;fp=code%2Fnetwork-generator%2Fmodel%2Fpython%2Fo_ran_termination_point.py;h=ff9dc89f9625017ec13e3ccb52e8f25227fa5d06;hb=6ed10a839ce487fafaf0d8b7548f39c95d1ab864;hp=f198846e99a05534b4b93b590377bd3e1ffd71f7;hpb=3cdab9049d676940fa2140d707e4a14c777b59c3;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