-class ORanNearRtRic(ORanNode, IORanNearRtRic):
- def __init__(self, o_ran_near_rt_ric_data: IORanNearRtRic = None, **kwargs):
- super().__init__(o_ran_near_rt_ric_data, **kwargs)
+class ORanNearRtRic(ORanNode):
+ def __init__(
+ self,
+ data: dict[str, Any] = cast(dict[str, Any], default_value),
+ **kwargs: dict[str, Any]
+ ) -> None:
+ o_ran_near_rt_ric_data: IORanNearRtRic = (
+ self._to_o_ran_near_rt_ric_data(data)
+ )
+ super().__init__(
+ cast(dict[str, Any], o_ran_near_rt_ric_data), **kwargs
+ )