Package mrv :: Package automation :: Package processes
[hide private]
[frames] | no frames]

Package processes

source code

Contains all processes
Functions [hide private]
 
parseProcessesFromPackage(importBase, packageFile)
Parse all processes from the given package's sub-modules and add them to main processes module to make them available to the workflow system
source code
 
addProcesses(*args)
Add the given process classes to the list of known process types.
source code
Variables [hide private]
  __package__ = 'mrv.automation.processes'
Function Details [hide private]

parseProcessesFromPackage(importBase, packageFile)

source code 
Parse all processes from the given package's sub-modules and add them to main processes module to make them available to the workflow system
Parameters:
  • importBase - Something like: parentPackage.subpackage.mypackage, of your processes package
  • packageFile - the pointing to your processes package, usually __file__ of your package

addProcesses(*args)

source code 
Add the given process classes to the list of known process types. They will be regeistered with their name obtained by str( processCls ). Workflows loaded from files will have access to the processes in this package
Parameters:
  • args - process classes to be registered to this module.