#NEWLINE# def __init__( self , * args , **kwargs ) : #NEWLINE# #INDENT# super ( BaseESSerializer , self ) . __init__ ( * args , ** kwargs ) #NEWLINE# for field_name in self . fields : #NEWLINE# #INDENT# self . fields [ field_name ] . read_only = True #NEWLINE# #UNINDENT# if getattr ( self , 'context' ) : #NEWLINE# #INDENT# for field_name in self . fields : #NEWLINE# #INDENT# self . fields [ field_name ] . context = args . context