Package tdi :: Package tools :: Package htmlform :: Module _adapters :: Class DictParameterAdapter
[frames] | no frames]

Class DictParameterAdapter

source code

object --+
         |
        DictParameterAdapter

HTMLForm parameter adapter from a simple dict
Instance Methods
 
__init__(self, param)
Initialization
source code
 
getfirst(self, name, default=None) source code
 
getlist(self, name) source code

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

Class Variables
  __implements__ = [<class 'tdi.tools.htmlform._interfaces.Param...
Instance Variables
dict param
Parameters
Properties

Inherited from object: __class__

Method Details

__init__(self, param)
(Constructor)

source code 
Initialization
Parameters:
  • param (dict) - Parameters
Overrides: object.__init__

getfirst(self, name, default=None)

source code 

See Also: tdi.tools.htmlform.ParameterAdapterInterface

getlist(self, name)

source code 

See Also: tdi.tools.htmlform.ParameterAdapterInterface


Class Variable Details

__implements__

Value:
[<class 'tdi.tools.htmlform._interfaces.ParameterAdapterInterface'>]

Instance Variable Details

param

Parameters
Type:
dict