Sorry, forgot to make clear that the above allows you to do:

#get the identity user
u = User(1)

#create myUser
mu=myUser(fk_to_user=None)
mu.user=u
# can now reference the attributes of the user through mu
email = mu.user.emailAddress

Reply via email to