#NEWLINE# def _serialize( self , value , attr , obj ) : #NEWLINE# #INDENT# key = super ( HyperlinkRelated , self ) . _serialize ( value , attr , obj ) #NEWLINE# kwargs = { #NEWLINE# #INDENT# self . url_key : key , #NEWLINE# #UNINDENT# } #NEWLINE# return url_for ( self . endpoint , _external = self . external , ** kwargs )