MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / attach

Method attach

Lib/email/message.py:156–166  ·  view source on GitHub ↗

Add the given payload to the current payload. The current payload will always be a list of objects after this method is called. If you want to set the payload to a scalar object, use set_payload() instead.

(self, payload)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

test_epilogueMethod · 0.95
test_no_nl_preambleMethod · 0.95
test_epilogueMethod · 0.95
test_no_nl_preambleMethod · 0.95
_new_messageMethod · 0.45

Calls 1

appendMethod · 0.45

Tested by 4

test_epilogueMethod · 0.76
test_no_nl_preambleMethod · 0.76
test_epilogueMethod · 0.76
test_no_nl_preambleMethod · 0.76