python-snap7·PyPI
Python wrapper for the snap7 library
Python Attrs: Advanced Data Classes, With Example Code • Python ...
The Data Class decorator is called after the class is created, so in order to add __slots__ the decorator would have to create a new class, set __slots__, and return it.
UsingSlots - Python Wiki
slots__ are discussed in the Python Language Reference under section 3.3.2, Customizing Attribute Access. The first thing we should understand is that __slots__ is only used in the context of Python classes.
