parameters: (module)
return_statement: return process
docstring: Look inside the module and find the Processes it contains
docstring_summary: Look inside the module and find the Processes it contains
docstring_tokens: Look inside the module and find the Processes it contains
function: def findProcess(module):
      """Look inside the module and find the Processes it contains"""
      class Temp(object):
          pass
      process = None
      if isinstance(module,dict):
          if 'process' in module:
              p = module['process']
              module = Temp()
              module.process = p
      if hasattr(module,'process'):
          if isinstance(module.process,Process):
              process = module.process
          else:
              raise RuntimeError("The attribute named 'process' does not inherit from the Process class")
      else:
          raise RuntimeError("no 'process' attribute found in the module, please add one")
      return process
function_tokens: def findProcess ( module ) : class Temp ( object ) : pass process = None if isinstance ( module , dict ) : if 'process' in module : p = module [ 'process' ] module = Temp ( ) module . process = p if hasattr ( module , 'process' ) : if isinstance ( module . process , Process ) : process = module . process else : raise RuntimeError ( "The attribute named 'process' does not inherit from the Process class" ) else : raise RuntimeError ( "no 'process' attribute found in the module, please add one" ) return process