Closed mishamsk closed 1 year ago
Hey,
Just realized that SerializableType and GenericSerializableType do not define __slots__ (unlike DataClassXXXMixin) which indirectly makes it impossible to create/use slotted custom types.
__slots__
DataClassXXXMixin
Very small change, looks pretty benign to me, but valuable.
Oh, good catch! I didn't even think about it. Thanks you, I'll merge it and update test_slots later on.
@Fatal1ty thanks. so far I had to resort to this in my new version ;-)
Hey,
Just realized that SerializableType and GenericSerializableType do not define
__slots__
(unlikeDataClassXXXMixin
) which indirectly makes it impossible to create/use slotted custom types.Very small change, looks pretty benign to me, but valuable.