We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b4411a commit d6d6a03Copy full SHA for d6d6a03
src/omnipy/util/helpers.py
@@ -167,8 +167,10 @@ def evaluate_any_forward_refs_if_possible(in_type: TypeForm,
167
else:
168
globalns = {}
169
try:
170
- return cast(type | GenericAlias,
171
- in_type._evaluate(globalns, localns if localns else locals(), frozenset()))
+ return cast(
+ type | GenericAlias,
172
+ in_type._evaluate(
173
+ globalns, localns if localns else locals(), recursive_guard=set()))
174
except NameError:
175
pass
176
0 commit comments