MCPcopy Index your code
hub / github.com/ronreiter/interactive-tutorials / query

Method query

suds/resolver.py:441–452  ·  view source on GitHub ↗

blindly query the schema by name

(self, name)

Source from the content-addressed store, hash-verified

439 return result
440
441 def query(self, name):
442 """ blindly query the schema by name """
443 log.debug('searching schema for (%s)', name)
444 schema = self.schema
445 wsdl = self.wsdl()
446 if wsdl is None:
447 qref = qualify(name, schema.root, schema.tns)
448 else:
449 qref = qualify(name, wsdl.root, wsdl.tns)
450 query = BlindQuery(qref)
451 result = query.execute(schema)
452 return (result, [])
453
454 def wsdl(self):
455 """ get the wsdl """

Callers 1

findMethod · 0.95

Calls 4

wsdlMethod · 0.95
executeMethod · 0.95
BlindQueryClass · 0.90
qualifyFunction · 0.85

Tested by

no test coverage detected