"""Define an object to work with "Ashtma" endpoints."""
from typing import Awaitable, Callable


class Asthma:  # pylint: disable=too-few-public-methods
    """Define the "Asthma" object."""

    def __init__(self, request: Callable[..., Awaitable[dict]]) -> None:
        """Initialize."""
        self._request: Callable[..., Awaitable[dict]] = request

    async def current(self) -> dict:
        """Get current asthma info."""
        return await self._request(
            "get", "https://www.asthmaforecast.com/api/forecast/current/asthma"
        )

    async def extended(self) -> dict:
        """Get extended asthma info."""
        return await self._request(
            "get", "https://www.asthmaforecast.com/api/forecast/extended/asthma"
        )

    async def historic(self) -> dict:
        """Get historic asthma info."""
        return await self._request(
            "get", "https://www.asthmaforecast.com/api/forecast/historic/asthma"
        )

a9dd45fded4bfaf134d60c1f38246849407645b1
<mask token>


class Asthma:
    <mask token>
    <mask token>

    async def current(self) ->dict:
        """Get current asthma info."""
        return await self._request('get',
            'https://www.asthmaforecast.com/api/forecast/current/asthma')

    async def extended(self) ->dict:
        """Get extended asthma info."""
        return await self._request('get',
            'https://www.asthmaforecast.com/api/forecast/extended/asthma')

    async def historic(self) ->dict:
        """Get historic asthma info."""
        return await self._request('get',
            'https://www.asthmaforecast.com/api/forecast/historic/asthma')

<mask token>


class Asthma:
    <mask token>

    def __init__(self, request: Callable[..., Awaitable[dict]]) ->None:
        """Initialize."""
        self._request: Callable[..., Awaitable[dict]] = request

    async def current(self) ->dict:
        """Get current asthma info."""
        return await self._request('get',
            'https://www.asthmaforecast.com/api/forecast/current/asthma')

    async def extended(self) ->dict:
        """Get extended asthma info."""
        return await self._request('get',
            'https://www.asthmaforecast.com/api/forecast/extended/asthma')

    async def historic(self) ->dict:
        """Get historic asthma info."""
        return await self._request('get',
            'https://www.asthmaforecast.com/api/forecast/historic/asthma')

<mask token>


class Asthma:
    """Define the "Asthma" object."""

    def __init__(self, request: Callable[..., Awaitable[dict]]) ->None:
        """Initialize."""
        self._request: Callable[..., Awaitable[dict]] = request

    async def current(self) ->dict:
        """Get current asthma info."""
        return await self._request('get',
            'https://www.asthmaforecast.com/api/forecast/current/asthma')

    async def extended(self) ->dict:
        """Get extended asthma info."""
        return await self._request('get',
            'https://www.asthmaforecast.com/api/forecast/extended/asthma')

    async def historic(self) ->dict:
        """Get historic asthma info."""
        return await self._request('get',
            'https://www.asthmaforecast.com/api/forecast/historic/asthma')

<mask token>
from typing import Awaitable, Callable


class Asthma:
    """Define the "Asthma" object."""

    def __init__(self, request: Callable[..., Awaitable[dict]]) ->None:
        """Initialize."""
        self._request: Callable[..., Awaitable[dict]] = request

    async def current(self) ->dict:
        """Get current asthma info."""
        return await self._request('get',
            'https://www.asthmaforecast.com/api/forecast/current/asthma')

    async def extended(self) ->dict:
        """Get extended asthma info."""
        return await self._request('get',
            'https://www.asthmaforecast.com/api/forecast/extended/asthma')

    async def historic(self) ->dict:
        """Get historic asthma info."""
        return await self._request('get',
            'https://www.asthmaforecast.com/api/forecast/historic/asthma')

"""Define an object to work with "Ashtma" endpoints."""
from typing import Awaitable, Callable


class Asthma:  # pylint: disable=too-few-public-methods
    """Define the "Asthma" object."""

    def __init__(self, request: Callable[..., Awaitable[dict]]) -> None:
        """Initialize."""
        self._request: Callable[..., Awaitable[dict]] = request

    async def current(self) -> dict:
        """Get current asthma info."""
        return await self._request(
            "get", "https://www.asthmaforecast.com/api/forecast/current/asthma"
        )

    async def extended(self) -> dict:
        """Get extended asthma info."""
        return await self._request(
            "get", "https://www.asthmaforecast.com/api/forecast/extended/asthma"
        )

    async def historic(self) -> dict:
        """Get historic asthma info."""
        return await self._request(
            "get", "https://www.asthmaforecast.com/api/forecast/historic/asthma"
        )
