Documentation for Proxy class. More...
Public Member Functions | |
def | __init__ |
The constructor. | |
def | __getattr__ |
Called each time an attribute is requested of the object. | |
Data Fields | |
proxied_obj |
Documentation for Proxy class.
Class to encapsulate the actual class we want to call. When an attempt is made to access an attribute that doesn't exist we will raise an LsmError instead of the default keyError.
Used to provide an unambiguous error when a feature is not implemented.
Definition at line 84 of file _common.py.
def __getattr__ | ( | self, | ||
name | ||||
) |
Called each time an attribute is requested of the object.
self | The object self | |
name | Name of the attribute being accessed |
Called each time an attribute is requested of the object
Definition at line 102 of file _common.py.
def __init__ | ( | self, | ||
obj = None | ||||
) |
The constructor.
self | The object self | |
obj | The object instance to wrap
Constructor which takes an object to wrap. |
Definition at line 92 of file _common.py.
Definition at line 96 of file _common.py.