Home | Trees | Indices | Help |
|
---|
|
object --+ | dict --+ | QueryMeta
A class keeping information on the query environment.
It is constructed with a plain dictionary (there are alternative constructors for nevow contexts and requests are below) mapping certain keys (you'll currently have to figure out which from the source) to values, mostly strings, except for the keys listed in listKeys, which should be sequences of strings.
If you pass an empty dict, some sane defaults will be used. You can get that "empty" query meta as common.emptyQueryMeta, but make sure you don't mutate it.
QueryMetas constructed from request will have the user and password items filled out.
If you're using nevow formal, you should set the formal_data item to the dictionary created by formal. This will let people use the parsed parameters in templates.
Instance Methods | |||
new empty dictionary |
|
||
|
|||
|
|||
Inherited from Inherited from |
Class Methods | |||
|
|||
|
|||
|
Class Variables | |
metaKeys =
|
|
listKeys =
|
|
Inherited from |
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
constructs a QueryMeta from a nevow request. In addition to getting information from the arguments, this also sets user and password. |
Class Variable Details |
metaKeys
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |