Composition Over Copy-Paste: Building Reusable Behaviors with Type Discriminators in SQLAlchemy
You know that feeling when you need to add the same feature to multiple models in your app? Like, you want several different entities to have comments, or alerts, or notifications...