@@ -161,23 +161,25 @@ def _metadata(self) -> list[tuple[str, str]]:
161161 async def get (self , tenant_id : str , field_path : str ) -> str : ...
162162
163163 @overload
164- async def get (self , tenant_id : str , field_path : str , type : type [bool ]) -> bool : ...
164+ async def get (self , tenant_id : str , field_path : str , value_type : type [bool ]) -> bool : ...
165165
166166 @overload
167- async def get (self , tenant_id : str , field_path : str , type : type [int ]) -> int : ...
167+ async def get (self , tenant_id : str , field_path : str , value_type : type [int ]) -> int : ...
168168
169169 @overload
170- async def get (self , tenant_id : str , field_path : str , type : type [float ]) -> float : ...
170+ async def get (self , tenant_id : str , field_path : str , value_type : type [float ]) -> float : ...
171171
172172 @overload
173- async def get (self , tenant_id : str , field_path : str , type : type [timedelta ]) -> timedelta : ...
173+ async def get (
174+ self , tenant_id : str , field_path : str , value_type : type [timedelta ]
175+ ) -> timedelta : ...
174176
175177 @overload
176178 async def get (
177179 self ,
178180 tenant_id : str ,
179181 field_path : str ,
180- type : type [str ],
182+ value_type : type [str ],
181183 * ,
182184 nullable : bool ,
183185 ) -> str | None : ...
@@ -186,7 +188,7 @@ async def get(
186188 self ,
187189 tenant_id : str ,
188190 field_path : str ,
189- type : type | None = None ,
191+ value_type : type | None = None ,
190192 * ,
191193 nullable : bool = False ,
192194 ) -> object :
@@ -198,7 +200,7 @@ async def get(
198200 Args:
199201 tenant_id: Tenant UUID.
200202 field_path: Dot-separated field path (e.g., "payments.fee").
201- type : Target type (str, int, float, bool, timedelta). Defaults to str.
203+ value_type : Target type (str, int, float, bool, timedelta). Defaults to str.
202204 nullable: If True, return None for null/unset values instead of raising.
203205
204206 Returns:
@@ -208,7 +210,7 @@ async def get(
208210 NotFoundError: If the field has no value (and nullable is False).
209211 TypeMismatchError: If the value cannot be converted to the requested type.
210212 """
211- target_type = type or str
213+ target_type = value_type or str
212214
213215 async def _call () -> object :
214216 resp = await self ._stub .GetField (
0 commit comments