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

Method append

suds/xsd/sxbase.py:71–84  ·  view source on GitHub ↗

Append schema object's from B{s}ource list to the B{d}estination list while applying the filter. @param d: The destination list. @type d: list @param s: The source list. @type s: list @param filter: A filter that allows items to be appended.

(cls, d, s, filter=Filter())

Source from the content-addressed store, hash-verified

69
70 @classmethod
71 def append(cls, d, s, filter=Filter()):
72 """
73 Append schema object's from B{s}ource list to
74 the B{d}estination list while applying the filter.
75 @param d: The destination list.
76 @type d: list
77 @param s: The source list.
78 @type s: list
79 @param filter: A filter that allows items to be appended.
80 @type filter: L{Filter}
81 """
82 for item in s:
83 if item in filter:
84 d.append(item)
85
86 def __init__(self, schema, root):
87 """

Callers 15

addMethod · 0.45
autoblendMethod · 0.45
__str__Method · 0.45
__unicode__Method · 0.45
mergeMethod · 0.45
strMethod · 0.45
addMethod · 0.45
dependenciesMethod · 0.45
dependenciesMethod · 0.45
dependenciesMethod · 0.45
dependenciesMethod · 0.45
dependenciesMethod · 0.45

Calls 1

FilterClass · 0.90

Tested by

no test coverage detected