-class ORanCloudDu(ORanNode, IORanCloudDu):
- def __init__(self, o_ran_du_data: IORanCloudDu = None, **kwargs):
- super().__init__(o_ran_du_data, **kwargs)
+class ORanCloudDu(ORanNode):
+ def __init__(
+ self,
+ data: dict[str, Any] = cast(dict[str, Any], default_value),
+ **kwargs: dict[str, Any]
+ ) -> None:
+ o_ran_cloud_du_data: IORanCloudDu = self._to_o_ran_cloud_du_data(data)
+
+ super().__init__(cast(dict[str, Any], o_ran_cloud_du_data), **kwargs)