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

Class MultiDictParameterAdapter

source code

object --+
         |
        MultiDictParameterAdapter

HTMLForm parameter adapter from a multidict (like paste provides)
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
multidict param
Parameters
Properties

Inherited from object: __class__

Method Details

__init__(self, param)
(Constructor)

source code 
Initialization
Parameters:
  • param (multidict) - Parameters. The object is expected to provide a getall() method
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:
multidict