import asyncio


async def notify(user):
    await asyncio.sleep(0)
    return user


class Mailer:
    async def send(self, message):
        await asyncio.sleep(0)

    async def send_all(self, messages):
        for message in messages:
            self.send(message)  # cotterpin:expect


async def handle(user):
    asyncio.sleep(1)  # cotterpin:expect
    notify(user)  # cotterpin:expect
    return user
