Definition at line 27 of file __init__.py.
◆ __init__()
| def Gaudi._ConfigurablesModule.__init__ |
( |
|
self | ) |
|
Definition at line 29 of file __init__.py.
31 self.ignoreMissingConfigurables =
False
32 self.__name__ = __configurables_module_fullname__
33 self.__loader__ =
None
◆ __getattr__()
| def Gaudi._ConfigurablesModule.__getattr__ |
( |
|
self, |
|
|
|
name |
|
) |
| |
Definition at line 35 of file __init__.py.
35 def __getattr__(self, name):
44 elif name ==
"__spec__":
46 retval = importlib.machinery.ModuleSpec(
47 name=__configurables_module_fullname__,
48 loader=self.__loader__,
50 elif name ==
"__package__":
51 retval = self.__name__
52 elif name ==
"__path__":
53 raise AttributeError(
"'module' object has no attribute '__path__'")
54 elif name
in cfgDb.keys():
55 retval = confDbGetConfigurable(name)
57 retval = aliases[name]
58 elif self.ignoreMissingConfigurables:
60 logging.getLogger(__configurables_module_fullname__).warning(
61 'Configurable class %s not in database', name)
65 raise AttributeError(
"module '%s' does not have attribute '%s'" %
66 (__configurables_module_fullname__, name))
◆ __loader__
| Gaudi._ConfigurablesModule.__loader__ |
|
private |
◆ __name__
| Gaudi._ConfigurablesModule.__name__ |
|
private |
◆ ignoreMissingConfigurables
| Gaudi._ConfigurablesModule.ignoreMissingConfigurables |
The documentation for this class was generated from the following file: