ldc_bpcsad.utils.add_dataclass_slots

ldc_bpcsad.utils.add_dataclass_slots(cls)[source]

Add __slots__ to a data class.

Notes

https://github.com/ericvsmith/dataclasses/blob/master/dataclass_tools.py