MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / isqref

Function isqref

suds/xsd/__init__.py:63–75  ·  view source on GitHub ↗

Get whether the object is a I{qualified reference}. @param object: An object to be tested. @type object: I{any} @rtype: boolean @see: L{qualify}

(object)

Source from the content-addressed store, hash-verified

61
62
63def isqref(object):
64 """
65 Get whether the object is a I{qualified reference}.
66 @param object: An object to be tested.
67 @type object: I{any}
68 @rtype: boolean
69 @see: L{qualify}
70 """
71 return (
72 isinstance(object, tuple) and
73 len(object) == 2 and
74 isinstance(object[0], basestring) and
75 isinstance(object[1], basestring))
76
77
78class Filter:

Callers 3

builtinMethod · 0.90
qualifyMethod · 0.90
__init__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected