Skip to content

Commit a4ab2ab

Browse files
committed
correct typing of safeget function call
1 parent 5ec43b0 commit a4ab2ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guardrails/validator_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ async def validate_dependents(
256256
iteration: Iteration,
257257
):
258258
async def process_child(child_setup):
259-
child_value = safe_get[value, child_setup.key]
259+
child_value = safe_get(value, child_setup.key)
260260
new_child_value, new_metadata = await self.async_validate(
261261
child_value,
262262
metadata,

0 commit comments

Comments
 (0)