Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sqlalchemy.exc.InvalidRequestError
- sqlalchemy.exc.InvalidRequestError: One or more mappers failed to initialize - can't proceed with initialization of other mappers. Triggering mapper: 'mapped class User->user'. Original exception was: When initializing mapper mapped class User->user, expression 'ConfirmationEmail' failed to locate a name ('ConfirmationEmail'). If this is a class name, consider adding this relationship() to the <class 'app.models.User'> class after both dependent classes have been defined.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement