Skip to content

ForecastService module#

Index > ForecastService

Auto-generated documentation for ForecastService type annotations stubs module types-aiobotocore-forecast.

How to install#

From PyPI with pip#

Install types-aiobotocore for ForecastService service.

# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[forecast]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aiobotocore-lite[forecast]'


# standalone installation
python -m pip install types-aiobotocore-forecast

How to uninstall#

python -m pip uninstall -y types-aiobotocore-forecast

Usage#

Code samples can be found in Examples.

ForecastServiceClient#

Type annotations and code completion for session.create_client("forecast") as ForecastServiceClient boto3 documentation

# ForecastServiceClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_forecast.client import ForecastServiceClient


session = get_session()
async with session.create_client("forecast") as client:
    client: ForecastServiceClient

Paginators#

Type annotations and code completion for paginators from session.create_client("forecast").get_paginator("...").

# ListDatasetGroupsPaginator usage example

from types_aiobotocore_forecast.paginator import ListDatasetGroupsPaginator

def get_list_dataset_groups_paginator() -> ListDatasetGroupsPaginator:
    return client.get_paginator("list_dataset_groups"))

Literals#

Type annotations for literals used in methods and schema.

# AttributeTypeType usage example

from types_aiobotocore_forecast.literals import AttributeTypeType

def get_value() -> AttributeTypeType:
    return "float"

Type definitions#

Type annotations for type definitions used in methods and schema.