spine-tools / Spine-Database-API

Database interface to Spine generic data model
https://www.tools-for-energy-system-modelling.org/
GNU Lesser General Public License v3.0
6 stars 5 forks source link

Introduce superclass - subclass #299

Closed manuelma closed 11 months ago

manuelma commented 11 months ago

So we want to define class inheritance, here is some context: https://github.com/spine-tools/Spine-Toolbox/issues/2364

For now, we want each class to inherit from only one other class. So we don't want multiple inheritance in other words. But the hierarchy can have many levels if desired (although typically it will only have one level).