Right now ORM configuration isn't neatly encapsulated and it's not always type-annotated. This branch refactors things a bit into a model_class.meta classvar, which has typed properties and still applies all the features we need (like dynamically determined configuration properties). This also reduces the "autocomplete noise" inside the ORM model itself, especially if we add more configuration options in the future.
Right now ORM configuration isn't neatly encapsulated and it's not always type-annotated. This branch refactors things a bit into a
model_class.meta
classvar, which has typed properties and still applies all the features we need (like dynamically determined configuration properties). This also reduces the "autocomplete noise" inside the ORM model itself, especially if we add more configuration options in the future.