async def corofunc():
            nonlocal called
            called = True
            return "some arbitrary value"
def _nearest_weekday(weekday):
    return datetime.now() + timedelta(days=(weekday - datetime.now().weekday()) % 7)