Logo Search packages:      
Sourcecode: suds version File versions  Download package

def suds::xsd::query::TypeQuery::execute (   self,

Execute this query using the specified schema.
@param schema: The schema associated with the query.  The schema
    is used by the query to search for items.
@type schema: L{schema.Schema}
@return: The item matching the search criteria.
@rtype: L{sxbase.SchemaObject}

Reimplemented from suds::xsd::query::Query.

Definition at line 123 of file query.py.

00123                              :
        if schema.builtin(self.ref):
            name = self.ref[0]
            b = Factory.create(schema, name)
            log.debug('%s, found builtin (%s)', self.id, name)
            return b
        result = schema.types.get(self.ref)
        if self.filter(result):
            result = None
        return self.result(result)

class GroupQuery(Query):

Generated by  Doxygen 1.6.0   Back to index