Skip to content

Commit

Permalink
Fix "Failing to pass a value to the type_params parameter of typing._…
Browse files Browse the repository at this point in the history
…eval_type"
  • Loading branch information
patrick91 committed Nov 8, 2024
1 parent 04936fd commit 6b342b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strawberry/utils/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def eval_type(
assert ast_unparse
type_ = ForwardRef(ast_unparse(ast_obj))

return _eval_type(type_, globalns, localns)
return _eval_type(type_, globalns, localns, type_params=None)

origin = get_origin(type_)
if origin is not None:
Expand Down

0 comments on commit 6b342b2

Please sign in to comment.