<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 async def all(self, include_inactive: bool = False) -> list: """Return all programs."""

        data = await self._request('get', 'program')
        return [p for p in data['programs'] if include_inactive or p['active']]