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 04c6e3d commit 6b6dc51Copy full SHA for 6b6dc51
marshmallow_dataclass/__init__.py
@@ -80,7 +80,6 @@ class User:
80
81
# Recursion guard for class_schema()
82
_RECURSION_GUARD = threading.local()
83
-_RECURSION_GUARD.seen_classes = {}
84
85
86
@overload
@@ -352,6 +351,7 @@ def class_schema(
352
351
clazz_frame = current_frame.f_back
353
# Per https://docs.python.org/3/library/inspect.html#the-interpreter-stack
354
del current_frame
+ _RECURSION_GUARD.seen_classes = {}
355
try:
356
return _internal_class_schema(clazz, base_schema, clazz_frame)
357
finally:
0 commit comments