if inheritance isn’t necessary for other reasons, ...
# getting-started
s
if inheritance isn’t necessary for other reasons, I think you might just be able to define whatever functions you need on the data class in question