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

Method __init__

suds/mx/appender.py:62–87  ·  view source on GitHub ↗

@param marshaller: A marshaller. @type marshaller: L{suds.mx.core.Core}

(self, marshaller)

Source from the content-addressed store, hash-verified

60 """
61
62 def __init__(self, marshaller):
63 """
64 @param marshaller: A marshaller.
65 @type marshaller: L{suds.mx.core.Core}
66 """
67 self.default = PrimativeAppender(marshaller)
68 self.appenders = (
69 (Matcher(None),
70 NoneAppender(marshaller)),
71 (Matcher(null),
72 NoneAppender(marshaller)),
73 (Matcher(Property),
74 PropertyAppender(marshaller)),
75 (Matcher(Object),
76 ObjectAppender(marshaller)),
77 (Matcher(Element),
78 ElementAppender(marshaller)),
79 (Matcher(Text),
80 TextAppender(marshaller)),
81 (Matcher(list),
82 ListAppender(marshaller)),
83 (Matcher(tuple),
84 ListAppender(marshaller)),
85 (Matcher(dict),
86 DictAppender(marshaller)),
87 )
88
89 def append(self, parent, content):
90 """

Callers

nothing calls this directly

Calls 9

PrimativeAppenderClass · 0.85
MatcherClass · 0.85
NoneAppenderClass · 0.85
PropertyAppenderClass · 0.85
ObjectAppenderClass · 0.85
ElementAppenderClass · 0.85
TextAppenderClass · 0.85
ListAppenderClass · 0.85
DictAppenderClass · 0.85

Tested by

no test coverage detected