Wrapper for accessing config information from parser.
More...
|
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...
|
|
Wrapper for accessing config information from parser.
Definition at line 29 of file job.py.
◆ __init__()
◆ __str__()
◆ config()
def config |
( |
|
self, |
|
|
|
obj, |
|
|
|
section = None , |
|
|
|
required_names = [] , |
|
|
|
allowed_names = [] , |
|
|
|
require_section = True |
|
) |
| |
Push config into an object by setting an attribute.
- Parameters
-
obj | object config is pushed to |
section | object name (basically name of the component the config is pushed to?) |
required_names | list of names of required configurations |
allowed_names | list of allowed config names |
Definition at line 44 of file job.py.
◆ parser
The documentation for this class was generated from the following file: