<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 states(self, country: str) -> list: """Return a list of supported states in a country."""

        data = await self._request(
            'get', 'states', params={'country': country})
        return [d['state'] for d in data['data']]