python How can dataclasses be produced to function greatest having __slots__?