#NEWLINE# def __init__( self , mistral_url = None , username = None , api_key = None , project_name = None , auth_url = None , project_id = None , endpoint_type = 'publicURL' , service_type = 'workflowv2' , auth_token = None , user_id = None , cacert = None , insecure = False ) : #NEWLINE# #INDENT# if ( mistral_url and ( not isinstance ( mistral_url , six . string_types ) ) ) : #NEWLINE# #INDENT# raise RuntimeError ( 'Mistral url should be string' ) #NEWLINE# #UNINDENT# if auth_url : #NEWLINE# #INDENT# ( mistral_url , auth_token , project_id , user_id ) = self . authenticate ( mistral_url , username , api_key , project_name , auth_url , auth_token , endpoint_type , service_type , auth_token , user_id , cacert , insecure ) #NEWLINE# #UNINDENT# if ( not mistral_url ) : #NEWLINE# #INDENT# mistral_url = 'http://localhost:8989/v2' #NEWLINE# #UNINDENT# self . http_client = httpclient . HTTPClient ( mistral_url , auth_token , project_id , user_id , cacert = cacert , insecure = insecure ) #NEWLINE# self . workbooks = workbooks . WorkbookManager ( self ) #NEWLINE# self . executions = executions . ExecutionManager ( self ) #NEWLINE# self . tasks = tasks . TaskManager ( self ) #NEWLINE# self . actions = actions . ActionManager ( self ) #NEWLINE# self . workflows = workflows . WorkflowManager ( self ) #NEWLINE# self . cron_triggers = cron_triggers . CronTriggerManager ( self ) #NEWLINE# self . environments = environments . EnvironmentManager ( self ) #NEWLINE# self . action_executions = action_executions . ActionExecutionManager ( self ) #NEWLINE# self . services = services . ServiceManager ( self ) #NEWLINE# self . members = members . MemberManager ( self )