MCPcopy Index your code
hub / github.com/RustPython/RustPython / fetch

Method fetch

Lib/imaplib.py:621–633  ·  view source on GitHub ↗

Fetch (parts of) messages. (typ, [data, ...]) = .fetch(message_set, message_parts) 'message_parts' should be a string of selected parts enclosed in parentheses, eg: "(UID BODY[TEXT])". 'data' are tuples of message part envelope and data.

(self, message_set, message_parts)

Source from the content-addressed store, hash-verified

619
620
621 def fetch(self, message_set, message_parts):
622 """Fetch (parts of) messages.
623
624 (typ, [data, ...]) = <instance>.fetch(message_set, message_parts)
625
626 'message_parts' should be a string of selected parts
627 enclosed in parentheses, eg: "(UID BODY[TEXT])".
628
629 'data' are tuples of message part envelope and data.
630 """
631 name = 'FETCH'
632 typ, dat = self._simple_command(name, message_set, message_parts)
633 return self._untagged_response(typ, dat, name)
634
635
636 def getacl(self, mailbox):

Callers 3

mainFunction · 0.80
_load_packageFunction · 0.80
_load_info_pypiFunction · 0.80

Calls 2

_simple_commandMethod · 0.95
_untagged_responseMethod · 0.95

Tested by

no test coverage detected