#NEWLINE# def __init__( self , baseurl = None , **kw ) : #NEWLINE# #INDENT# if baseurl : #NEWLINE# #INDENT# kw [ 'baseurl' ] = baseurl #NEWLINE# #UNINDENT# super ( API , self ) . __init__ ( ** kw ) #NEWLINE# self . baseurl = self . _meta . baseurl . strip ( '/' ) #NEWLINE# self . _resources = [ ] #NEWLINE# self . _setup_request_handler ( ** kw )