Python Data Class Inheritance Vs Interface