RHESSysWorkflows  1.33
Public Member Functions | List of all members
rhessysworkflows.context.Context Class Reference
Inheritance diagram for rhessysworkflows.context.Context:

Public Member Functions

def __init__
 Constructor for Context class. More...
 
def __init__
 Constructor for Context class. More...
 

Constructor & Destructor Documentation

def rhessysworkflows.context.Context.__init__ (   self,
  projectDir,
  configFile = None 
)

Constructor for Context class.

Parameters
projectDirPath of the project whose metadata store is to be read from
configFilePath of rhessysworkflow configuration file to use. If none, will attempt to read configuration from a file named in the environment variable ecohydrolib.context.Context.CONFIG_FILE_ENV

WorkflowVersionError if a version already exists in the metadata store and is different than RHESSysMetadata._workflowVersion

def rhessysworkflows.context.Context.__init__ (   self,
  projectDir,
  configFile = None 
)

Constructor for Context class.

Parameters
projectDirPath of the project whose metadata store is to be read from
configFilePath of rhessysworkflow configuration file to use. If none, will attempt to read configuration from a file named in the environment variable ecohydrolib.context.Context.CONFIG_FILE_ENV

WorkflowVersionError if a version already exists in the metadata store and is different than RHESSysMetadata._workflowVersion


The documentation for this class was generated from the following file: