Fix dataclass decorator other parameters

This commit is contained in:
Eric Masseran committed 2025-03-18 00:42:58 +01:00
1 parent 999332ef77
commit a3fd90d734
2 files changed
+36 -5

No files matched your search

+3
View File
@@ -613,6 +613,9 @@ def _dataclass(value, arguments, callback):
# The decorator function from dataclass_transform acting as the
# dataclass decorator.
and not isinstance(value, Decoratee)
# The decorator function from dataclass_transform acting as the
# dataclass decorator with customized parameters
and not isinstance(value, DataclassDecorator)
)
return ValueSet(