#NEWLINE# def configure( self , endpoint = None , **kwargs ) : #NEWLINE# #INDENT# 'Configure a previously initialized instance of the class.' #NEWLINE# if endpoint : #NEWLINE# #INDENT# kwargs [ 'endpoint' ] = endpoint #NEWLINE# #UNINDENT# keywords = self . _keywords . copy ( ) #NEWLINE# keywords . update ( kwargs ) #NEWLINE# if ( 'endpoint' in kwargs ) : #NEWLINE# #INDENT# endpoint = kwargs [ 'endpoint' ] #NEWLINE# keywords [ 'endpoint' ] = self . _configure_endpoint ( endpoint ) #NEWLINE# #UNINDENT# self . api_key = ( keywords [ 'api_key' ] or self . _global_api_key ( ) ) #NEWLINE# self . endpoint = keywords [ 'endpoint' ] #NEWLINE# self . format = ( keywords [ 'format' ] or 'json' ) #NEWLINE# self . jurisdiction = keywords [ 'jurisdiction' ] #NEWLINE# self . proxy = keywords [ 'proxy' ] #NEWLINE# self . discovery_url = ( keywords [ 'discovery' ] or None ) #NEWLINE# self . session = requests . Session ( ) #NEWLINE# if ( 'ssl_version' in keywords ) : #NEWLINE# #INDENT# self . session . mount ( 'https://' , SSLAdapter ( keywords [ 'ssl_version' ] ) )