#NEWLINE# def get_serializer_context( self ) : #NEWLINE# #INDENT# context = super ( CustomerViewSet , self ) . get_serializer_context ( ) #NEWLINE# if ( self . action == 'users' ) : #NEWLINE# #INDENT# context [ 'customer' ] = self . get_object ( ) #NEWLINE# #UNINDENT# return context