#NEWLINE# def __init__( self , * args , **kwargs ) : #NEWLINE# #INDENT# self . relationship = kwargs . pop ( 'relationship' , None ) #NEWLINE# self . _inline = kwargs . pop ( 'inline' , True ) #NEWLINE# super ( RelatedObject , self ) . __init__ ( * self , ** kwargs ) #NEWLINE# if ( ( not self . _inline ) and self . properties ) : #NEWLINE# #INDENT# self . idref = self . properties . parent . id_