The Gaudi Framework  master (37c0b60a)
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 563 of file gaudirun.py.

Constructor & Destructor Documentation

◆ __init__()

def gaudirun.FakeModule.__init__ (   self,
  exception 
)

Definition at line 564 of file gaudirun.py.

564  def __init__(self, exception):
565  self.exception = exception
566 

Member Function Documentation

◆ __getattr__()

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

Definition at line 567 of file gaudirun.py.

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

Member Data Documentation

◆ exception

gaudirun.FakeModule.exception

Definition at line 565 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