Package mrv :: Package automation :: Module base
[hide private]
[frames] | no frames]

Module base

source code

general methods and classes
Functions [hide private]
    Edit
 
_toSimpleType(stringtype) source code
 
_getNodeInfo(node)
Returns: ( nodename, args, kwargs ) - all arguments have been parsed
source code
 
loadWorkflowFromDotFile(dotfile, workflowcls=None)
Create a graph from the given dotfile and create a workflow from it.
source code
 
addWorkflowsFromDotFiles(module, dotfiles, workflowcls=None)
Create workflows from a list of dot-files and add them to the module
source code
Variables [hide private]
  log = logging.getLogger("mrv.automation.base")
  __package__ = 'mrv.automation'
Function Details [hide private]

_getNodeInfo(node)

source code 
Returns:
( nodename, args, kwargs ) - all arguments have been parsed

loadWorkflowFromDotFile(dotfile, workflowcls=None)

source code 
Create a graph from the given dotfile and create a workflow from it. The workflow will be fully intiialized with connected process instances. The all compatible plugs will automatically be connected for all processes connected in the dot file
Parameters:
  • workflowcls - if not None, a dgengine.Graph compatible class to be used for workflow creation. Defaults to automation.workflow.Workflow.
Returns:
List of initialized workflow classes - as they can be nested, the creation of one workflow can actually create several of them

addWorkflowsFromDotFiles(module, dotfiles, workflowcls=None)

source code 
Create workflows from a list of dot-files and add them to the module
Parameters:
Returns:
list of workflow instances created from the given files