Skip to content

Commit

Permalink
convert_pydantic_input_field fix: "type_" to "type"
Browse files Browse the repository at this point in the history
  • Loading branch information
a-leniashin authored and Rami Chowdhury committed Sep 4, 2023
1 parent dc0ca37 commit ac21514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphene_pydantic/converters.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def convert_pydantic_input_field(
"""
declared_type = getattr(field, "type_", None)
field_kwargs.setdefault(
"type_",
"type",
convert_pydantic_type(
declared_type, field, registry, parent_type=parent_type, model=model
),
Expand Down

0 comments on commit ac21514

Please sign in to comment.