Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@asyncio.coroutine
def fetch(self, message_set, message_parts, by_uid=False, timeout=None):
return (yield from self.execute(
FetchCommand(self.new_tag(), message_set, message_parts,
prefix='UID' if by_uid else '', loop=self.loop, timeout=timeout)))