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

Function __fn

suds/soaparray.py:61–67  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

59
60
61def __fn(x, y):
62 ns = (None, "http://schemas.xmlsoap.org/wsdl/")
63 aty = y.get('arrayType', ns=ns)
64 if aty is None:
65 return SXAttribute(x, y)
66 else:
67 return Attribute(x, y, aty)
68
69#
70# Remap <xs:attrbute/> tags to __fn() builder.

Callers

nothing calls this directly

Calls 2

AttributeClass · 0.70
getMethod · 0.45

Tested by

no test coverage detected