@@ -176,23 +176,23 @@ def check_compatibility(self) -> None:
176176 def get (self , tenant_id : str , field_path : str ) -> str : ...
177177
178178 @overload
179- def get (self , tenant_id : str , field_path : str , type : type [bool ]) -> bool : ...
179+ def get (self , tenant_id : str , field_path : str , value_type : type [bool ]) -> bool : ...
180180
181181 @overload
182- def get (self , tenant_id : str , field_path : str , type : type [int ]) -> int : ...
182+ def get (self , tenant_id : str , field_path : str , value_type : type [int ]) -> int : ...
183183
184184 @overload
185- def get (self , tenant_id : str , field_path : str , type : type [float ]) -> float : ...
185+ def get (self , tenant_id : str , field_path : str , value_type : type [float ]) -> float : ...
186186
187187 @overload
188- def get (self , tenant_id : str , field_path : str , type : type [timedelta ]) -> timedelta : ...
188+ def get (self , tenant_id : str , field_path : str , value_type : type [timedelta ]) -> timedelta : ...
189189
190190 @overload
191191 def get (
192192 self ,
193193 tenant_id : str ,
194194 field_path : str ,
195- type : type [str ],
195+ value_type : type [str ],
196196 * ,
197197 nullable : bool ,
198198 ) -> str | None : ...
@@ -201,7 +201,7 @@ def get(
201201 self ,
202202 tenant_id : str ,
203203 field_path : str ,
204- type : type | None = None ,
204+ value_type : type | None = None ,
205205 * ,
206206 nullable : bool = False ,
207207 ) -> object :
@@ -213,7 +213,7 @@ def get(
213213 Args:
214214 tenant_id: Tenant UUID.
215215 field_path: Dot-separated field path (e.g., "payments.fee").
216- type : Target type (str, int, float, bool, timedelta). Defaults to str.
216+ value_type : Target type (str, int, float, bool, timedelta). Defaults to str.
217217 nullable: If True, return None for null/unset values instead of raising.
218218
219219 Returns:
@@ -223,7 +223,7 @@ def get(
223223 NotFoundError: If the field has no value (and nullable is False).
224224 TypeMismatchError: If the value cannot be converted to the requested type.
225225 """
226- target_type = type or str
226+ target_type = value_type or str
227227
228228 def _call () -> object :
229229 resp = self ._stub .GetField (
0 commit comments