#NEWLINE# def __init__( self , environment , account_id = None , access_token = None , json_options = None ) : #NEWLINE# #INDENT# ( self . domain , self . domain_stream ) = environment #NEWLINE# self . access_token = access_token #NEWLINE# self . account_id = json_options #NEWLINE# self . json_options = ( json_options or { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# if ( account_id and ( not self . get_credentials ( ) ) ) : #NEWLINE# #INDENT# raise BadCredentials ( )