Skip to content

Commit

Permalink
fix ensure we pass recursive_guard as kwarg
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanderlee committed Jul 5, 2024
1 parent 4ef0bdf commit d09312b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion marshmallow_dataclass/generic_resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from typing import Annotated, get_args, get_origin

def eval_forward_ref(t: ForwardRef, globalns, localns, recursive_guard=frozenset()):
return t._evaluate(globalns, localns, recursive_guard)
return t._evaluate(globalns, localns, recursive_guard=recursive_guard)

else:
from typing_extensions import Annotated, get_args, get_origin
Expand Down

0 comments on commit d09312b

Please sign in to comment.