Skip to content

How do I use this with DeclarativeBase base class? #42

@tjni

Description

@tjni

Thank you for this library! I'm using it and exploring how to add better type safety. In SQLAlchemy, the recommendation is to switch from calling declarative_base() to inheriting from DeclarativeBase, and all model classes inherit from that type. Can you help me understand how to combine this with sqlservice, which has its own ModelBase base class?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions