Skip to content

Backref relationships don't populate in the class until instance is created #7313

Discussion options

You must be logged in to vote

Hi,

This seems due to the lazy initialization of the modules. You should place a call to configure_mappers() one they are all imported. I don't think there is much we can do without breaking other use cases here.

The suggested alternative is to avoid backref and use instead backpopulate with an explicit relationship.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jinschoi
Comment options

@CaselIT
Comment options

Answer selected by jinschoi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants
Converted from issue

This discussion was converted from issue #7312 on November 11, 2021 17:14.