@@ -58,11 +58,6 @@ class ParameterUpdateStatus(Enum):
5858 def _from_update_status (status : GRPCUpdateStatus ) -> "ParameterUpdateStatus" :
5959 """Convert GRPCUpdateStatus to ParameterUpdateStatus.
6060
61- Notes
62- -----
63- This method is used to convert the status of the update from gRPC to the
64- parameter update status. Not to be used directly by the user.
65-
6661 Parameters
6762 ----------
6863 status : GRPCUpdateStatus
@@ -72,6 +67,11 @@ def _from_update_status(status: GRPCUpdateStatus) -> "ParameterUpdateStatus":
7267 -------
7368 ParameterUpdateStatus
7469 Parameter update status.
70+
71+ Notes
72+ -----
73+ This method is used to convert the status of the update from gRPC to the
74+ parameter update status. Not to be used directly by the user.
7575 """
7676 status_mapping = {
7777 GRPCUpdateStatus .SUCCESS : ParameterUpdateStatus .SUCCESS ,
@@ -107,11 +107,6 @@ def __init__(self, id: int, name: str, dimension_type: ParameterType, dimension_
107107 def _from_proto (cls , proto : GRPCDrivingDimension ) -> "Parameter" :
108108 """Create a ``Parameter`` instance from a ``proto`` object.
109109
110- Notes
111- -----
112- This method is used to convert the parameter from gRPC to the parameter
113- object. Not to be used directly by the user.
114-
115110 Parameters
116111 ----------
117112 proto : GRPCDrivingDimension
@@ -121,6 +116,11 @@ def _from_proto(cls, proto: GRPCDrivingDimension) -> "Parameter":
121116 -------
122117 Parameter
123118 Parameter object.
119+
120+ Notes
121+ -----
122+ This method is used to convert the parameter from gRPC to the parameter
123+ object. Not to be used directly by the user.
124124 """
125125 return cls (
126126 id = proto .id ,
@@ -162,15 +162,15 @@ def dimension_type(self, value: ParameterType):
162162 def _to_proto (self ):
163163 """Convert a ``Parameter`` instance to a ``proto`` object.
164164
165- Notes
166- -----
167- This method is used to convert the parameter from the parameter object to
168- gRPC. Not to be used directly by the user.
169-
170165 Returns
171166 -------
172167 GRPCDrivingDimension
173168 Parameter object in gRPC.
169+
170+ Notes
171+ -----
172+ This method is used to convert the parameter from the parameter object to
173+ gRPC. Not to be used directly by the user.
174174 """
175175 return GRPCDrivingDimension (
176176 id = self .id ,
0 commit comments