Package tdi :: Module model_adapters :: Class PreRenderWrapper
[frames] | no frames]

Class PreRenderWrapper

source code

object --+
         |
        PreRenderWrapper

Pre-render wrapper adapter

See Also: ModelAdapterInterface

Instance Methods

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

Static Methods
ModelAdapterInterface
__new__(cls, adapter, attr=None)
Construct
source code
Class Variables
  __implements__ = [<class 'tdi.interfaces.ModelAdapterInterface'>]
Properties

Inherited from object: __class__

Method Details

__new__(cls, adapter, attr=None)
Static Method

source code 
Construct
Parameters:
  • adapter (ModelAdapterInterface) - model adapter for resolving methods
  • attr (dict) - Attribute name mapping. The keys 'scope' and 'tdi' are recognized. If omitted or None, the default attribute names are applied ('tdi:scope' and 'tdi').
Returns: ModelAdapterInterface
Render adapter
Overrides: object.__new__

Class Variable Details

__implements__

Value:
[<class 'tdi.interfaces.ModelAdapterInterface'>]