HPS-MC
JobConfig Class Reference

Wrapper for accessing config information from parser. More...

Inheritance diagram for JobConfig:

Public Member Functions

def __init__ (self)
 
def __str__ (self)
 
def config (self, obj, section=None, required_names=[], allowed_names=[], require_section=True)
 Push config into an object by setting an attribute. More...
 

Public Attributes

 parser
 

Detailed Description

Wrapper for accessing config information from parser.

Definition at line 29 of file job.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)

Definition at line 32 of file job.py.

Member Function Documentation

◆ __str__()

def __str__ (   self)

Definition at line 35 of file job.py.

◆ config()

def config (   self,
  obj,
  section = None,
  required_names = [],
  allowed_names = [],
  require_section = True 
)

Push config into an object by setting an attribute.

Parameters
objobject config is pushed to
sectionobject name (basically name of the component the config is pushed to?)
required_nameslist of names of required configurations
allowed_nameslist of allowed config names

Definition at line 44 of file job.py.

Member Data Documentation

◆ parser

parser

Definition at line 33 of file job.py.


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