Aiden Price
Aiden Price
Hi, I've tried your suggestion and it certainly cleans up a lot of repeated code. One thing I should point out though, the `LOG = get_logger(__file__)` isn't inheritable or injectable....
Thank you!
Is `polymorphic_load: inline` a potential solution to @a0s problem? For example; ``` __mapper_args__ = { "polymorphic_identity": "wireguard", "polymorphic_load": "inline", } ``` See SQLAlchemy docs [https://docs.sqlalchemy.org/en/20/orm/queryguide/inheritance.html#configuring-with-polymorphic-on-mappers](https://docs.sqlalchemy.org/en/20/orm/queryguide/inheritance.html#configuring-with-polymorphic-on-mappers)