improv.config#

Module Contents#

Classes#

Config

Handles configuration and logs of configs for

ConfigModule

Attributes#

logger

improv.config.logger#
class improv.config.Config(configFile)[source]#

Handles configuration and logs of configs for the entire server/processing pipeline.

createConfig()[source]#

Read yaml config file and create config for Nexus TODO: check for config file compliance, error handle it beyond what we have below.

addParams(type, param)[source]#

Function to add paramter param of type type TODO: Future work

saveActors()[source]#

Saves the actors config to a specific file.

class improv.config.ConfigModule(name, packagename, classname, options=None)[source]#
saveConfigModules(pathName, wflag)[source]#

Loops through each actor to save the modules to the config file.

Parameters:
  • pathName

  • wflag (bool) –

Returns:

wflag

Return type:

bool

exception improv.config.RepeatedActorError(repeat)[source]#

Bases: Exception

Common base class for all non-exit exceptions.

exception improv.config.RepeatedConnectionsError(repeat)[source]#

Bases: Exception

Common base class for all non-exit exceptions.