__init__(self,
fieldlist,
selected)
(Constructor)
| source code
|
Initializes this class.
The field definition is a dictionary with the field's name as a key
and a tuple containing, in order, the field definition object (objects.QueryFieldDefinition, the data kind
to help calling code collect data and a retrieval function. The retrieval
function is called with two parameters, in order, the data container and
the item in container (see Query.Query).
Users of this class can call RequestedData before preparing the data container to
determine what data is needed.
- Parameters:
fieldlist (dictionary) - Field definitions
selected (list of strings) - List of selected fields
|