Class to load from json string
Definition at line 73 of file TriggerConfigAccessBase.py.
◆ __init__()
def python.TriggerConfigAccessBase.ConfigDirectLoader.__init__ |
( |
|
self, |
|
|
|
configType, |
|
|
|
jsonString |
|
) |
| |
◆ confirmConfigType()
def python.TriggerConfigAccessBase.ConfigLoader.confirmConfigType |
( |
|
self, |
|
|
|
config |
|
) |
| |
|
inherited |
checks that the in-file specification of the configuration type matches the expected type
Definition at line 49 of file TriggerConfigAccessBase.py.
49 def confirmConfigType(self,config):
51 checks that the in-file specification of the configuration type matches the expected type
53 if config[
'filetype'] != self.configType:
54 raise RuntimeError(
"Can not load file with filetype '%s' when expecting '%s'" % (config[
'filetype'], self.configType.filetype))
◆ getWriteFilename()
def python.TriggerConfigAccessBase.ConfigDirectLoader.getWriteFilename |
( |
|
self | ) |
|
◆ load()
def python.TriggerConfigAccessBase.ConfigDirectLoader.load |
( |
|
self | ) |
|
◆ setQuery()
def python.TriggerConfigAccessBase.ConfigDirectLoader.setQuery |
( |
|
self, |
|
|
|
query |
|
) |
| |
◆ configType
python.TriggerConfigAccessBase.ConfigLoader.configType |
|
inherited |
◆ jsonString
python.TriggerConfigAccessBase.ConfigDirectLoader.jsonString |
The documentation for this class was generated from the following file: