#NEWLINE# def _get_resources( self , parsed_args ) : #NEWLINE# #INDENT# scope = ( 'public' if parsed_args . public else 'private' ) #NEWLINE# mistral_client = self . app . client_manager . workflow_engine #NEWLINE# return mistral_client . workflows . create ( parsed_args . definition . read ( ) , scope = scope )