#NEWLINE# def get_queryset( self , * args , **kwargs ) : #NEWLINE# #INDENT# queryset = super ( BaseServiceViewSet , self ) . get_queryset ( * self , ** kwargs ) #NEWLINE# if ( self . action in ( 'list' , 'retrieve' ) ) : #NEWLINE# #INDENT# serializer_class = self . get_serializer_class ( ) #NEWLINE# if hasattr ( serializer_class , 'eager_load' ) : #NEWLINE# #INDENT# return serializer_class . eager_load ( queryset ) #NEWLINE# #UNINDENT# #UNINDENT# return queryset