The Gaudi Framework  master (594c33fa)
gaudirun.FakeModule Class Reference
Inheritance diagram for gaudirun.FakeModule:
Collaboration diagram for gaudirun.FakeModule:

Public Member Functions

def __init__ (self, exception)
 
def __getattr__ (self, *args, **kwargs)
 

Public Attributes

 exception
 

Detailed Description

Definition at line 561 of file gaudirun.py.

Constructor & Destructor Documentation

◆ __init__()

def gaudirun.FakeModule.__init__ (   self,
  exception 
)

Definition at line 562 of file gaudirun.py.

562  def __init__(self, exception):
563  self.exception = exception
564 

Member Function Documentation

◆ __getattr__()

def gaudirun.FakeModule.__getattr__ (   self,
args,
**  kwargs 
)

Definition at line 565 of file gaudirun.py.

565  def __getattr__(self, *args, **kwargs):
566  raise self.exception
567 
568  sys.modules["GaudiPython"] = FakeModule(

Member Data Documentation

◆ exception

gaudirun.FakeModule.exception

Definition at line 563 of file gaudirun.py.


The documentation for this class was generated from the following file:
GaudiPartProp.decorators.__getattr__
__getattr__
decorate the attribute access for Gaudi.ParticleProperty
Definition: decorators.py:186