MCPcopy
hub / github.com/fortra/impacket / append

Method append

impacket/wps.py:97–98  ·  view source on GitHub ↗
(self, kind, value)

Source from the content-addressed store, hash-verified

95 self.descs = descs or {}
96
97 def append(self, kind, value):
98 self.elems.append((kind, self.builder(kind).to_ary(value)))
99
100 def __iter__(self):
101 return ((k, self.builder(k).from_ary(v)) for k,v in self.elems)

Callers 15

unpackOptionsMethod · 0.80
__init__Method · 0.80
__init__Method · 0.80
__get_questionsMethod · 0.80
__get_questions_tcpMethod · 0.80
create_sdFunction · 0.80
compute_kdf_hashFunction · 0.80
list_as_hexMethod · 0.80
__str__Method · 0.80
__str__Method · 0.80

Calls 2

builderMethod · 0.95
to_aryMethod · 0.45

Tested by 15

test_14Method · 0.64
test_15Method · 0.64
test_2Method · 0.64
test_3Method · 0.64
test_4Method · 0.64
test_5Method · 0.64
test_6Method · 0.64
test_7Method · 0.64
test_8Method · 0.64