Package pyperry :: Package adapter :: Module abstract_adapter :: Class DelayedConfig
[frames] | no frames]

Class DelayedConfig

source code

object --+
         |
        DelayedConfig

Simple class that takes kwargs or a dictionary in initializer and sets values to the class dictionary. Any values set as lambdas will be evaluated when they are accessed.

Instance Methods
 
__init__(self, *args, **kwargs)
Set values in kwargs to attributes
source code
 
__getattribute__(self, key)
x.__getattribute__('name') <==> x.name
source code

Inherited from object: __delattr__, __format__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, *args, **kwargs)
(Constructor)

source code 

Set values in kwargs to attributes

Overrides: object.__init__

__getattribute__(self, key)

source code 

x.__getattribute__('name') <==> x.name

Overrides: object.__getattribute__
(inherited documentation)