Skip to content

Using nested DTOs #223

Closed Answered by ste-pool
ste-pool asked this question in Q&A
Discussion options

You must be logged in to vote

Okay, I figured it out. I stumbed upon one of the pull requests #148 which helped! I was making the model parent be one of the DeclarativeBase of sqlalchemy rather than the UUIDBase.

It needs the:

class Base(DeclarativeBase):
    registry = orm_registry 

For it to work. I feel like an idiot, but it's solved at least! 🙌

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ste-pool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant