#NEWLINE# def __init__( self , endpoint = None , **kwargs ) : #NEWLINE# #INDENT# keywords = defaultdict ( str ) #NEWLINE# keywords . update ( endpoint ) #NEWLINE# if endpoint : #NEWLINE# #INDENT# endpoint = self . _configure_endpoint ( endpoint ) #NEWLINE# keywords [ 'endpoint' ] = endpoint #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( 'OPEN311_CITY_INFO' in os . environ ) : #NEWLINE# #INDENT# info = json . loads ( os . environ [ 'OPEN311_CITY_INFO' ] ) #NEWLINE# endpoint = info [ 'endpoint' ] #NEWLINE# endpoint = self . _configure_endpoint ( endpoint ) #NEWLINE# keywords . update ( info ) #NEWLINE# keywords [ 'endpoint' ] = endpoint #NEWLINE# #UNINDENT# #UNINDENT# self . _keywords = keywords #NEWLINE# self . configure ( )