| ▲ | fjasdfas 7 months ago | ||||||||||||||||||||||
So are there downsides to just always setting slots=True on all of my python data types? | |||||||||||||||||||||||
| ▲ | itamarst 7 months ago | parent [-] | ||||||||||||||||||||||
You can't add extra attributes that weren't part of the original dataclass definition:
Most of the time this is not a thing you actually need to do. | |||||||||||||||||||||||
| |||||||||||||||||||||||