Skip to content

Commit

Permalink
fix: bug in parameters and pydantic swallow (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
vijayvammi authored Feb 18, 2025
1 parent c2186ed commit 699ccbb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions runnable/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@ def filter_arguments_for_func(

bound_model = bind_args_for_pydantic_model(named_param, value.annotation)
bound_args[name] = bound_model
unassigned_params = unassigned_params.difference(
bound_model.model_fields.keys()
)

elif value.annotation in [str, int, float, bool]:
# Cast it if its a primitive type. Ensure the type matches the annotation.
Expand Down

0 comments on commit 699ccbb

Please sign in to comment.