a helper class to allow easy retrieval of automatically generated
configurables (stolen from PyRoot)
Definition at line 178 of file PyAthena.py.
◆ __init__()
def python.PyAthena.ModuleFacade.__init__ |
( |
|
self, |
|
|
|
module |
|
) |
| |
Definition at line 182 of file PyAthena.py.
183 types.ModuleType.__init__(self, module.__name__)
184 self.__dict__[
'module' ] = module
185 self.__dict__[
'__doc__' ] = module.__doc__
186 self.__dict__[
'__name__' ] = module.__name__
187 self.__dict__[
'__file__' ] = module.__file__
189 from .Bindings
import py_svc
190 self.__dict__ [
'py_svc'] = py_svc
192 from .Bindings
import py_tool
193 self.__dict__ [
'py_tool'] = py_tool
195 from .Bindings
import py_alg
196 self.__dict__ [
'py_alg'] = py_alg
198 self.__dict__ [
'load_library'] = load_library
199 self.__dict__ [
'find_library'] = find_library
200 self.__dict__ [
'reload_module'] = reload_module
201 self.__dict__ [
'py_reload'] = py_reload
◆ __getattr__()
def python.PyAthena.ModuleFacade.__getattr__ |
( |
|
self, |
|
|
|
k |
|
) |
| |
Definition at line 203 of file PyAthena.py.
203 def __getattr__(self, k):
204 if k
in self.__dict__:
205 return self.__dict__.
get(k)
206 if k.startswith(
'__'):
207 return types.ModuleType.__getattribute__(self, k)
208 if k
in __pseudo_all__: v = getattr(PyAthenaComps, k)
209 else: v = _pycat.init(k)
210 object.__getattribute__(self,
'__dict__')[k] = v
The documentation for this class was generated from the following file: