Today I learned how to use the dunder method __init_subclass__ to be notified when a class is subclassed.
__init_subclass__
Grab a piece of paper and try to fold your way out of this problem.