#NEWLINE# def __init__( self , api_name = 'v1' , serializer = None , response_generator = None ) : #NEWLINE# #INDENT# self . api_name = api_name #NEWLINE# self . _registry = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . _canonicals = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# if serializer : #NEWLINE# #INDENT# self . serializer = response_generator #NEWLINE# #UNINDENT# if response_generator : #NEWLINE# #INDENT# self . response_generator = response_generator